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/dsound.c | |
parent | ffff10455435908e7975110c685cca78cebe5769 (diff) |
Remove unnecessary parameters, and rename methods
Diffstat (limited to 'Alc/dsound.c')
-rw-r--r-- | Alc/dsound.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Alc/dsound.c b/Alc/dsound.c index 8501623d..e4436258 100644 --- a/Alc/dsound.c +++ b/Alc/dsound.c @@ -214,7 +214,7 @@ static void DSoundClosePlayback(ALCdevice *device) device->ExtraData = NULL; } -static ALCboolean DSoundStartContext(ALCdevice *device, ALCcontext *context) +static ALCboolean DSoundResetPlayback(ALCdevice *device) { DSoundData *pData = (DSoundData*)device->ExtraData; DSBUFFERDESC DSBDescription; @@ -223,7 +223,6 @@ static ALCboolean DSoundStartContext(ALCdevice *device, ALCcontext *context) ALenum format = 0; DWORD speakers; HRESULT hr; - (void)context; memset(&OutputType, 0, sizeof(OutputType)); @@ -381,10 +380,9 @@ static ALCboolean DSoundStartContext(ALCdevice *device, ALCcontext *context) return ALC_TRUE; } -static void DSoundStopContext(ALCdevice *device, ALCcontext *context) +static void DSoundStopPlayback(ALCdevice *device) { DSoundData *pData = device->ExtraData; - (void)context; if(!pData->thread) return; @@ -440,8 +438,8 @@ static ALCuint DSoundAvailableSamples(ALCdevice *pDevice) BackendFuncs DSoundFuncs = { DSoundOpenPlayback, DSoundClosePlayback, - DSoundStartContext, - DSoundStopContext, + DSoundResetPlayback, + DSoundStopPlayback, DSoundOpenCapture, DSoundCloseCapture, DSoundStartCapture, |