From: Piotr Kosko/Tizen API (PLT) /SRPOL/Engineer/Samsung Electronics Date: Fri, 23 Sep 2022 06:11:20 +0000 (+0200) Subject: [sound] Add internal header for supporting removed APIs X-Git-Tag: submit/tizen/20220923.083644^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=311e21aca80d8d4dc1bba1521cececf3ab65c74d;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [sound] Add internal header for supporting removed APIs SOUND_DEVICE_STATE_DEPRECATED_ACTIVATED_MASK was removed from public API, thus we need to add internal header to resolve build break. [Verification] Code compiles without errors. Change-Id: I4b0007b6cd4635cacccbde25f1d974f213309d0d --- diff --git a/src/sound/sound_instance.cc b/src/sound/sound_instance.cc index 7d493b9e..a9e4462d 100644 --- a/src/sound/sound_instance.cc +++ b/src/sound/sound_instance.cc @@ -23,6 +23,7 @@ #include "common/platform_exception.h" #include "common/tools.h" #include "sound_manager.h" +#include "sound_manager_internal.h" namespace extension { namespace sound { @@ -176,7 +177,7 @@ void SoundInstance::SoundManagerGetConnectedDeviceList(const picojson::value& ar void SoundInstance::SoundManagerGetActivatedDeviceList(const picojson::value& args, picojson::object& out) { ScopeLogger(); - manager_.GetDeviceList(SOUND_DEVICE_STATE_ACTIVATED_MASK, out); + manager_.GetDeviceList((sound_device_mask_e)SOUND_DEVICE_STATE_DEPRECATED_ACTIVATED_MASK, out); } void SoundInstance::SoundManagerAddDeviceStateChangeListener(const picojson::value& args,