diff --git a/src/output/ao_plugin.c b/src/output/ao_plugin.c index b3819a1d8..3907448ae 100644 --- a/src/output/ao_plugin.c +++ b/src/output/ao_plugin.c @@ -208,8 +208,10 @@ audioOutputAo_openDevice(void *data, struct audio_format *audio_format) ad->device = ao_open_live(ad->driverId, &format, ad->options); - if (ad->device == NULL) + if (ad->device == NULL) { + audioOutputAo_error("Failed to open libao"); return false; + } return true; }