From 54e2316b65269d37eafa8e99fdaa40126273c3a6 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 20 Feb 2012 20:25:58 -0800 Subject: Use a string to report unsupported capture sample types --- Alc/backends/pulseaudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Alc/backends/pulseaudio.c b/Alc/backends/pulseaudio.c index 9d7c10b5..36496fe6 100644 --- a/Alc/backends/pulseaudio.c +++ b/Alc/backends/pulseaudio.c @@ -1141,7 +1141,7 @@ static ALCenum pulse_open_capture(ALCdevice *device, const ALCchar *device_name) case DevFmtByte: case DevFmtUShort: case DevFmtUInt: - ERR("Capture format type %#x capture not supported on PulseAudio\n", device->FmtType); + ERR("%s capture samples not supported\n", DevFmtTypeString(device->FmtType)); pa_threaded_mainloop_unlock(data->loop); goto fail; } -- cgit v1.2.3