Ensure force silence SampleConsumerWrapper has the right track type.
PiperOrigin-RevId: 670226122
This commit is contained in:
parent
207684ca66
commit
1d9276863c
@ -296,7 +296,8 @@ import java.util.concurrent.atomic.AtomicInteger;
|
||||
.setPcmEncoding(C.ENCODING_PCM_16BIT)
|
||||
.build()));
|
||||
sampleConsumersByTrackType.put(
|
||||
C.TRACK_TYPE_AUDIO, new SampleConsumerWrapper(wrappedAudioSampleConsumer, trackType));
|
||||
C.TRACK_TYPE_AUDIO,
|
||||
new SampleConsumerWrapper(wrappedAudioSampleConsumer, C.TRACK_TYPE_AUDIO));
|
||||
}
|
||||
} else {
|
||||
// TODO(b/270533049): Remove the check below when implementing blank video frames generation.
|
||||
|
Loading…
x
Reference in New Issue
Block a user