summaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-07-11 00:05:53 -0700
committerChris Robinson <[email protected]>2011-07-11 00:05:53 -0700
commit22ccaf7f4ab0d3ac7d0e71f08d630a7c0f80af03 (patch)
treec8b6241e5afafb1a845a0f2089bd559252fb5a77 /Alc
parentb237ebba445034f69be1a5fe8527f272e7190f15 (diff)
Trace device update size and count
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c10
1 files changed, 6 insertions, 4 deletions
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);