summaryrefslogtreecommitdiffstats
path: root/Alc/backends/pulseaudio.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-02-20 20:25:58 -0800
committerChris Robinson <[email protected]>2012-02-20 20:25:58 -0800
commit54e2316b65269d37eafa8e99fdaa40126273c3a6 (patch)
tree018a321370025355ae912c7bcbd077947b5e2352 /Alc/backends/pulseaudio.c
parent58316a97d551841d92934a2204ce95b9fab0dba1 (diff)
Use a string to report unsupported capture sample types
Diffstat (limited to 'Alc/backends/pulseaudio.c')
-rw-r--r--Alc/backends/pulseaudio.c2
1 files changed, 1 insertions, 1 deletions
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;
}