aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-08-20 04:43:47 -0700
committerChris Robinson <[email protected]>2011-08-20 04:43:47 -0700
commit29d58f3d844e764ebb1ca812521b9fc892b49981 (patch)
treedfbb08a4148f9d10f33ea9e82778cd4bf67eea3d
parent5290c820b44ebbdba37cb4256e2669b60753e376 (diff)
Set the loopback backend functions first
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
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;