From fa654901927ad56eb00be240b0da7719ed9c5192 Mon Sep 17 00:00:00 2001 From: badaix Date: Mon, 14 Nov 2016 22:47:34 +0100 Subject: [PATCH] log error if not compiled with stdout --- server/streamreader/airplayStream.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/streamreader/airplayStream.cpp b/server/streamreader/airplayStream.cpp index 2d56b526..612365ca 100644 --- a/server/streamreader/airplayStream.cpp +++ b/server/streamreader/airplayStream.cpp @@ -78,5 +78,10 @@ void AirplayStream::onStderrMsg(const char* buffer, size_t n) ++port_; params_ = params_wo_port_ + " --port=" + cpt::to_string(port_); } + else if (logmsg.find("Invalid audio output specified") != string::npos) + { + logE << "shairport sync compiled without stdout audio backend\n"; + logE << "build with: \"./configure --with-stdout --with-avahi --with-ssl=openssl --with-metadata\"\n"; + } }