diff options
Diffstat (limited to 'Alc/pulseaudio.c')
-rw-r--r-- | Alc/pulseaudio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c index 767688d8..106fbea5 100644 --- a/Alc/pulseaudio.c +++ b/Alc/pulseaudio.c @@ -266,7 +266,7 @@ static void stream_write_callback(pa_stream *stream, size_t len, void *pdata) // ALCdevice *Device = pdata; pulse_data *data = Device->ExtraData; - len -= len&data->attr.minreq; + len -= len%data->attr.minreq; if(len > 0) { void *buf = ppa_xmalloc0(len); |