Searched refs:audioEncoder (Results 1 – 2 of 2) sorted by relevance
407 MediaCodec audioEncoder = null; in extractDecodeEditEncodeMux() local440 audioEncoder = createAudioEncoder(audioEncoderName, outputAudioFormat); in extractDecodeEditEncodeMux()454 audioEncoder, in extractDecodeEditEncodeMux()529 if (audioEncoder != null) { in extractDecodeEditEncodeMux()530 audioEncoder.stop(); in extractDecodeEditEncodeMux()531 audioEncoder.release(); in extractDecodeEditEncodeMux()773 MediaCodec audioEncoder, in doExtractDecodeEditEncodeMux() argument798 audioEncoderInputBuffers = audioEncoder.getInputBuffers(); in doExtractDecodeEditEncodeMux()799 audioEncoderOutputBuffers = audioEncoder.getOutputBuffers(); in doExtractDecodeEditEncodeMux()1069 int encoderInputBufferIndex = audioEncoder.dequeueInputBuffer(TIMEOUT_USEC); in doExtractDecodeEditEncodeMux()[all …]
1650 MediaCodec audioEncoder = null; in testCreateAudioDecoderAndEncoder() local1654 audioEncoder = MediaCodec.createEncoderByType(MIME_TYPE_AUDIO); in testCreateAudioDecoderAndEncoder()1658 audioEncoder.configure(encoderFormat, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE); in testCreateAudioDecoderAndEncoder()1659 audioEncoder.start(); in testCreateAudioDecoderAndEncoder()1678 if (audioEncoder != null) { in testCreateAudioDecoderAndEncoder()1680 audioEncoder.stop(); in testCreateAudioDecoderAndEncoder()1681 audioEncoder.release(); in testCreateAudioDecoderAndEncoder()