From 8a67e5cfa2bc41b13e753e1927d1e881d26ea885 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 16 Oct 2012 07:46:04 -0700 Subject: Use an asterisk to denote a requested format option in the trace --- Alc/ALc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Alc') diff --git a/Alc/ALc.c b/Alc/ALc.c index 424cbdc0..cdb8ed6f 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -1563,13 +1563,13 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) oldChans = device->FmtChans; oldType = device->FmtType; - TRACE("Pre-reset: %s%s, %s%s, %uhz%s, %u update size x%d\n", + TRACE("Pre-reset: %s%s, %s%s, %s%uhz, %u update size x%d\n", + (device->Flags&DEVICE_CHANNELS_REQUEST)?"*":"", DevFmtChannelsString(device->FmtChans), - (device->Flags&DEVICE_CHANNELS_REQUEST)?" (requested)":"", + (device->Flags&DEVICE_SAMPLE_TYPE_REQUEST)?"*":"", DevFmtTypeString(device->FmtType), - (device->Flags&DEVICE_SAMPLE_TYPE_REQUEST)?" (requested)":"", + (device->Flags&DEVICE_FREQUENCY_REQUEST)?"*":"", device->Frequency, - (device->Flags&DEVICE_FREQUENCY_REQUEST)?" (requested)":"", device->UpdateSize, device->NumUpdates); if(ALCdevice_ResetPlayback(device) == ALC_FALSE) -- cgit v1.2.3