2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01: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
commit dd05c7ec79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

2
externals/cubeb vendored

@ -1 +1 @@
Subproject commit 616d773441b5355800ce64197a699e6cd6b36172 Subproject commit 1d66483ad2b93f0e00e175f9480c771af90003a7

View file

@ -30,6 +30,7 @@ public:
params.rate = sample_rate; params.rate = sample_rate;
params.channels = num_channels; params.channels = num_channels;
params.format = CUBEB_SAMPLE_S16NE; params.format = CUBEB_SAMPLE_S16NE;
params.prefs = CUBEB_STREAM_PREF_PERSIST;
switch (num_channels) { switch (num_channels) {
case 1: case 1:
params.layout = CUBEB_LAYOUT_MONO; params.layout = CUBEB_LAYOUT_MONO;