mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
jack: use node.lock-quantum by default
As soon as a JACK app is started, the automatic quantum change is disabled. This means no pulse/alsa app can change the quantum. The only way to change the quantum is with node.force-quantum or with the settings metadata. This means only a JACK buffersize change (usually controlled from the JACK app, such as in ardour) or a metadata change (from the command line) can modify things. Both of those are usually caused by a user action. For JACK apps where the quantum is allowed to change automatically, explicit rules need to be placed in the config.
This commit is contained in:
parent
14d252ec9d
commit
fae7a1f592
2 changed files with 6 additions and 1 deletions
|
|
@ -3267,6 +3267,8 @@ jack_client_t * jack_client_open (const char *client_name,
|
|||
pw_properties_set(client->props, PW_KEY_MEDIA_ROLE, "DSP");
|
||||
if (pw_properties_get(client->props, PW_KEY_NODE_ALWAYS_PROCESS) == NULL)
|
||||
pw_properties_set(client->props, PW_KEY_NODE_ALWAYS_PROCESS, "true");
|
||||
if (pw_properties_get(client->props, PW_KEY_NODE_LOCK_QUANTUM) == NULL)
|
||||
pw_properties_set(client->props, PW_KEY_NODE_LOCK_QUANTUM, "true");
|
||||
pw_properties_set(client->props, PW_KEY_NODE_TRANSPORT_SYNC, "true");
|
||||
|
||||
client->node = pw_core_create_object(client->core,
|
||||
|
|
|
|||
|
|
@ -65,7 +65,10 @@ context.modules = [
|
|||
# global properties for all jack clients
|
||||
jack.properties = {
|
||||
#node.latency = 1024/48000
|
||||
#node.lock-quantum = false
|
||||
#node.rate = 1/48000
|
||||
#node.quantum = 1024/48000
|
||||
#node.lock-quantum = true
|
||||
#node.force-quantum = 0
|
||||
#jack.show-monitor = true
|
||||
#jack.merge-monitor = false
|
||||
#jack.short-name = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue