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.cpp988 sp<MediaCodecSource> audioEncoder = local
992 if (audioEncoder == NULL) {
996 return audioEncoder;
1047 sp<MediaCodecSource> audioEncoder = createAudioSource(); local
1048 if (audioEncoder == NULL) {
1053 mWriter->addSource(audioEncoder);
1054 mAudioEncoderSource = audioEncoder;
1623 sp<MediaCodecSource> audioEncoder = createAudioSource(); local
1624 if (audioEncoder == NULL) {
1628 writer->addSource(audioEncoder);
[all...]

Completed in 103 milliseconds