Update focus status to pulseaudio when after focus state callback is called 55/110555/1
authorSangchul Lee <sc11.lee@samsung.com>
Tue, 17 Jan 2017 04:30:06 +0000 (13:30 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Tue, 17 Jan 2017 04:30:06 +0000 (13:30 +0900)
[Version] 0.3.92
[Profile] Common
[Issue Type] Bug fix

Change-Id: Id3a3a05b91c8d0d05762861386ec607bbfdb68fb
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/capi-media-sound-manager.spec
src/sound_manager_private.c

index e7a46d7..3de8721 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       capi-media-sound-manager
 Summary:    Sound Manager library
-Version:    0.3.91
+Version:    0.3.92
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
index 60f115b..9e17d36 100644 (file)
@@ -557,7 +557,7 @@ void _focus_state_change_callback(int index, mm_sound_focus_type_e focus_type, m
                        sound_stream_info_arr[i]->user_cb((sound_stream_info_h)sound_stream_info_arr[i],
                                        focus_type, state, change_reason, option, extra_info, sound_stream_info_arr[i]->user_data);
                        LOGI("[FOCUS USER CALLBACK(%p) END]", sound_stream_info_arr[i]->user_cb);
-
+                       _update_focus_status(sound_stream_info_arr[i]->index, (unsigned int)sound_stream_info_arr[i]->acquired_focus);
                        break;
                }
        }