Commit 981008f7 by olly Committed by Oliver Woodman

Fix field-can-be-local warnings

PiperOrigin-RevId: 277732159
parent f55083ab
...@@ -34,7 +34,6 @@ public class LibopusAudioRenderer extends SimpleDecoderAudioRenderer { ...@@ -34,7 +34,6 @@ public class LibopusAudioRenderer extends SimpleDecoderAudioRenderer {
/** The default input buffer size. */ /** The default input buffer size. */
private static final int DEFAULT_INPUT_BUFFER_SIZE = 960 * 6; private static final int DEFAULT_INPUT_BUFFER_SIZE = 960 * 6;
@Nullable private OpusDecoder decoder;
private int channelCount; private int channelCount;
private int sampleRate; private int sampleRate;
...@@ -103,7 +102,7 @@ public class LibopusAudioRenderer extends SimpleDecoderAudioRenderer { ...@@ -103,7 +102,7 @@ public class LibopusAudioRenderer extends SimpleDecoderAudioRenderer {
throws OpusDecoderException { throws OpusDecoderException {
int initialInputBufferSize = int initialInputBufferSize =
format.maxInputSize != Format.NO_VALUE ? format.maxInputSize : DEFAULT_INPUT_BUFFER_SIZE; format.maxInputSize != Format.NO_VALUE ? format.maxInputSize : DEFAULT_INPUT_BUFFER_SIZE;
decoder = OpusDecoder decoder =
new OpusDecoder( new OpusDecoder(
NUM_BUFFERS, NUM_BUFFERS,
NUM_BUFFERS, NUM_BUFFERS,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment