mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +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. */
|
||||
private static final int DEFAULT_INPUT_BUFFER_SIZE = 960 * 6;
|
||||
|
||||
@Nullable private OpusDecoder decoder;
|
||||
private int channelCount;
|
||||
private int sampleRate;
|
||||
|
||||
|
|
@ -103,7 +102,7 @@ public class LibopusAudioRenderer extends SimpleDecoderAudioRenderer {
|
|||
throws OpusDecoderException {
|
||||
int initialInputBufferSize =
|
||||
format.maxInputSize != Format.NO_VALUE ? format.maxInputSize : DEFAULT_INPUT_BUFFER_SIZE;
|
||||
decoder =
|
||||
OpusDecoder decoder =
|
||||
new OpusDecoder(
|
||||
NUM_BUFFERS,
|
||||
NUM_BUFFERS,
|
||||
|
|
|
|||
Loading…
Reference in a new issue