Fix field-can-be-local warnings
PiperOrigin-RevId: 277732159
This commit is contained in:
parent
f55083ab48
commit
981008f76e
@ -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 {
|
|||||||
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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user