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

Zhang Rui bbcallen at gmail.com
Mon Oct 21 15:33:35 CEST 2013


>> OK. And what about the lower limit?
>
> Hm if we first try the given samplerate and default to 44.1 or 48 if it
> doesn't work we don't need an upper or lower limit, no?

I mean the lower limit for the 2kHz one. If we failed for it,
are we ok to just default to 4kHz, for now?

>
>>> Which resampler do we use on android? High-quality speex?
>>
>> The module named 'ugly_resampler' is used for the 96kHz one, , in 0.1.3
>
> Then maybe we need some logic to have an integer multiple of the
> original samplerate because afaiu if we don't do this we could have some
> ugly quality (as the name implies)

OK


More information about the Android mailing list