diff options
-rw-r--r-- | Alc/backends/pulseaudio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/pulseaudio.c b/Alc/backends/pulseaudio.c index 64204814..7c961563 100644 --- a/Alc/backends/pulseaudio.c +++ b/Alc/backends/pulseaudio.c @@ -623,7 +623,7 @@ static ALuint PulseProc(ALvoid *param) pa_threaded_mainloop_lock(data->loop); do { len = (Device->Connected ? pa_stream_writable_size(data->stream) : 0); - len -= len%(Device->UpdateSize*data->frame_size); + len -= len%data->attr.minreq; if(len == 0) { pa_threaded_mainloop_wait(data->loop); |