From 94e3fca7022c5c7f8147200ffdb3cda5ded62488 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 16 Sep 2009 00:24:44 -0700 Subject: Remove unnecessary parameters, and rename methods --- Alc/pulseaudio.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'Alc/pulseaudio.c') diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c index 76e0ef60..c5453344 100644 --- a/Alc/pulseaudio.c +++ b/Alc/pulseaudio.c @@ -336,10 +336,9 @@ static void pulse_close_playback(ALCdevice *device) //{{{ pulse_close(device); } //}}} -static ALCboolean pulse_start_context(ALCdevice *device, ALCcontext *context) //{{{ +static ALCboolean pulse_reset_playback(ALCdevice *device) //{{{ { pulse_data *data = device->ExtraData; - (void)context; ppa_threaded_mainloop_lock(data->loop); @@ -430,10 +429,9 @@ static ALCboolean pulse_start_context(ALCdevice *device, ALCcontext *context) // return ALC_TRUE; } //}}} -static void pulse_stop_context(ALCdevice *device, ALCcontext *context) //{{{ +static void pulse_stop_playback(ALCdevice *device) //{{{ { pulse_data *data = device->ExtraData; - (void)context; if(!data->stream) return; @@ -614,8 +612,8 @@ static ALCuint pulse_available_samples(ALCdevice *device) //{{{ BackendFuncs pulse_funcs = { //{{{ pulse_open_playback, pulse_close_playback, - pulse_start_context, - pulse_stop_context, + pulse_reset_playback, + pulse_stop_playback, pulse_open_capture, pulse_close_capture, pulse_start_capture, -- cgit v1.2.3