Use correct IntDef in FFmpegAudioDecoder

PiperOrigin-RevId: 389840014
This commit is contained in:
olly 2021-08-10 11:25:32 +01:00 committed by Christos Tsilopoulos
parent ff078cb4b5
commit 937bc008c1

View file

@ -41,7 +41,7 @@ import java.util.List;
private final String codecName; private final String codecName;
@Nullable private final byte[] extraData; @Nullable private final byte[] extraData;
@C.Encoding private final int encoding; @C.PcmEncoding private final int encoding;
private final int outputBufferSize; private final int outputBufferSize;
private long nativeContext; // May be reassigned on resetting the codec. private long nativeContext; // May be reassigned on resetting the codec.
@ -158,7 +158,7 @@ import java.util.List;
} }
/** Returns the encoding of output audio. */ /** Returns the encoding of output audio. */
@C.Encoding @C.PcmEncoding
public int getEncoding() { public int getEncoding() {
return encoding; return encoding;
} }