mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
parent
bd98c6771e
commit
6e44c081b0
9 changed files with 14 additions and 14 deletions
|
|
@ -338,7 +338,7 @@ static void capture_process(void *data)
|
|||
int32_t avail;
|
||||
|
||||
if ((buf = pw_stream_dequeue_buffer(impl->capture)) == NULL) {
|
||||
pw_log_warn("out of capture buffers: %m");
|
||||
pw_log_debug("out of capture buffers: %m");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -493,7 +493,7 @@ static void sink_process(void *data)
|
|||
int32_t avail;
|
||||
|
||||
if ((buf = pw_stream_dequeue_buffer(impl->sink)) == NULL) {
|
||||
pw_log_warn("out of sink buffers: %m");
|
||||
pw_log_debug("out of sink buffers: %m");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -146,7 +146,7 @@ static void playback_stream_process(void *d)
|
|||
uint32_t size;
|
||||
|
||||
if ((buf = pw_stream_dequeue_buffer(impl->stream)) == NULL) {
|
||||
pw_log_warn("out of buffers: %m");
|
||||
pw_log_debug("out of buffers: %m");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ static void capture_stream_process(void *d)
|
|||
uint32_t size;
|
||||
|
||||
if ((buf = pw_stream_dequeue_buffer(impl->stream)) == NULL) {
|
||||
pw_log_warn("out of buffers: %m");
|
||||
pw_log_debug("out of buffers: %m");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -273,10 +273,10 @@ static void capture_process(void *d)
|
|||
int32_t stride = 0;
|
||||
|
||||
if ((in = pw_stream_dequeue_buffer(impl->capture)) == NULL)
|
||||
pw_log_warn("out of capture buffers: %m");
|
||||
pw_log_debug("out of capture buffers: %m");
|
||||
|
||||
if ((out = pw_stream_dequeue_buffer(impl->playback)) == NULL)
|
||||
pw_log_warn("out of playback buffers: %m");
|
||||
pw_log_debug("out of playback buffers: %m");
|
||||
|
||||
if (in == NULL || out == NULL)
|
||||
goto done;
|
||||
|
|
|
|||
|
|
@ -127,10 +127,10 @@ static void capture_process(void *d)
|
|||
uint32_t i;
|
||||
|
||||
if ((in = pw_stream_dequeue_buffer(impl->capture)) == NULL)
|
||||
pw_log_warn("out of capture buffers: %m");
|
||||
pw_log_debug("out of capture buffers: %m");
|
||||
|
||||
if ((out = pw_stream_dequeue_buffer(impl->playback)) == NULL)
|
||||
pw_log_warn("out of playback buffers: %m");
|
||||
pw_log_debug("out of playback buffers: %m");
|
||||
|
||||
if (in != NULL && out != NULL) {
|
||||
uint32_t size = 0;
|
||||
|
|
|
|||
|
|
@ -223,7 +223,7 @@ static void capture_process(void *data)
|
|||
int res;
|
||||
|
||||
if ((buf = pw_stream_dequeue_buffer(client->capture)) == NULL) {
|
||||
pw_log_warn("%p: client:%p [%s] out of capture buffers: %m", impl,
|
||||
pw_log_debug("%p: client:%p [%s] out of capture buffers: %m", impl,
|
||||
client, client->name);
|
||||
return;
|
||||
}
|
||||
|
|
@ -262,7 +262,7 @@ static void playback_process(void *data)
|
|||
int res;
|
||||
|
||||
if ((buf = pw_stream_dequeue_buffer(client->playback)) == NULL) {
|
||||
pw_log_warn("%p: client:%p [%s] out of playback buffers: %m", impl,
|
||||
pw_log_debug("%p: client:%p [%s] out of playback buffers: %m", impl,
|
||||
client, client->name);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -189,7 +189,7 @@ static void playback_stream_process(void *d)
|
|||
uint32_t write_index, size;
|
||||
|
||||
if ((buf = pw_stream_dequeue_buffer(impl->stream)) == NULL) {
|
||||
pw_log_warn("out of buffers: %m");
|
||||
pw_log_debug("out of buffers: %m");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -225,7 +225,7 @@ static void capture_stream_process(void *d)
|
|||
uint32_t size, req, read_index;
|
||||
|
||||
if ((buf = pw_stream_dequeue_buffer(impl->stream)) == NULL) {
|
||||
pw_log_warn("out of buffers: %m");
|
||||
pw_log_debug("out of buffers: %m");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ static void capture_process(void *data)
|
|||
uint32_t i, size, offset;
|
||||
|
||||
if ((in = pw_stream_dequeue_buffer(impl->capture)) == NULL) {
|
||||
pw_log_warn("Out of capture buffers: %m");
|
||||
pw_log_debug("Out of capture buffers: %m");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@ static void playback_process(void *data)
|
|||
uint8_t *dst;
|
||||
|
||||
if ((b = pw_stream_dequeue_buffer(impl->playback)) == NULL) {
|
||||
pw_log_warn("Out of playback buffers: %m");
|
||||
pw_log_debug("Out of playback buffers: %m");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue