1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-29 23:46:31 -05:00

Merge pull request #5140 from FearlessTobi/port-5577

Port citra-emu/citra#5577: "Update cubeb and request a persistent stream session"
This commit is contained in:
bunnei
2020-12-06 01:53:02 -08:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -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;