mirror of
https://github.com/samsonjs/media.git
synced 2026-04-18 13:25:47 +00:00
Remove unneeded check against silence generator remaining.
PiperOrigin-RevId: 553771328
This commit is contained in:
parent
80d63a32d3
commit
82387ccfe6
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ import java.util.concurrent.atomic.AtomicReference;
|
|||
@Override
|
||||
@Nullable
|
||||
public DecoderInputBuffer getInputBuffer() {
|
||||
if (silentAudioGenerator.hasRemaining() || pendingMediaItemChange.get() != null) {
|
||||
if (pendingMediaItemChange.get() != null) {
|
||||
return null;
|
||||
}
|
||||
return availableInputBuffers.peek();
|
||||
|
|
|
|||
Loading…
Reference in a new issue