Use a string to report unsupported capture sample types

This commit is contained in:
Chris Robinson 2012-02-20 20:25:58 -08:00
parent 58316a97d5
commit 54e2316b65

View File

@ -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;
}