summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-12-06 10:53:02 +0100
committerGitHub <noreply@github.com>2020-12-06 10:53:02 +0100
commitdd05c7ec79de2beb062ea27418ecbf46bad812a2 (patch)
tree536de3065123a1234571024b06c98581c0a9f3a6
parentMerge pull request #5132 from lioncash/xbyak-abi (diff)
parentUpdate cubeb and request a persistent stream session (diff)
downloadyuzu-dd05c7ec79de2beb062ea27418ecbf46bad812a2.tar
yuzu-dd05c7ec79de2beb062ea27418ecbf46bad812a2.tar.gz
yuzu-dd05c7ec79de2beb062ea27418ecbf46bad812a2.tar.bz2
yuzu-dd05c7ec79de2beb062ea27418ecbf46bad812a2.tar.lz
yuzu-dd05c7ec79de2beb062ea27418ecbf46bad812a2.tar.xz
yuzu-dd05c7ec79de2beb062ea27418ecbf46bad812a2.tar.zst
yuzu-dd05c7ec79de2beb062ea27418ecbf46bad812a2.zip
m---------externals/cubeb0
-rw-r--r--src/audio_core/cubeb_sink.cpp1
2 files changed, 1 insertions, 0 deletions
diff --git a/externals/cubeb b/externals/cubeb
-Subproject 616d773441b5355800ce64197a699e6cd6b3617
+Subproject 1d66483ad2b93f0e00e175f9480c771af90003a
diff --git a/src/audio_core/cubeb_sink.cpp b/src/audio_core/cubeb_sink.cpp
index cf7b186e4..043447eaa 100644
--- a/src/audio_core/cubeb_sink.cpp
+++ b/src/audio_core/cubeb_sink.cpp
@@ -30,6 +30,7 @@ public:
params.rate = sample_rate;
params.channels = num_channels;
params.format = CUBEB_SAMPLE_S16NE;
+ params.prefs = CUBEB_STREAM_PREF_PERSIST;
switch (num_channels) {
case 1:
params.layout = CUBEB_LAYOUT_MONO;