mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00

committed by
Ryan C. Gordon

parent
5d1e6b28d9
commit
8efa1f8fc6
@@ -160,6 +160,8 @@ static SDL_bool LoadLibSampleRate(void)
|
||||
SRC_converter = SRC_SINC_MEDIUM_QUALITY;
|
||||
} else if (*hint == '3' || SDL_strcasecmp(hint, "best") == 0) {
|
||||
SRC_converter = SRC_SINC_BEST_QUALITY;
|
||||
} else if (*hint == '4' || SDL_strcasecmp(hint, "linear") == 0) {
|
||||
SRC_converter = SRC_LINEAR;
|
||||
} else {
|
||||
return SDL_FALSE; /* treat it like "default", don't load anything. */
|
||||
}
|
||||
|
Reference in New Issue
Block a user