[Android] [PATCH] jni/aout: limit sample rate to 48kHz

Zhang Rui bbcallen at gmail.com
Sat Oct 19 08:58:08 CEST 2013


> +    if (*rate > 48000)
> +        *rate = 48000;
> +

BTW: The lower bound (4kHz) is also checked in aout/audiotrack.c, but
I don't have that kind of audio file for test.


More information about the Android mailing list