Searched refs:audioEncoder (Results 1 - 5 of 5) 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);
H A DMediaRecorderStressTestRunner.java66 String audioEncoder = (String) icicle.get("audio_encoder");
80 if (audioEncoder != null) {
81 mAudioEncoder = Integer.parseInt(audioEncoder);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
H A DMediaRecorderTest.java312 int audioEncoder = audioCap.mCodec;
332 String filename = ("/sdcard/" + videoEncoder + "_" + audioEncoder + "_" + highQuality + ".3gp");
335 Log.v(TAG, "audio encoder : " + audioEncoder);
338 Log.v(TAG, "audio : " + MediaProfileReader.getAudioCodecName(audioEncoder));
359 mMediaRecorder.setAudioEncoder(audioEncoder);
517 for (AudioEncoderCap audioEncoder: audioEncoders) {
519 recordSuccess = recordVideoWithPara(videoEncoder, audioEncoder, true);
521 recordSuccess = recordVideoWithPara(videoEncoder, audioEncoder, false);
525 Log.v(TAG, "Encoder = " + videoEncoder.mCodec + "Audio Encoder = " + audioEncoder.mCodec);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DMediaRecorderStressTest.java175 int audioEncoder;
186 audioEncoder = camcorderProfile.audioCodec;
193 audioEncoder = MediaRecorderStressTestRunner.mAudioEncoder;
222 Log.v(TAG, "audio encoder : " + audioEncoder);
237 mRecorder.setAudioEncoder(audioEncoder);
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp985 sp<MediaSource> audioEncoder = local
989 if (audioEncoder == NULL) {
993 return audioEncoder;
1044 sp<MediaSource> audioEncoder = createAudioSource(); local
1045 if (audioEncoder == NULL) {
1050 mWriter->addSource(audioEncoder);
1621 sp<MediaSource> audioEncoder = createAudioSource(); local
1622 if (audioEncoder == NULL) {
1626 writer->addSource(audioEncoder);

Completed in 884 milliseconds