Remove condition that is always false.
The same condition is checked further up on L497 already. PiperOrigin-RevId: 416324687
This commit is contained in:
parent
35bd0f46a4
commit
89b47413af
@ -518,10 +518,7 @@ public class MediaCodecAudioRenderer extends MediaCodecRenderer implements Media
|
|||||||
} else {
|
} else {
|
||||||
// If the format is anything other than PCM then we assume that the audio decoder will
|
// If the format is anything other than PCM then we assume that the audio decoder will
|
||||||
// output 16-bit PCM.
|
// output 16-bit PCM.
|
||||||
pcmEncoding =
|
pcmEncoding = C.ENCODING_PCM_16BIT;
|
||||||
MimeTypes.AUDIO_RAW.equals(format.sampleMimeType)
|
|
||||||
? format.pcmEncoding
|
|
||||||
: C.ENCODING_PCM_16BIT;
|
|
||||||
}
|
}
|
||||||
audioSinkInputFormat =
|
audioSinkInputFormat =
|
||||||
new Format.Builder()
|
new Format.Builder()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user