mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-20 04:26:16 +02:00
Enable Jack error and debug messages
This commit is contained in:
parent
c9fd477be9
commit
642612782c
1 changed files with 0 additions and 5 deletions
|
@ -157,13 +157,8 @@ JackStream::JackStream(PcmStream::Listener* pcmListener, boost::asio::io_context
|
||||||
throw SnapException("JackStreams only support 16, 24 and 32 bit sample formats");
|
throw SnapException("JackStreams only support 16, 24 and 32 bit sample formats");
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
// Disabled by default as aixlog <= 1.4.0 is not thread-safe at the moment
|
|
||||||
// and Jack produces quite a few log message.
|
|
||||||
// TODO: enable if and when aixlog becomes thread-safe.
|
|
||||||
jack_set_error_function([](const char* msg) { LOG(ERROR, LOG_TAG) << "Jack Error: " << msg << "\n"; });
|
jack_set_error_function([](const char* msg) { LOG(ERROR, LOG_TAG) << "Jack Error: " << msg << "\n"; });
|
||||||
jack_set_info_function([](const char* msg) { LOG(DEBUG, LOG_TAG) << msg << "\n"; });
|
jack_set_info_function([](const char* msg) { LOG(DEBUG, LOG_TAG) << msg << "\n"; });
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue