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)

  readOutputParameters_l();

 

http://androidxref.com/8.1.0_r33/xref/frameworks/av/services/audioflinger/AudioHwDevice.cpp#53

 

 

    

posted @ 2021-01-28 23:34  renhl  阅读(208)  评论(0编辑  收藏  举报