Searched defs:audioEncoder (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaProfileReader.java87 public static String getAudioCodecName(int audioEncoder) { argument
88 if (audioEncoder != MediaRecorder.AudioEncoder.AMR_NB &&
89 audioEncoder != MediaRecorder.AudioEncoder.AMR_WB &&
90 audioEncoder != MediaRecorder.AudioEncoder.AAC &&
91 audioEncoder != MediaRecorder.AudioEncoder.HE_AAC &&
92 audioEncoder != MediaRecorder.AudioEncoder.AAC_ELD) {
93 throw new IllegalArgumentException("Unsupported audio encodeer " + audioEncoder);
95 return audioEncoderMap.get(audioEncoder);
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp1121 sp<MediaCodecSource> audioEncoder = local
1125 if (audioEncoder == NULL) {
1129 return audioEncoder;
1180 sp<MediaCodecSource> audioEncoder = createAudioSource(); local
1181 if (audioEncoder == NULL) {
1186 mWriter->addSource(audioEncoder);
1187 mAudioEncoderSource = audioEncoder;
1789 sp<MediaCodecSource> audioEncoder = createAudioSource(); local
1790 if (audioEncoder == NULL) {
1794 writer->addSource(audioEncoder);
[all...]

Completed in 521 milliseconds