mirror of
https://github.com/mpv-player/mpv
synced 2025-02-16 12:17:12 +00:00
ao_sndio: remove duplicated condition
This commit is contained in:
parent
d5222ece6b
commit
cb29cbe1ba
@ -292,7 +292,7 @@ static void get_state(struct ao *ao, struct mp_pcm_state *state)
|
||||
state->delay = p->delay / (double)p->par.rate;
|
||||
|
||||
/* report unexpected EOF / underrun */
|
||||
if ((state->queued_samples && state->queued_samples &&
|
||||
if ((state->queued_samples &&
|
||||
(state->queued_samples < state->free_samples) &&
|
||||
p->playing) || sio_eof(p->hdl))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user