mirror of
https://github.com/samsonjs/media.git
synced 2026-04-12 12:25:47 +00:00
Update getPcmEncoding return type to PcmEncoding rather than Encoding.
PiperOrigin-RevId: 312479370
This commit is contained in:
parent
02e74d6c94
commit
9035f1d701
1 changed files with 1 additions and 1 deletions
|
|
@ -839,7 +839,7 @@ public class MediaCodecAudioRenderer extends MediaCodecRenderer implements Media
|
|||
|| Util.DEVICE.startsWith("ms01"));
|
||||
}
|
||||
|
||||
@C.Encoding
|
||||
@C.PcmEncoding
|
||||
private static int getPcmEncoding(Format format) {
|
||||
// If the format is anything other than PCM then we assume that the audio decoder will output
|
||||
// 16-bit PCM.
|
||||
|
|
|
|||
Loading…
Reference in a new issue