mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-20 06:21:09 +00:00
Support audio rate conversion up to 384KHz
This commit is contained in:
@@ -506,7 +506,7 @@ int SDL_SetAudioStreamFormat(SDL_AudioStream *stream, const SDL_AudioSpec *src_s
|
||||
|
||||
// Picked mostly arbitrarily.
|
||||
static const int min_freq = 4000;
|
||||
static const int max_freq = 192000;
|
||||
static const int max_freq = 384000;
|
||||
|
||||
if (src_spec) {
|
||||
if (!SDL_IsSupportedAudioFormat(src_spec->format)) {
|
||||
|
||||
Reference in New Issue
Block a user