mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Ensure force silence SampleConsumerWrapper has the right track type.
PiperOrigin-RevId: 670226122
This commit is contained in:
parent
207684ca66
commit
1d9276863c
1 changed files with 2 additions and 1 deletions
|
|
@ -296,7 +296,8 @@ import java.util.concurrent.atomic.AtomicInteger;
|
||||||
.setPcmEncoding(C.ENCODING_PCM_16BIT)
|
.setPcmEncoding(C.ENCODING_PCM_16BIT)
|
||||||
.build()));
|
.build()));
|
||||||
sampleConsumersByTrackType.put(
|
sampleConsumersByTrackType.put(
|
||||||
C.TRACK_TYPE_AUDIO, new SampleConsumerWrapper(wrappedAudioSampleConsumer, trackType));
|
C.TRACK_TYPE_AUDIO,
|
||||||
|
new SampleConsumerWrapper(wrappedAudioSampleConsumer, C.TRACK_TYPE_AUDIO));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// TODO(b/270533049): Remove the check below when implementing blank video frames generation.
|
// TODO(b/270533049): Remove the check below when implementing blank video frames generation.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue