diff options
author | Chris Robinson <[email protected]> | 2011-09-20 11:55:40 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-09-20 11:55:40 -0700 |
commit | 8c2a2a5c9da7793c71d94770b4bee40b4f123ccf (patch) | |
tree | 14e60d72da333e16f27c7abc4c229b8db73ee509 /Alc | |
parent | bf2ac6625cc5a7f749bd30ff4b575b60b80d5b21 (diff) |
Trace created device and context pointers
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1634,6 +1634,7 @@ ALC_API ALCdevice* ALC_APIENTRY alcCaptureOpenDevice(const ALCchar *deviceName, device->next = DeviceList; } while(!CompExchangePtr((void**)&DeviceList, device->next, device)); + TRACE("Created device %p\n", device); return device; } @@ -2224,6 +2225,8 @@ ALC_API ALCcontext* ALC_APIENTRY alcCreateContext(ALCdevice *device, const ALCin UnlockLists(); ALCdevice_DecRef(device); + + TRACE("Created context %p\n", ALContext); return ALContext; } @@ -2492,6 +2495,7 @@ ALC_API ALCdevice* ALC_APIENTRY alcOpenDevice(const ALCchar *deviceName) device->next = DeviceList; } while(!CompExchangePtr((void**)&DeviceList, device->next, device)); + TRACE("Created device %p\n", device); return device; } @@ -2605,6 +2609,7 @@ ALC_API ALCdevice* ALC_APIENTRY alcLoopbackOpenDeviceSOFT(void) device->next = DeviceList; } while(!CompExchangePtr((void**)&DeviceList, device->next, device)); + TRACE("Created device %p\n", device); return device; } |