Searched refs:audioEncoder (Results 1 – 6 of 6) sorted by relevance
87 public static String getAudioCodecName(int audioEncoder) { in getAudioCodecName() argument88 if (audioEncoder != MediaRecorder.AudioEncoder.AMR_NB && in getAudioCodecName()89 audioEncoder != MediaRecorder.AudioEncoder.AMR_WB && in getAudioCodecName()90 audioEncoder != MediaRecorder.AudioEncoder.AAC && in getAudioCodecName()91 audioEncoder != MediaRecorder.AudioEncoder.HE_AAC && in getAudioCodecName()92 audioEncoder != MediaRecorder.AudioEncoder.AAC_ELD) { in getAudioCodecName()93 throw new IllegalArgumentException("Unsupported audio encodeer " + audioEncoder); in getAudioCodecName()95 return audioEncoderMap.get(audioEncoder); in getAudioCodecName()
66 String audioEncoder = (String) icicle.get("audio_encoder"); in onCreate() local80 if (audioEncoder != null) { in onCreate()81 mAudioEncoder = Integer.parseInt(audioEncoder); in onCreate()
312 int audioEncoder = audioCap.mCodec; in recordVideoWithPara() local332 … String filename = ("/sdcard/" + videoEncoder + "_" + audioEncoder + "_" + highQuality + ".3gp"); in recordVideoWithPara()335 Log.v(TAG, "audio encoder : " + audioEncoder); in recordVideoWithPara()338 Log.v(TAG, "audio : " + MediaProfileReader.getAudioCodecName(audioEncoder)); in recordVideoWithPara()359 mMediaRecorder.setAudioEncoder(audioEncoder); in recordVideoWithPara()517 for (AudioEncoderCap audioEncoder: audioEncoders) { in testDeviceSpecificCodec()519 recordSuccess = recordVideoWithPara(videoEncoder, audioEncoder, true); in testDeviceSpecificCodec()521 recordSuccess = recordVideoWithPara(videoEncoder, audioEncoder, false); in testDeviceSpecificCodec()525 … Log.v(TAG, "Encoder = " + videoEncoder.mCodec + "Audio Encoder = " + audioEncoder.mCodec); in testDeviceSpecificCodec()
175 int audioEncoder; in recordVideoAndPlayback() local186 audioEncoder = camcorderProfile.audioCodec; in recordVideoAndPlayback()193 audioEncoder = MediaRecorderStressTestRunner.mAudioEncoder; in recordVideoAndPlayback()222 Log.v(TAG, "audio encoder : " + audioEncoder); in recordVideoAndPlayback()237 mRecorder.setAudioEncoder(audioEncoder); in recordVideoAndPlayback()
1161 sp<MediaCodecSource> audioEncoder = in createAudioSource() local1169 if (audioEncoder == NULL) { in createAudioSource()1173 return audioEncoder; in createAudioSource()1231 sp<MediaCodecSource> audioEncoder = createAudioSource(); in setupRawAudioRecording() local1232 if (audioEncoder == NULL) { in setupRawAudioRecording()1237 mWriter->addSource(audioEncoder); in setupRawAudioRecording()1238 mAudioEncoderSource = audioEncoder; in setupRawAudioRecording()1862 sp<MediaCodecSource> audioEncoder = createAudioSource(); in setupAudioEncoder() local1863 if (audioEncoder == NULL) { in setupAudioEncoder()1867 writer->addSource(audioEncoder); in setupAudioEncoder()[all …]
256 audio_encoder audioEncoder = GetParam().second; in TEST_P() local257 ASSERT_NO_FATAL_FAILURE(setAudioRecorderFormat(outputFormat, audioEncoder)); in TEST_P()