mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix field-can-be-local warnings
PiperOrigin-RevId: 277732159
This commit is contained in:
parent
f55083ab48
commit
981008f76e
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Reference in a new issue