diff --git a/frameworks/taihe/BUILD.gn b/frameworks/taihe/BUILD.gn index 4fa083c308e4dfa47b72e9b1644840f19799dc52..1a5d4790eeb9ac0444b0193b1a3ca66f1ae8b4ac 100644 --- a/frameworks/taihe/BUILD.gn +++ b/frameworks/taihe/BUILD.gn @@ -120,6 +120,7 @@ taihe_shared_library("soundpool_taihe") { "media_foundation:media_foundation", "qos_manager:qos", "runtime_core:ani", + "runtime_core:ani_helpers", "window_manager:libdm", ] } @@ -260,4 +261,4 @@ group("player_framework_taihe") { "./system_sound_manager:system_sound_manager_taihe_etc", "./system_sound_manager:system_sound_manager_taihe", ] -} \ No newline at end of file +} diff --git a/frameworks/taihe/soundpool/src/sound_pool_taihe.cpp b/frameworks/taihe/soundpool/src/sound_pool_taihe.cpp index 60d6b8771b63336d191c738cb00ba1bbbbe279d9..361dca71c5f38a11390dafc3d54c4856e8894641 100644 --- a/frameworks/taihe/soundpool/src/sound_pool_taihe.cpp +++ b/frameworks/taihe/soundpool/src/sound_pool_taihe.cpp @@ -20,6 +20,7 @@ #include "media_dfx.h" #include "media_taihe_utils.h" #include "sound_pool_callback_taihe.h" +#include namespace { constexpr OHOS::HiviewDFX::HiLogLabel LABEL = {LOG_CORE, LOG_DOMAIN_SOUNDPOOL, "SoundPoolTaihe"}; @@ -27,6 +28,7 @@ namespace { namespace ANI { namespace Media { +using namespace arkts::ani_signature; SoundPoolImpl::SoundPoolImpl(int32_t maxStreams, ohos::multimedia::audio::AudioRendererInfo const& audioRendererInfo) {