Home
last modified time | relevance | path

Searched refs:AudioConverter (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libstagefright/include/
DDataConverter.h59 struct AudioConverter : public SampleConverterBase { struct
61 static AudioConverter *Create(AudioEncoding source, AudioEncoding target);
67 AudioConverter( in AudioConverter() function
/frameworks/av/media/libstagefright/
DDataConverter.cpp96 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()
DACodec.cpp2331 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()