From 22ccaf7f4ab0d3ac7d0e71f08d630a7c0f80af03 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 11 Jul 2011 00:05:53 -0700 Subject: Trace device update size and count --- Alc/ALc.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Alc/ALc.c') diff --git a/Alc/ALc.c b/Alc/ALc.c index b9d88cef..b6bc15db 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -1341,22 +1341,24 @@ static ALCboolean UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) return ALC_TRUE; LockDevice(device); - TRACE("Format pre-setup: %s%s, %s, %uhz%s\n", + TRACE("Format pre-setup: %s%s, %s, %uhz%s, %u update size x%d\n", DevFmtChannelsString(device->FmtChans), (device->Flags&DEVICE_CHANNELS_REQUEST)?" (requested)":"", DevFmtTypeString(device->FmtType), device->Frequency, - (device->Flags&DEVICE_FREQUENCY_REQUEST)?" (requested)":""); + (device->Flags&DEVICE_FREQUENCY_REQUEST)?" (requested)":"", + device->UpdateSize, device->NumUpdates); if(ALCdevice_ResetPlayback(device) == ALC_FALSE) { UnlockDevice(device); return ALC_FALSE; } device->Flags |= DEVICE_RUNNING; - TRACE("Format post-setup: %s%s, %s, %uhz%s\n", + TRACE("Format post-setup: %s%s, %s, %uhz%s, %u update size x%d\n", DevFmtChannelsString(device->FmtChans), (device->Flags&DEVICE_CHANNELS_REQUEST)?" (requested)":"", DevFmtTypeString(device->FmtType), device->Frequency, - (device->Flags&DEVICE_FREQUENCY_REQUEST)?" (requested)":""); + (device->Flags&DEVICE_FREQUENCY_REQUEST)?" (requested)":"", + device->UpdateSize, device->NumUpdates); aluInitPanning(device); -- cgit v1.2.3