Commit 39404725 authored by Max Kellermann's avatar Max Kellermann

output/openal: use audio_format_to_string()

parent 5d1e5f4e
......@@ -156,10 +156,10 @@ openal_open(void *data, struct audio_format *audio_format,
od->format = openal_audio_format(audio_format);
if (!od->format) {
struct audio_format_string s;
g_set_error(error, openal_output_quark(), 0,
"Unsupported audio format (%i channels, %i bps)",
audio_format->channels,
audio_format->bits);
"Unsupported audio format: %s",
audio_format_to_string(audio_format, &s));
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment