android resample
http://androidxref.com/8.1.0_r33/xref/frameworks/av/media/libaudioprocessing/AudioMixer.cpp#787
resampler = AudioResampler::create(mMixerInFormat,resamplerChannelCount,devSampleRate, quality);
http://androidxref.com/8.1.0_r33/xref/frameworks/av/services/audioflinger/Threads.cpp#1635
AudioFlinger::MixerThread::MixerThread(const sp<AudioFlinger>& audioFlinger, AudioStreamOut* output,
audio_io_handle_t id, audio_devices_t device, bool systemReady, type_t type)
: PlaybackThread(audioFlinger, output, id, device, type, systemReady),
AudioFlinger::PlaybackThread::PlaybackThread(const sp<AudioFlinger>& audioFlinger,
AudioStreamOut* output,
audio_io_handle_t id,
audio_devices_t device,
type_t type,
bool systemReady)
http://androidxref.com/8.1.0_r33/xref/frameworks/av/services/audioflinger/AudioHwDevice.cpp#53