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/ALc.c | |
parent | ffff10455435908e7975110c685cca78cebe5769 (diff) |
Remove unnecessary parameters, and rename methods
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1213,7 +1213,7 @@ ALCAPI ALCcontext* ALCAPIENTRY alcCreateContext(ALCdevice *device, const ALCint bs2b_set_level(device->Bs2b, device->Bs2bLevel); } - if(ALCdevice_StartContext(device, ALContext) == ALC_FALSE) + if(ALCdevice_ResetPlayback(device) == ALC_FALSE) { alcDestroyContext(ALContext); ALContext = NULL; @@ -1248,7 +1248,7 @@ ALCAPI ALCvoid ALCAPIENTRY alcDestroyContext(ALCcontext *context) if (IsContext(context)) { - ALCdevice_StopContext(context->Device, context); + ALCdevice_StopPlayback(context->Device); // Lock context SuspendContext(context); |