[Android] [PATCH] jni/aout: limit sample rate to 48kHz
Zhang Rui
bbcallen at gmail.com
Mon Oct 21 14:42:43 CEST 2013
>> Which upper limit is preferred? 44.1kHz, 48kHz,
>> or follow the integer multiple of original sample rate?
>
> I would default to 44.1 or 48.
OK. And what about the lower limit?
> 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
10-21 20:35:16.505: D/VLC(2882): main audio output: using audio output
module "opensles_android"
10-21 20:35:16.521: D/VLC(2882): main audio output: output 's16l'
44100 Hz Stereo frame=1 samples/4 bytes
10-21 20:35:16.521: D/VLC(2882): main volume: looking for audio volume
module matching "any": 3 candidates
10-21 20:35:16.521: D/VLC(2882): main volume: using audio volume
module "integer_mixer"
10-21 20:35:16.521: D/VLC(2882): main audio output: input 'f32l' 96000
Hz Stereo frame=1 samples/8 bytes
10-21 20:35:16.536: D/VLC(2882): main audio output: conversion:
'f32l'->'s16l' 96000 Hz->96000 Hz Stereo->Stereo
10-21 20:35:16.536: D/VLC(2882): main audio converter: looking for
audio converter module matching "any": 7 candidates
10-21 20:35:16.540: D/VLC(2882): audio_format audio converter:
f32l->s16l, bits per sample: 32->16
10-21 20:35:16.540: D/VLC(2882): main audio converter: using audio
converter module "audio_format"
10-21 20:35:16.540: D/VLC(2882): main audio output: conversion pipeline complete
10-21 20:35:16.540: D/VLC(2882): main audio resampler: looking for
audio resampler module matching "any": 1 candidates
10-21 20:35:16.540: D/VLC(2882): main audio resampler: using audio
resampler module "ugly_resampler"
More information about the Android
mailing list