aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/coreaudio.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/coreaudio.c')
-rw-r--r--Alc/coreaudio.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/Alc/coreaudio.c b/Alc/coreaudio.c
index 1d086926..4cac049f 100644
--- a/Alc/coreaudio.c
+++ b/Alc/coreaudio.c
@@ -175,7 +175,7 @@ static ALCboolean ca_reset_playback(ALCdevice *device)
if((device->Flags&DEVICE_CHANNELS_REQUEST) &&
device->FmtChans != DevFmtMono)
{
- AL_PRINT("Failed to set requested channel config %#x, got mono instead\n", device->FmtChans);
+ AL_PRINT("Failed to set %s, got Mono instead\n", DevFmtChannelsString(device->FmtChans));
device->Flags &= ~DEVICE_CHANNELS_REQUEST;
}
device->FmtChans = DevFmtMono;
@@ -184,7 +184,7 @@ static ALCboolean ca_reset_playback(ALCdevice *device)
if((device->Flags&DEVICE_CHANNELS_REQUEST) &&
device->FmtChans != DevFmtStereo)
{
- AL_PRINT("Failed to set requested channel config %#x, got stereo instead\n", device->FmtChans);
+ AL_PRINT("Failed to set %s, got Stereo instead\n", DevFmtChannelsString(device->FmtChans));
device->Flags &= ~DEVICE_CHANNELS_REQUEST;
}
device->FmtChans = DevFmtStereo;
@@ -193,7 +193,7 @@ static ALCboolean ca_reset_playback(ALCdevice *device)
if((device->Flags&DEVICE_CHANNELS_REQUEST) &&
device->FmtChans != DevFmtQuad)
{
- AL_PRINT("Failed to set requested channel config %#x, got quad instead\n", device->FmtChans);
+ AL_PRINT("Failed to set %s, got Quad instead\n", DevFmtChannelsString(device->FmtChans));
device->Flags &= ~DEVICE_CHANNELS_REQUEST;
}
device->FmtChans = DevFmtQuad;
@@ -202,7 +202,7 @@ static ALCboolean ca_reset_playback(ALCdevice *device)
if((device->Flags&DEVICE_CHANNELS_REQUEST) &&
device->FmtChans != DevFmtX51)
{
- AL_PRINT("Failed to set requested channel config %#x, got 5.1 instead\n", device->FmtChans);
+ AL_PRINT("Failed to set %s, got 5.1 Surround instead\n", DevFmtChannelsString(device->FmtChans));
device->Flags &= ~DEVICE_CHANNELS_REQUEST;
}
device->FmtChans = DevFmtX51;
@@ -211,7 +211,7 @@ static ALCboolean ca_reset_playback(ALCdevice *device)
if((device->Flags&DEVICE_CHANNELS_REQUEST) &&
device->FmtChans != DevFmtX61)
{
- AL_PRINT("Failed to set requested channel config %#x, got 6.1 instead\n", device->FmtChans);
+ AL_PRINT("Failed to set %s, got 6.1 Surround instead\n", DevFmtChannelsString(device->FmtChans));
device->Flags &= ~DEVICE_CHANNELS_REQUEST;
}
device->FmtChans = DevFmtX61;
@@ -220,13 +220,13 @@ static ALCboolean ca_reset_playback(ALCdevice *device)
if((device->Flags&DEVICE_CHANNELS_REQUEST) &&
device->FmtChans != DevFmtX71)
{
- AL_PRINT("Failed to set requested channel config %#x, got 7.1 instead\n", device->FmtChans);
+ AL_PRINT("Failed to set %s, got 7.1 Surround instead\n", DevFmtChannelsString(device->FmtChans));
device->Flags &= ~DEVICE_CHANNELS_REQUEST;
}
device->FmtChans = DevFmtX71;
break;
default:
- AL_PRINT("Unhandled channel count (%d), using stereo\n", streamFormat.mChannelsPerFrame);
+ AL_PRINT("Unhandled channel count (%d), using Stereo\n", streamFormat.mChannelsPerFrame);
device->Flags &= ~DEVICE_CHANNELS_REQUEST;
device->FmtChans = DevFmtStereo;
streamFormat.mChannelsPerFrame = 2;