Skip to content

Commit

Permalink
Enable Jack error and debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mawe42 authored and badaix committed Jun 19, 2024
1 parent c9fd477 commit 6426127
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions server/streamreader/jack_stream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

#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_info_function([](const char* msg) { LOG(DEBUG, LOG_TAG) << msg << "\n"; });
#endif
}


Expand Down

0 comments on commit 6426127

Please sign in to comment.