ao: use the right type for pending samples

This commit is contained in:
llyyr 2024-07-09 10:53:23 +05:30 committed by sfan5
parent 571f9b0f23
commit 2559f8874f
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ double ao_get_delay(struct ao *ao)
driver_delay = MPMAX(0, MP_TIME_NS_TO_S(end - now));
}
int pending = mp_async_queue_get_samples(p->queue);
int64_t pending = mp_async_queue_get_samples(p->queue);
if (p->pending)
pending += mp_aframe_get_size(p->pending);