mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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
|
@Override
|
||||||
@Nullable
|
@Nullable
|
||||||
public DecoderInputBuffer getInputBuffer() {
|
public DecoderInputBuffer getInputBuffer() {
|
||||||
if (silentAudioGenerator.hasRemaining() || pendingMediaItemChange.get() != null) {
|
if (pendingMediaItemChange.get() != null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return availableInputBuffers.peek();
|
return availableInputBuffers.peek();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue