aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/pulseaudio.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-09-15 19:30:27 -0700
committerChris Robinson <[email protected]>2009-09-15 19:30:27 -0700
commit9f037e89802a7b4fc6c287bab97b85050bbd6721 (patch)
tree8aafaa57a698d0fdcb799766d786cc44625e22ba /Alc/pulseaudio.c
parent12f81bcbb91f95df8bafdafa29f30adf55701203 (diff)
Pass the device to aluMixData
Diffstat (limited to 'Alc/pulseaudio.c')
-rw-r--r--Alc/pulseaudio.c5
1 files changed, 1 insertions, 4 deletions
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);
} //}}}