Update getPcmEncoding return type to PcmEncoding rather than Encoding.

PiperOrigin-RevId: 312479370
This commit is contained in:
samrobinson 2020-05-20 15:39:59 +01:00 committed by tonihei
parent 02e74d6c94
commit 9035f1d701

View file

@ -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.