ao_sndio: remove duplicated condition

This commit is contained in:
Kacper Michajłow 2023-11-24 02:08:33 +01:00 committed by sfan5
parent d5222ece6b
commit cb29cbe1ba
1 changed files with 1 additions and 1 deletions

View File

@ -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))
{