mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
jack: only mix when we have input to mix
Avoids a crash when starting ardour6.
This commit is contained in:
parent
ee84f96915
commit
40552a0e91
1 changed files with 1 additions and 1 deletions
|
|
@ -4449,7 +4449,7 @@ static void *get_buffer_input_float(struct port *p, jack_nframes_t frames)
|
|||
}
|
||||
if (n_ptr == 1) {
|
||||
ptr = mix_ptr[0];
|
||||
} else {
|
||||
} else if (n_ptr > 1) {
|
||||
ptr = p->emptyptr;
|
||||
mix_function(ptr, mix_ptr, n_ptr, ptr_aligned, frames);
|
||||
p->zeroed = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue