mirror of
https://github.com/samsonjs/media.git
synced 2026-04-08 11:45:51 +00:00
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
f038258522
commit
a6c26d04fa
1 changed files with 1 additions and 4 deletions
|
|
@ -514,10 +514,7 @@ public class MediaCodecAudioRenderer extends MediaCodecRenderer implements Media
|
|||
} else {
|
||||
// If the format is anything other than PCM then we assume that the audio decoder will
|
||||
// output 16-bit PCM.
|
||||
pcmEncoding =
|
||||
MimeTypes.AUDIO_RAW.equals(format.sampleMimeType)
|
||||
? format.pcmEncoding
|
||||
: C.ENCODING_PCM_16BIT;
|
||||
pcmEncoding = C.ENCODING_PCM_16BIT;
|
||||
}
|
||||
audioSinkInputFormat =
|
||||
new Format.Builder()
|
||||
|
|
|
|||
Loading…
Reference in a new issue