summaryrefslogtreecommitdiffstats
path: root/src/audio_core
diff options
context:
space:
mode:
authorAmeer J <52414509+ameerj@users.noreply.github.com>2021-07-08 20:46:31 +0200
committerGitHub <noreply@github.com>2021-07-08 20:46:31 +0200
commit5edc96f4a47bff64cfd97f0c91e42b56ab58b2d7 (patch)
treebd1e570a3f0594557e28516b0974aa07f67ad616 /src/audio_core
parentOut of bound blit (#6531) (diff)
parentgeneral: Code formatting improvements (diff)
downloadyuzu-5edc96f4a47bff64cfd97f0c91e42b56ab58b2d7.tar
yuzu-5edc96f4a47bff64cfd97f0c91e42b56ab58b2d7.tar.gz
yuzu-5edc96f4a47bff64cfd97f0c91e42b56ab58b2d7.tar.bz2
yuzu-5edc96f4a47bff64cfd97f0c91e42b56ab58b2d7.tar.lz
yuzu-5edc96f4a47bff64cfd97f0c91e42b56ab58b2d7.tar.xz
yuzu-5edc96f4a47bff64cfd97f0c91e42b56ab58b2d7.tar.zst
yuzu-5edc96f4a47bff64cfd97f0c91e42b56ab58b2d7.zip
Diffstat (limited to 'src/audio_core')
-rw-r--r--src/audio_core/audio_out.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/audio_core/audio_out.cpp b/src/audio_core/audio_out.cpp
index 20a756dce..44a899d08 100644
--- a/src/audio_core/audio_out.cpp
+++ b/src/audio_core/audio_out.cpp
@@ -30,7 +30,8 @@ StreamPtr AudioOut::OpenStream(Core::Timing::CoreTiming& core_timing, u32 sample
u32 num_channels, std::string&& name,
Stream::ReleaseCallback&& release_callback) {
if (!sink) {
- sink = CreateSinkFromID(Settings::values.sink_id, Settings::values.audio_device_id);
+ sink = CreateSinkFromID(Settings::values.sink_id.GetValue(),
+ Settings::values.audio_device_id.GetValue());
}
return std::make_shared<Stream>(