Searched refs:audioEncoder (Results 1 – 7 of 7) 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()
307 int audioEncoder = audioCap.mCodec; in recordVideoWithPara() local327 … String filename = ("/sdcard/" + videoEncoder + "_" + audioEncoder + "_" + highQuality + ".3gp"); in recordVideoWithPara()330 Log.v(TAG, "audio encoder : " + audioEncoder); in recordVideoWithPara()333 Log.v(TAG, "audio : " + MediaProfileReader.getAudioCodecName(audioEncoder)); in recordVideoWithPara()354 mMediaRecorder.setAudioEncoder(audioEncoder); in recordVideoWithPara()512 for (AudioEncoderCap audioEncoder: audioEncoders) { in testDeviceSpecificCodec()514 recordSuccess = recordVideoWithPara(videoEncoder, audioEncoder, true); in testDeviceSpecificCodec()516 recordSuccess = recordVideoWithPara(videoEncoder, audioEncoder, false); in testDeviceSpecificCodec()520 … Log.v(TAG, "Encoder = " + videoEncoder.mCodec + "Audio Encoder = " + audioEncoder.mCodec); in testDeviceSpecificCodec()
176 int audioEncoder; in recordVideoAndPlayback() local187 audioEncoder = camcorderProfile.audioCodec; in recordVideoAndPlayback()194 audioEncoder = MediaRecorderStressTestRunner.mAudioEncoder; in recordVideoAndPlayback()223 Log.v(TAG, "audio encoder : " + audioEncoder); in recordVideoAndPlayback()238 mRecorder.setAudioEncoder(audioEncoder); in recordVideoAndPlayback()
1443 sp<MediaCodecSource> audioEncoder = in createAudioSource() local1451 if (audioEncoder == NULL) { in createAudioSource()1455 return audioEncoder; in createAudioSource()1528 sp<MediaCodecSource> audioEncoder = createAudioSource(); in setupRawAudioRecording() local1529 if (audioEncoder == NULL) { in setupRawAudioRecording()1534 mWriter->addSource(audioEncoder); in setupRawAudioRecording()1535 mAudioEncoderSource = audioEncoder; in setupRawAudioRecording()2191 sp<MediaCodecSource> audioEncoder = createAudioSource(); in setupAudioEncoder() local2192 if (audioEncoder == NULL) { in setupAudioEncoder()2196 writer->addSource(audioEncoder); in setupAudioEncoder()[all …]
260 audio_encoder audioEncoder = GetParam().second; in TEST_P() local261 ASSERT_NO_FATAL_FAILURE(setAudioRecorderFormat(outputFormat, audioEncoder)); in TEST_P()
1581 bool audioEncoder = !graphic && (kind.value == C2Component::KIND_ENCODER); in start() local1605 if (audioEncoder) { in start()1675 if (audioEncoder && encoderFrameSize && sampleRate && channelCount) { in start()