From af4e25de4504a99c6ba5b0c4b6947e1657a6eac1 Mon Sep 17 00:00:00 2001 From: Seungbae Shin Date: Thu, 25 Jan 2018 14:30:17 +0900 Subject: [PATCH] Disable deprecated sound-manager internal API call Other deprecated code will be removed soon [Version] 0.5.0 [Issue Type] Deprecation Change-Id: I60b2d06cd51ffb391083b843630498dd1b24f424 --- packaging/capi-media-audio-io.spec | 2 +- src/cpp/CAudioSessionHandler.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packaging/capi-media-audio-io.spec b/packaging/capi-media-audio-io.spec index 5fb9918..3af7e2a 100644 --- a/packaging/capi-media-audio-io.spec +++ b/packaging/capi-media-audio-io.spec @@ -1,6 +1,6 @@ Name: capi-media-audio-io Summary: An Audio Input & Audio Output library in Tizen Native API -Version: 0.4.5 +Version: 0.5.0 Release: 0 Group: Multimedia/API License: Apache-2.0 diff --git a/src/cpp/CAudioSessionHandler.cpp b/src/cpp/CAudioSessionHandler.cpp index b116141..d11898b 100644 --- a/src/cpp/CAudioSessionHandler.cpp +++ b/src/cpp/CAudioSessionHandler.cpp @@ -238,8 +238,8 @@ MMSessionType CAudioSessionHandler::getMultimediaSession() { } void CAudioSessionHandler::getInternalVoipStreamInfo(sound_stream_info_h *stream_info) { +#if 0 int ret; - if ((ret = sound_manager_get_internal_voip_stream_information(stream_info))) { if (ret == SOUND_MANAGER_ERROR_NO_DATA) { AUDIO_IO_LOGW("there's no internal voip stream info."); @@ -247,6 +247,7 @@ void CAudioSessionHandler::getInternalVoipStreamInfo(sound_stream_info_h *stream AUDIO_IO_LOGE("failed to sound_manager_get_internal_voip_stream_information(), ret(0x%x)", ret); } } +#endif return; } -- 2.34.1