mirror of https://github.com/libsdl-org/SDL.git
Support audio rate conversion up to 384KHz
This commit is contained in:
parent
b2b548a1fc
commit
6a381567b0
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue