aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-09-16 00:24:44 -0700
committerChris Robinson <[email protected]>2009-09-16 00:24:44 -0700
commit94e3fca7022c5c7f8147200ffdb3cda5ded62488 (patch)
treed845e03d001dba7d48bfcd6035030ff5941a97e7 /Alc/ALc.c
parentffff10455435908e7975110c685cca78cebe5769 (diff)
Remove unnecessary parameters, and rename methods
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 0202f60a..14fb3971 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -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);