Small fixes and reformats

This commit is contained in:
badaix 2020-01-05 21:51:59 +01:00
parent db9079c179
commit d80c87351c
3 changed files with 3 additions and 3 deletions

View file

@ -170,7 +170,7 @@ void AirplayStream::pipeReadLine()
boost::asio::async_read_until(*pipe_fd_, streambuf_pipe_, delimiter, [this, self, delimiter](const std::error_code& ec, std::size_t bytes_transferred) {
if (ec)
{
LOG(ERROR, LOG_TAG) << "Error while reading from control socket: " << ec.message() << "\n";
LOG(ERROR, LOG_TAG) << "Error while reading from pipe: " << ec.message() << "\n";
return;
}

View file

@ -61,7 +61,7 @@ LibrespotStream::LibrespotStream(PcmListener* pcmListener, boost::asio::io_conte
if (!cache.empty())
params_ += " --cache \"" + cache + "\"";
if (!volume.empty())
params_ += " --initial-volume \"" + volume + "\"";
params_ += " --initial-volume " + volume;
if (!onevent.empty())
params_ += " --onevent \"" + onevent + "\"";
if (normalize)