mirror of
https://github.com/samsonjs/media.git
synced 2026-04-04 11:05:47 +00:00
Use correct IntDef in FFmpegAudioDecoder
PiperOrigin-RevId: 389840014
This commit is contained in:
parent
ff078cb4b5
commit
937bc008c1
1 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ import java.util.List;
|
|||
|
||||
private final String codecName;
|
||||
@Nullable private final byte[] extraData;
|
||||
@C.Encoding private final int encoding;
|
||||
@C.PcmEncoding private final int encoding;
|
||||
private final int outputBufferSize;
|
||||
|
||||
private long nativeContext; // May be reassigned on resetting the codec.
|
||||
|
|
@ -158,7 +158,7 @@ import java.util.List;
|
|||
}
|
||||
|
||||
/** Returns the encoding of output audio. */
|
||||
@C.Encoding
|
||||
@C.PcmEncoding
|
||||
public int getEncoding() {
|
||||
return encoding;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue