From 9f037e89802a7b4fc6c287bab97b85050bbd6721 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 15 Sep 2009 19:30:27 -0700 Subject: Pass the device to aluMixData --- Alc/pulseaudio.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Alc/pulseaudio.c') diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c index 80383250..76e0ef60 100644 --- a/Alc/pulseaudio.c +++ b/Alc/pulseaudio.c @@ -172,10 +172,7 @@ static void stream_write_callback(pa_stream *stream, size_t len, void *pdata) // pulse_data *data = Device->ExtraData; void *buf = ppa_xmalloc0(len); - SuspendContext(NULL); - aluMixData(Device->Context, buf, len/data->frame_size, Device->Format); - ProcessContext(NULL); - + aluMixData(Device, buf, len/data->frame_size); ppa_stream_write(stream, buf, len, ppa_xfree, 0, PA_SEEK_RELATIVE); } //}}} -- cgit v1.2.3