mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
module-pulse-tunnel: move some info log to debug
This commit is contained in:
parent
cdbdcd6771
commit
4cc0082634
1 changed files with 5 additions and 5 deletions
|
|
@ -136,7 +136,7 @@ static void cork_stream(struct impl *impl, bool cork)
|
||||||
|
|
||||||
pa_threaded_mainloop_lock(impl->pa_mainloop);
|
pa_threaded_mainloop_lock(impl->pa_mainloop);
|
||||||
|
|
||||||
pw_log_info("corking: %d", cork);
|
pw_log_debug("corking: %d", cork);
|
||||||
if (cork && impl->mode == MODE_PLAYBACK) {
|
if (cork && impl->mode == MODE_PLAYBACK) {
|
||||||
/* When the sink becomes suspended (which is the only case where we
|
/* When the sink becomes suspended (which is the only case where we
|
||||||
* cork the stream), we don't want to keep any old data around, because
|
* cork the stream), we don't want to keep any old data around, because
|
||||||
|
|
@ -216,7 +216,7 @@ static void playback_stream_process(void *d)
|
||||||
error = SPA_CLAMP(error, -impl->max_error, impl->max_error);
|
error = SPA_CLAMP(error, -impl->max_error, impl->max_error);
|
||||||
|
|
||||||
corr = spa_dll_update(&impl->dll, error);
|
corr = spa_dll_update(&impl->dll, error);
|
||||||
pw_log_info("filled:%u target:%u error:%f corr:%f %u %u", filled,
|
pw_log_debug("filled:%u target:%u error:%f corr:%f %u %u", filled,
|
||||||
impl->target_buffer, error, corr,
|
impl->target_buffer, error, corr,
|
||||||
impl->current_latency, impl->target_latency);
|
impl->current_latency, impl->target_latency);
|
||||||
pw_stream_set_control(impl->stream,
|
pw_stream_set_control(impl->stream,
|
||||||
|
|
@ -268,7 +268,7 @@ static void capture_stream_process(void *d)
|
||||||
|
|
||||||
corr = spa_dll_update(&impl->dll, error);
|
corr = spa_dll_update(&impl->dll, error);
|
||||||
|
|
||||||
pw_log_info("avail:%u target:%u error:%f corr:%f %u %u", avail,
|
pw_log_debug("avail:%u target:%u error:%f corr:%f %u %u", avail,
|
||||||
impl->target_buffer, error, corr,
|
impl->target_buffer, error, corr,
|
||||||
impl->current_latency, impl->target_latency);
|
impl->current_latency, impl->target_latency);
|
||||||
pw_stream_set_control(impl->stream,
|
pw_stream_set_control(impl->stream,
|
||||||
|
|
@ -492,13 +492,13 @@ static void stream_write_request_cb(pa_stream *s, size_t length, void *userdata)
|
||||||
static void stream_underflow_cb(pa_stream *s, void *userdata)
|
static void stream_underflow_cb(pa_stream *s, void *userdata)
|
||||||
{
|
{
|
||||||
struct impl *impl = userdata;
|
struct impl *impl = userdata;
|
||||||
pw_log_info("underflow");
|
pw_log_warn("underflow");
|
||||||
impl->resync = true;
|
impl->resync = true;
|
||||||
}
|
}
|
||||||
static void stream_overflow_cb(pa_stream *s, void *userdata)
|
static void stream_overflow_cb(pa_stream *s, void *userdata)
|
||||||
{
|
{
|
||||||
struct impl *impl = userdata;
|
struct impl *impl = userdata;
|
||||||
pw_log_info("underflow");
|
pw_log_warn("overflow");
|
||||||
impl->resync = true;
|
impl->resync = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue