Change player api name according to ACR-857 32/105932/1 accepted/tizen/common/20161220.190846 accepted/tizen/ivi/20161220.223255 accepted/tizen/mobile/20161220.223201 accepted/tizen/tv/20161220.223216 accepted/tizen/wearable/20161220.223237 submit/tizen/20161220.060852 submit/tizen/20170112.021958 submit/tizen/20170116.115935
authorEunhae Choi <eunhae1.choi@samsung.com>
Tue, 20 Dec 2016 05:12:42 +0000 (14:12 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 20 Dec 2016 05:29:25 +0000 (14:29 +0900)
Change-Id: I8078ee31d3b11447e1a3d841bba751b29808d86a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
src/bt-syspopup-m.c

index 2da6a8539695df3856fd553b6ba49d5a66f2f5a6..198b576364b64c5d23c8ab7d0d269a900a3d6d60 100644 (file)
@@ -388,16 +388,14 @@ static int __bluetooth_notify_event(struct bt_popup_appdata *ad)
        }
 
        if (*stream_info != NULL) {
-               ret = player_set_audio_policy_info(ad->player, *stream_info);
+               ret = player_set_sound_stream_info(ad->player, *stream_info);
                if (ret != PLAYER_ERROR_NONE) {
-                       BT_ERR("player_set_audio_policy_info failed : %d", ret);
+                       BT_ERR("player_set_sound_stream_info failed : %d", ret);
                        __bluetooth_player_free(ad->player);
                        return ret;
                }
        }
 
-
-
        ret = player_prepare(ad->player);
        if (ret != PLAYER_ERROR_NONE) {
                BT_ERR("realizing the player handle failed[%d]", ret);