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/oss.c | |
parent | ffff10455435908e7975110c685cca78cebe5769 (diff) |
Remove unnecessary parameters, and rename methods
Diffstat (limited to 'Alc/oss.c')
-rw-r--r-- | Alc/oss.c | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -183,7 +183,7 @@ static void oss_close_playback(ALCdevice *device) device->ExtraData = NULL; } -static ALCboolean oss_start_context(ALCdevice *device, ALCcontext *context) +static ALCboolean oss_reset_playback(ALCdevice *device) { oss_data *data = (oss_data*)device->ExtraData; int numFragmentsLogSize; @@ -196,7 +196,6 @@ static ALCboolean oss_start_context(ALCdevice *device, ALCcontext *context) int ossSpeed; char *err; int i; - (void)context; switch(aluBytesFromFormat(device->Format)) { @@ -278,10 +277,9 @@ static ALCboolean oss_start_context(ALCdevice *device, ALCcontext *context) return ALC_TRUE; } -static void oss_stop_context(ALCdevice *device, ALCcontext *context) +static void oss_stop_playback(ALCdevice *device) { oss_data *data = (oss_data*)device->ExtraData; - (void)context; if(!data->thread) return; @@ -455,8 +453,8 @@ static ALCuint oss_available_samples(ALCdevice *pDevice) BackendFuncs oss_funcs = { oss_open_playback, oss_close_playback, - oss_start_context, - oss_stop_context, + oss_reset_playback, + oss_stop_playback, oss_open_capture, oss_close_capture, oss_start_capture, |