summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitor Kiguchi <vitor-kiguchi@hotmail.com>2020-10-09 19:15:02 +0200
committerFearlessTobi <thm.frey@gmail.com>2020-12-05 22:26:41 +0100
commita1e73602737f1ece64908efd2ebf274ec559ffc1 (patch)
tree84d23f47351acafa27575b53eee84ed83449d9e5
parentMerge pull request #5064 from lioncash/node-shadow (diff)
downloadyuzu-a1e73602737f1ece64908efd2ebf274ec559ffc1.tar
yuzu-a1e73602737f1ece64908efd2ebf274ec559ffc1.tar.gz
yuzu-a1e73602737f1ece64908efd2ebf274ec559ffc1.tar.bz2
yuzu-a1e73602737f1ece64908efd2ebf274ec559ffc1.tar.lz
yuzu-a1e73602737f1ece64908efd2ebf274ec559ffc1.tar.xz
yuzu-a1e73602737f1ece64908efd2ebf274ec559ffc1.tar.zst
yuzu-a1e73602737f1ece64908efd2ebf274ec559ffc1.zip
Diffstat (limited to '')
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;