diff options
author | bunnei <bunneidev@gmail.com> | 2022-12-14 23:58:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-14 23:58:17 +0100 |
commit | e2f32e8c88621dbb816d38bc1ffc610d7eb2ae03 (patch) | |
tree | 0e07c1af31737e2fddc50d032522cfc4b95a1c29 /src/core/hle/service/audio/audout_u.cpp | |
parent | Merge pull request #6688 from yzct12345/valid-intel-max (diff) | |
parent | Revert "hle: service: audio: Use default service thread." (diff) | |
download | yuzu-e2f32e8c88621dbb816d38bc1ffc610d7eb2ae03.tar yuzu-e2f32e8c88621dbb816d38bc1ffc610d7eb2ae03.tar.gz yuzu-e2f32e8c88621dbb816d38bc1ffc610d7eb2ae03.tar.bz2 yuzu-e2f32e8c88621dbb816d38bc1ffc610d7eb2ae03.tar.lz yuzu-e2f32e8c88621dbb816d38bc1ffc610d7eb2ae03.tar.xz yuzu-e2f32e8c88621dbb816d38bc1ffc610d7eb2ae03.tar.zst yuzu-e2f32e8c88621dbb816d38bc1ffc610d7eb2ae03.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/audio/audout_u.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/hle/service/audio/audout_u.cpp b/src/core/hle/service/audio/audout_u.cpp index 991e30ba1..29751f075 100644 --- a/src/core/hle/service/audio/audout_u.cpp +++ b/src/core/hle/service/audio/audout_u.cpp @@ -26,8 +26,9 @@ public: explicit IAudioOut(Core::System& system_, AudioCore::AudioOut::Manager& manager, size_t session_id, const std::string& device_name, const AudioOutParameter& in_params, u32 handle, u64 applet_resource_user_id) - : ServiceFramework{system_, "IAudioOut"}, service_context{system_, "IAudioOut"}, - event{service_context.CreateEvent("AudioOutEvent")}, + : ServiceFramework{system_, "IAudioOut", ServiceThreadType::CreateNew}, + service_context{system_, "IAudioOut"}, event{service_context.CreateEvent( + "AudioOutEvent")}, impl{std::make_shared<AudioCore::AudioOut::Out>(system_, manager, event, session_id)} { // clang-format off @@ -220,8 +221,9 @@ private: }; AudOutU::AudOutU(Core::System& system_) - : ServiceFramework{system_, "audout:u"}, service_context{system_, "AudOutU"}, - impl{std::make_unique<AudioCore::AudioOut::Manager>(system_)} { + : ServiceFramework{system_, "audout:u", ServiceThreadType::CreateNew}, + service_context{system_, "AudOutU"}, impl{std::make_unique<AudioCore::AudioOut::Manager>( + system_)} { // clang-format off static const FunctionInfo functions[] = { {0, &AudOutU::ListAudioOuts, "ListAudioOuts"}, |