mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-13 16:21:47 +02:00
log error if not compiled with stdout
This commit is contained in:
parent
991c963b7d
commit
fa65490192
1 changed files with 5 additions and 0 deletions
|
@ -78,5 +78,10 @@ void AirplayStream::onStderrMsg(const char* buffer, size_t n)
|
||||||
++port_;
|
++port_;
|
||||||
params_ = params_wo_port_ + " --port=" + cpt::to_string(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";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue