Searched refs:mCodec (Results 1 – 1 of 1) sorted by relevance
40 private MediaCodec mCodec; field in MediaCodecAudioDecoder75 return format != null && mCodec == null; in shouldInitCodec()93 mCodec = MediaCodec.createByCodecName(codecName); in maybeInitDecoder()94 mCodec.configure(format.getFrameworkMediaFormatV16(), null, null, 0); in maybeInitDecoder()95 mCodec.start(); in maybeInitDecoder()108 if (mCodec == null) { in resetDecoderState()114 mCodec.flush(); in resetDecoderState()120 if (mCodec != null) { in release()126 mCodec.stop(); in release()129 mCodec.release(); in release()[all …]