mirror of https://github.com/mpv-player/mpv
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;
|
state->delay = p->delay / (double)p->par.rate;
|
||||||
|
|
||||||
/* report unexpected EOF / underrun */
|
/* report unexpected EOF / underrun */
|
||||||
if ((state->queued_samples && state->queued_samples &&
|
if ((state->queued_samples &&
|
||||||
(state->queued_samples < state->free_samples) &&
|
(state->queued_samples < state->free_samples) &&
|
||||||
p->playing) || sio_eof(p->hdl))
|
p->playing) || sio_eof(p->hdl))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue