diff options
author | Chris Robinson <[email protected]> | 2009-09-16 00:24:44 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-09-16 00:24:44 -0700 |
commit | 94e3fca7022c5c7f8147200ffdb3cda5ded62488 (patch) | |
tree | d845e03d001dba7d48bfcd6035030ff5941a97e7 /Alc/pulseaudio.c | |
parent | ffff10455435908e7975110c685cca78cebe5769 (diff) |
Remove unnecessary parameters, and rename methods
Diffstat (limited to 'Alc/pulseaudio.c')
-rw-r--r-- | Alc/pulseaudio.c | 10 |
1 files changed, 4 insertions, 6 deletions
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, |