mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-27 14:30:49 +00:00
Update cubeb and request a persistent stream session
This commit is contained in:
parent
fad38ec6e8
commit
a1e7360273
2
externals/cubeb
vendored
2
externals/cubeb
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 616d773441b5355800ce64197a699e6cd6b36172
|
Subproject commit 1d66483ad2b93f0e00e175f9480c771af90003a7
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user