mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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;
|
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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue