Quieten a few debug messages.
This commit is contained in:
@@ -1936,7 +1936,6 @@ static void flush(void) {
|
||||
}
|
||||
|
||||
static void stop(void) {
|
||||
debug(1,"audio_alsa stop called.");
|
||||
pthread_cleanup_debug_mutex_lock(&alsa_mutex, 10000, 1);
|
||||
if (alsa_backend_state != abm_disconnected) { // must be playing or connected...
|
||||
if (config.keep_dac_busy == 0) {
|
||||
|
||||
@@ -2344,6 +2344,15 @@ void handle_command(__attribute__((unused)) rtsp_conn_info *conn, rtsp_message *
|
||||
}
|
||||
}
|
||||
|
||||
void handle_audio_mode(rtsp_conn_info *conn,
|
||||
rtsp_message *req,
|
||||
__attribute__((unused)) rtsp_message *resp) {
|
||||
debug(2, "Connection %d: POST %s Content-Length %d", conn->connection_number, req->path,
|
||||
req->contentlength);
|
||||
debug_log_rtsp_message(2, NULL, req);
|
||||
}
|
||||
|
||||
|
||||
void handle_post(rtsp_conn_info *conn, rtsp_message *req, rtsp_message *resp) {
|
||||
resp->respcode = 200;
|
||||
if (strcmp(req->path, "/pair-setup") == 0) {
|
||||
@@ -2364,6 +2373,8 @@ void handle_post(rtsp_conn_info *conn, rtsp_message *req, rtsp_message *resp) {
|
||||
handle_feedback(conn, req, resp);
|
||||
} else if (strcmp(req->path, "/command") == 0) {
|
||||
handle_command(conn, req, resp);
|
||||
} else if (strcmp(req->path, "/audioMode") == 0) {
|
||||
handle_audio_mode(conn, req, resp);
|
||||
} else {
|
||||
debug(1, "Connection %d: Unhandled POST %s Content-Length %d", conn->connection_number,
|
||||
req->path, req->contentlength);
|
||||
|
||||
Reference in New Issue
Block a user