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/solaris.c | |
parent | ffff10455435908e7975110c685cca78cebe5769 (diff) |
Remove unnecessary parameters, and rename methods
Diffstat (limited to 'Alc/solaris.c')
-rw-r--r-- | Alc/solaris.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Alc/solaris.c b/Alc/solaris.c index b0c0adf4..5cc9e201 100644 --- a/Alc/solaris.c +++ b/Alc/solaris.c @@ -128,13 +128,12 @@ static void solaris_close_playback(ALCdevice *device) device->ExtraData = NULL; } -static ALCboolean solaris_start_context(ALCdevice *device, ALCcontext *context) +static ALCboolean solaris_reset_playback(ALCdevice *device) { solaris_data *data = (solaris_data*)device->ExtraData; audio_info_t info; ALuint frameSize; int numChannels; - (void)context; AUDIO_INITINFO(&info); @@ -206,10 +205,9 @@ static ALCboolean solaris_start_context(ALCdevice *device, ALCcontext *context) return ALC_TRUE; } -static void solaris_stop_context(ALCdevice *device, ALCcontext *context) +static void solaris_stop_playback(ALCdevice *device) { solaris_data *data = (solaris_data*)device->ExtraData; - (void)context; if(!data->thread) return; @@ -265,8 +263,8 @@ static ALCuint solaris_available_samples(ALCdevice *pDevice) BackendFuncs solaris_funcs = { solaris_open_playback, solaris_close_playback, - solaris_start_context, - solaris_stop_context, + solaris_reset_playback, + solaris_stop_playback, solaris_open_capture, solaris_close_capture, solaris_start_capture, |