diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2022-12-04 21:31:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-04 21:31:40 +0100 |
commit | 3b9db856468d1e125e4faf6c22f7c03845bf2046 (patch) | |
tree | d2173eef7ef85bbb39cf8f4d79bf9c4889421263 /src/core/hle/service/audio/audout_u.cpp | |
parent | Merge pull request #9273 from ameerj/per-game-profile (diff) | |
parent | hle: service: audio: Use default service thread. (diff) | |
download | yuzu-3b9db856468d1e125e4faf6c22f7c03845bf2046.tar yuzu-3b9db856468d1e125e4faf6c22f7c03845bf2046.tar.gz yuzu-3b9db856468d1e125e4faf6c22f7c03845bf2046.tar.bz2 yuzu-3b9db856468d1e125e4faf6c22f7c03845bf2046.tar.lz yuzu-3b9db856468d1e125e4faf6c22f7c03845bf2046.tar.xz yuzu-3b9db856468d1e125e4faf6c22f7c03845bf2046.tar.zst yuzu-3b9db856468d1e125e4faf6c22f7c03845bf2046.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/audio/audout_u.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/core/hle/service/audio/audout_u.cpp b/src/core/hle/service/audio/audout_u.cpp index 29751f075..991e30ba1 100644 --- a/src/core/hle/service/audio/audout_u.cpp +++ b/src/core/hle/service/audio/audout_u.cpp @@ -26,9 +26,8 @@ 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", ServiceThreadType::CreateNew}, - service_context{system_, "IAudioOut"}, event{service_context.CreateEvent( - "AudioOutEvent")}, + : ServiceFramework{system_, "IAudioOut"}, service_context{system_, "IAudioOut"}, + event{service_context.CreateEvent("AudioOutEvent")}, impl{std::make_shared<AudioCore::AudioOut::Out>(system_, manager, event, session_id)} { // clang-format off @@ -221,9 +220,8 @@ private: }; AudOutU::AudOutU(Core::System& system_) - : ServiceFramework{system_, "audout:u", ServiceThreadType::CreateNew}, - service_context{system_, "AudOutU"}, impl{std::make_unique<AudioCore::AudioOut::Manager>( - system_)} { + : ServiceFramework{system_, "audout:u"}, service_context{system_, "AudOutU"}, + impl{std::make_unique<AudioCore::AudioOut::Manager>(system_)} { // clang-format off static const FunctionInfo functions[] = { {0, &AudOutU::ListAudioOuts, "ListAudioOuts"}, |