projects
/
profile
/
mobile
/
apps
/
native
/
music-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0a3025
)
Fixed TSAM-9220 Focus callback issue
99/93799/1
author
bhutani.92
<bhutani.92@samsung.com>
Wed, 26 Oct 2016 04:32:19 +0000
(10:02 +0530)
committer
bhutani.92
<bhutani.92@samsung.com>
Wed, 26 Oct 2016 04:32:19 +0000
(10:02 +0530)
Change-Id: I08b006da9fb0696a8c3355c062329de0ec08a50c
Signed-off-by: bhutani.92 <bhutani.92@samsung.com>
src/core/mp-player-mgr.c
patch
|
blob
|
history
diff --git
a/src/core/mp-player-mgr.c
b/src/core/mp-player-mgr.c
index 26e965545b980ffdc97a453bb7a6bb11207ce58e..272971031cf2dac40e9fadd2fb5237a2814af6f1 100755
(executable)
--- a/
src/core/mp-player-mgr.c
+++ b/
src/core/mp-player-mgr.c
@@
-1187,6
+1187,12
@@
void mp_player_focus_callback(sound_stream_info_h stream_info, sound_stream_focu
sound_manager_set_focus_reacquisition(ad->stream_info, EINA_FALSE);
}
} else {
+ if (ad->stream_info) {
+ ret = sound_manager_release_focus(ad->stream_info, SOUND_STREAM_FOCUS_FOR_PLAYBACK, NULL);
+ if (ret != SOUND_MANAGER_ERROR_NONE) {
+ ERROR_TRACE("failed to release focus error[%x]", ret);
+ }
+ }
mp_play_control_play_pause(ad, true);
}
}