audio: Add channel remapping to SDL_AudioSpec and SDL_AudioStream.

Fixes #8367.
This commit is contained in:
Ryan C. Gordon committed 2024-07-03 14:38:33 -04:00
1 parent 0367f1af19
commit 16e7fdc4f2
12 files changed
+254 -193

No files matched your search

+1
View File
@@ -109,6 +109,7 @@ static void queue_audio()
int retval = 0;
SDL_AudioSpec new_spec;
SDL_zero(new_spec);
new_spec.format = spec.format;
new_spec.channels = (int) sliders[2].value;
new_spec.freq = (int) sliders[1].value;