[SoundManager] Fix due to api change. 24/108024/1
authorKamil Lipiszko <k.lipiszko@samsung.com>
Mon, 2 Jan 2017 10:54:20 +0000 (11:54 +0100)
committerKamil Lipiszko <k.lipiszko@samsung.com>
Mon, 2 Jan 2017 10:54:20 +0000 (11:54 +0100)
Renames used api function.

Change-Id: I77c7a04d2d427b46877483026e2e592906158ee4

clock/src/Utils/SoundManager.cpp

index 5d28f2f..2b9c09f 100644 (file)
@@ -72,7 +72,7 @@ bool SoundManager::SoundPlay(const std::string &uri, double volume)
                return false;
        }
 
-       ret = player_set_audio_policy_info(player_, stream_info_);
+       ret = player_set_sound_stream_info(player_, stream_info_);
        if (ret != PLAYER_ERROR_NONE) {
                ERR("player_set_audio_policy_info failed[%d]: %s", ret, get_error_message(ret));
                PlayerRelease();