mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-26 12:27:44 +00:00
audio: Add channel remapping to SDL_AudioSpec and SDL_AudioStream.
Fixes #8367.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user