From 29d58f3d844e764ebb1ca812521b9fc892b49981 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 20 Aug 2011 04:43:47 -0700 Subject: Set the loopback backend functions first --- Alc/ALc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc') diff --git a/Alc/ALc.c b/Alc/ALc.c index f766f726..46673df1 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -2560,6 +2560,7 @@ ALC_API ALCdevice* ALC_APIENTRY alcLoopbackOpenDeviceSOFT(void) } //Validate device + device->Funcs = &BackendLoopback.Funcs; device->Connected = ALC_TRUE; device->IsCaptureDevice = AL_FALSE; device->IsLoopbackDevice = AL_TRUE; @@ -2604,7 +2605,6 @@ ALC_API ALCdevice* ALC_APIENTRY alcLoopbackOpenDeviceSOFT(void) // Open the "backend" LockLists(); - device->Funcs = &BackendLoopback.Funcs; ALCdevice_OpenPlayback(device, "Loopback"); device->next = g_pDeviceList; -- cgit v1.2.3