aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index ffcd78ac..b9d88cef 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1341,14 +1341,22 @@ static ALCboolean UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
return ALC_TRUE;
LockDevice(device);
- TRACE("Format request: %s, %s, %uhz\n", DevFmtChannelsString(device->FmtChans), DevFmtTypeString(device->FmtType), device->Frequency);
+ TRACE("Format pre-setup: %s%s, %s, %uhz%s\n",
+ DevFmtChannelsString(device->FmtChans),
+ (device->Flags&DEVICE_CHANNELS_REQUEST)?" (requested)":"",
+ DevFmtTypeString(device->FmtType), device->Frequency,
+ (device->Flags&DEVICE_FREQUENCY_REQUEST)?" (requested)":"");
if(ALCdevice_ResetPlayback(device) == ALC_FALSE)
{
UnlockDevice(device);
return ALC_FALSE;
}
device->Flags |= DEVICE_RUNNING;
- TRACE("Format retrieved: %s, %s, %uhz\n", DevFmtChannelsString(device->FmtChans), DevFmtTypeString(device->FmtType), device->Frequency);
+ TRACE("Format post-setup: %s%s, %s, %uhz%s\n",
+ DevFmtChannelsString(device->FmtChans),
+ (device->Flags&DEVICE_CHANNELS_REQUEST)?" (requested)":"",
+ DevFmtTypeString(device->FmtType), device->Frequency,
+ (device->Flags&DEVICE_FREQUENCY_REQUEST)?" (requested)":"");
aluInitPanning(device);