diff options
author | Vitor Kiguchi <vitor-kiguchi@hotmail.com> | 2020-10-09 19:15:02 +0200 |
---|---|---|
committer | FearlessTobi <thm.frey@gmail.com> | 2020-12-05 22:26:41 +0100 |
commit | a1e73602737f1ece64908efd2ebf274ec559ffc1 (patch) | |
tree | 84d23f47351acafa27575b53eee84ed83449d9e5 /src | |
parent | Merge pull request #5064 from lioncash/node-shadow (diff) | |
download | yuzu-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 '')
-rw-r--r-- | src/audio_core/cubeb_sink.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |