mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
jack: skip when there are no buffers on a mixer
This commit is contained in:
parent
f50a5ca215
commit
8997a078aa
1 changed files with 3 additions and 0 deletions
|
|
@ -704,6 +704,9 @@ static void *get_buffer_output(struct client *c, struct port *p, uint32_t frames
|
|||
if ((mix = find_mix(c, p, -1)) != NULL) {
|
||||
struct buffer *b;
|
||||
|
||||
if (mix->n_buffers == 0)
|
||||
goto done;
|
||||
|
||||
pw_log_trace(NAME" %p: port %p %d get buffer %d n_buffers:%d",
|
||||
c, p, p->id, frames, mix->n_buffers);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue