Searched refs:AudioConverter (Results 1 – 3 of 3) sorted by relevance
59 struct AudioConverter : public SampleConverterBase { struct61 static AudioConverter *Create(AudioEncoding source, AudioEncoding target);67 AudioConverter( in AudioConverter() function
96 AudioConverter* AudioConverter::Create(AudioEncoding source, AudioEncoding target) { in Create()100 return new AudioConverter(source, sourceSampleSize, target, targetSampleSize); in Create()105 status_t AudioConverter::safeConvert(const sp<MediaCodecBuffer> &src, sp<MediaCodecBuffer> &tgt) { in safeConvert()
2331 mConverter[kPortIndexInput] = AudioConverter::Create(pcmEncoding, codecPcmEncoding); in configureCodec()2339 mConverter[kPortIndexOutput] = AudioConverter::Create(codecPcmEncoding, pcmEncoding); in configureCodec()5584 mConverter[kPortIndexOutput] = AudioConverter::Create(codecPcmEncoding, pcmEncoding); in onOutputFormatChanged()