mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-01 09:27:39 +00:00
Fixed bug #4982 - Failed to open audio_device. Android 5.1 should be ok.
This commit is contained in:
parent
aeff8748a5
commit
cd86e269e4
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ public class SDLAudioManager
|
|||
}
|
||||
|
||||
/* AudioTrack has sample rate limitation of 48000 (fixed in 5.0.2) */
|
||||
if (Build.VERSION.SDK_INT < 23) {
|
||||
if (Build.VERSION.SDK_INT < 22) {
|
||||
if (sampleRate < 8000) {
|
||||
sampleRate = 8000;
|
||||
} else if (sampleRate > 48000) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue