mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-29 06:46:38 -04:00
module-rtp: improve logging priorities
Previous state was useless for real debug at the current implementation level
This commit is contained in:
parent
c75f6219dc
commit
1fe6feac56
6 changed files with 23 additions and 23 deletions
|
|
@ -15,7 +15,7 @@ static void rtp_midi_process_playback(void *data)
|
|||
struct spa_pod_control *c;
|
||||
|
||||
if ((buf = pw_stream_dequeue_buffer(impl->stream)) == NULL) {
|
||||
pw_log_debug("Out of stream buffers: %m");
|
||||
pw_log_info("Out of stream buffers: %m");
|
||||
return;
|
||||
}
|
||||
d = buf->buffer->datas;
|
||||
|
|
@ -204,7 +204,7 @@ static int rtp_midi_receive_midi(struct impl *impl, uint8_t *packet, uint32_t ti
|
|||
/* our current time is now the estimated time */
|
||||
t = estimated;
|
||||
}
|
||||
pw_log_debug("%f %f %f %f", t, estimated, diff, impl->corr);
|
||||
pw_log_trace("%f %f %f %f", t, estimated, diff, impl->corr);
|
||||
|
||||
timestamp = t * impl->rate;
|
||||
|
||||
|
|
@ -400,7 +400,7 @@ static void rtp_midi_flush_packets(struct impl *impl,
|
|||
}
|
||||
iov[2].iov_len = len;
|
||||
|
||||
pw_log_debug("sending %d timestamp:%d %u %u",
|
||||
pw_log_trace("sending %d timestamp:%d %u %u",
|
||||
len, timestamp + base,
|
||||
offset, impl->psamples);
|
||||
rtp_stream_emit_send_packet(impl, iov, 3);
|
||||
|
|
@ -436,7 +436,7 @@ static void rtp_midi_flush_packets(struct impl *impl,
|
|||
}
|
||||
iov[2].iov_len = len;
|
||||
|
||||
pw_log_debug("sending %d timestamp:%d", len, base);
|
||||
pw_log_trace("sending %d timestamp:%d", len, base);
|
||||
rtp_stream_emit_send_packet(impl, iov, 3);
|
||||
impl->seq++;
|
||||
}
|
||||
|
|
@ -452,7 +452,7 @@ static void rtp_midi_process_capture(void *data)
|
|||
void *ptr;
|
||||
|
||||
if ((buf = pw_stream_dequeue_buffer(impl->stream)) == NULL) {
|
||||
pw_log_debug("Out of stream buffers: %m");
|
||||
pw_log_info("Out of stream buffers: %m");
|
||||
return;
|
||||
}
|
||||
d = buf->buffer->datas;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue