diff options
author | Chris Robinson <[email protected]> | 2011-07-11 00:05:53 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-07-11 00:05:53 -0700 |
commit | 22ccaf7f4ab0d3ac7d0e71f08d630a7c0f80af03 (patch) | |
tree | c8b6241e5afafb1a845a0f2089bd559252fb5a77 /Alc | |
parent | b237ebba445034f69be1a5fe8527f272e7190f15 (diff) |
Trace device update size and count
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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); |