mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
impl-node: update quantum/rate only when pending changes
Only update the quantum/rate when we have a pending change. This works around a bug in sco-source that changes the quantum by itself but in any case, this optimization is nice to have. See #1905
This commit is contained in:
parent
c903c2ca08
commit
c97d489929
3 changed files with 9 additions and 2 deletions
|
|
@ -684,6 +684,7 @@ struct pw_impl_node {
|
|||
unsigned int lock_quantum:1; /**< don't change graph quantum */
|
||||
unsigned int lock_rate:1; /**< don't change graph rate */
|
||||
unsigned int transport_sync:1; /**< supports transport sync */
|
||||
unsigned int current_pending:1; /**< a quantum/rate update is pending */
|
||||
|
||||
uint32_t port_user_data_size; /**< extra size for port user data */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue