Searched refs:audioEncoder (Results 1 – 2 of 2) sorted by relevance
349 MediaCodec audioEncoder = null; in extractDecodeEditEncodeMux() local382 audioEncoder = createAudioEncoder(audioEncoderName, outputAudioFormat); in extractDecodeEditEncodeMux()396 audioEncoder, in extractDecodeEditEncodeMux()471 if (audioEncoder != null) { in extractDecodeEditEncodeMux()472 audioEncoder.stop(); in extractDecodeEditEncodeMux()473 audioEncoder.release(); in extractDecodeEditEncodeMux()704 MediaCodec audioEncoder, in doExtractDecodeEditEncodeMux() argument729 audioEncoderInputBuffers = audioEncoder.getInputBuffers(); in doExtractDecodeEditEncodeMux()730 audioEncoderOutputBuffers = audioEncoder.getOutputBuffers(); in doExtractDecodeEditEncodeMux()1008 int encoderInputBufferIndex = audioEncoder.dequeueInputBuffer(TIMEOUT_USEC); in doExtractDecodeEditEncodeMux()[all …]
1375 MediaCodec audioEncoder = null; in testCreateAudioDecoderAndEncoder() local1379 audioEncoder = MediaCodec.createEncoderByType(MIME_TYPE_AUDIO); in testCreateAudioDecoderAndEncoder()1383 audioEncoder.configure(encoderFormat, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE); in testCreateAudioDecoderAndEncoder()1384 audioEncoder.start(); in testCreateAudioDecoderAndEncoder()1403 if (audioEncoder != null) { in testCreateAudioDecoderAndEncoder()1405 audioEncoder.stop(); in testCreateAudioDecoderAndEncoder()1406 audioEncoder.release(); in testCreateAudioDecoderAndEncoder()