aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/pulseaudio.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-09-21 02:53:33 -0700
committerChris Robinson <[email protected]>2009-09-21 02:53:33 -0700
commite11b59a80f542e08bc877d1447f885fb0f5cc439 (patch)
tree9295577e517bf06d82eccf29700ac3b20bdfdb1c /Alc/pulseaudio.c
parent0ae02e8ad4f77287e4641ab9491c94efac2d402b (diff)
Return imediately if trying to set an unknown format
Diffstat (limited to 'Alc/pulseaudio.c')
-rw-r--r--Alc/pulseaudio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c
index b5add4c8..8d7d5c0c 100644
--- a/Alc/pulseaudio.c
+++ b/Alc/pulseaudio.c
@@ -366,7 +366,7 @@ static ALCboolean pulse_reset_playback(ALCdevice *device) //{{{
data->spec.format = PA_SAMPLE_FLOAT32NE;
break;
default:
- AL_PRINT("Unknown format: %x\n", device->Format);
+ AL_PRINT("Unknown format: 0x%x\n", device->Format);
ppa_threaded_mainloop_unlock(data->loop);
return ALC_FALSE;
}
@@ -495,7 +495,7 @@ static ALCboolean pulse_open_capture(ALCdevice *device, const ALCchar *device_na
data->spec.format = PA_SAMPLE_FLOAT32NE;
break;
default:
- AL_PRINT("Unknown format: %x\n", device->Format);
+ AL_PRINT("Unknown format: 0x%x\n", device->Format);
ppa_threaded_mainloop_unlock(data->loop);
pulse_close(device);
free(device->szDeviceName);