Commit 937bc008 by olly Committed by Christos Tsilopoulos

Use correct IntDef in FFmpegAudioDecoder

PiperOrigin-RevId: 389840014
parent ff078cb4
...@@ -41,7 +41,7 @@ import java.util.List; ...@@ -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; ...@@ -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;
} }
......
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