mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
jack: don't use private flag
Some input buffers are also used as output buffers in case of feedback.
This commit is contained in:
parent
35bf6bfa5c
commit
ad086e3349
1 changed files with 2 additions and 3 deletions
|
|
@ -1396,9 +1396,8 @@ static int client_node_port_use_buffers(void *object,
|
|||
port_id, mix_id, n_buffers);
|
||||
|
||||
|
||||
/* some apps write to the input buffer so we want everything writable
|
||||
* but for input buffers, the changes are private */
|
||||
fl = PW_MEMMAP_FLAG_READWRITE | (direction == SPA_DIRECTION_INPUT ? PW_MEMMAP_FLAG_PRIVATE : 0);
|
||||
/* some apps write to the input buffer so we want everything readwrite */
|
||||
fl = PW_MEMMAP_FLAG_READWRITE;
|
||||
|
||||
/* clear previous buffers */
|
||||
clear_buffers(c, mix);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue