summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/audio/audout_u.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-04-06 21:25:25 +0200
committerGitHub <noreply@github.com>2022-04-06 21:25:25 +0200
commiteb8c8db8992b5c5027d172c859e214c722be3b56 (patch)
tree8ec80b645d6ddc680fec8c0454571075c9f1dc49 /src/core/hle/service/audio/audout_u.cpp
parentMerge pull request #8162 from german77/bombslinger (diff)
parenthle: service: nvdrv: Create a service thread where appropriate. (diff)
downloadyuzu-eb8c8db8992b5c5027d172c859e214c722be3b56.tar
yuzu-eb8c8db8992b5c5027d172c859e214c722be3b56.tar.gz
yuzu-eb8c8db8992b5c5027d172c859e214c722be3b56.tar.bz2
yuzu-eb8c8db8992b5c5027d172c859e214c722be3b56.tar.lz
yuzu-eb8c8db8992b5c5027d172c859e214c722be3b56.tar.xz
yuzu-eb8c8db8992b5c5027d172c859e214c722be3b56.tar.zst
yuzu-eb8c8db8992b5c5027d172c859e214c722be3b56.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/audio/audout_u.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/hle/service/audio/audout_u.cpp b/src/core/hle/service/audio/audout_u.cpp
index affa7971c..a72956a28 100644
--- a/src/core/hle/service/audio/audout_u.cpp
+++ b/src/core/hle/service/audio/audout_u.cpp
@@ -41,9 +41,10 @@ public:
explicit IAudioOut(Core::System& system_, AudoutParams audio_params_,
AudioCore::AudioOut& audio_core_, std::string&& device_name_,
std::string&& unique_name)
- : ServiceFramework{system_, "IAudioOut"}, audio_core{audio_core_},
- device_name{std::move(device_name_)}, audio_params{audio_params_},
- main_memory{system.Memory()}, service_context{system_, "IAudioOut"} {
+ : ServiceFramework{system_, "IAudioOut", ServiceThreadType::CreateNew},
+ audio_core{audio_core_}, device_name{std::move(device_name_)},
+ audio_params{audio_params_}, main_memory{system.Memory()}, service_context{system_,
+ "IAudioOut"} {
// clang-format off
static const FunctionInfo functions[] = {
{0, &IAudioOut::GetAudioOutState, "GetAudioOutState"},