nixos/jack: option to adjust dmix buffering (#62854)
This commit is contained in:
parent
f1c31bdd62
commit
fe01afae42
@ -98,6 +98,20 @@ in {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
dmixConfig = mkOption {
|
||||||
|
type = types.lines;
|
||||||
|
default = "";
|
||||||
|
example = ''
|
||||||
|
period_size 2048
|
||||||
|
periods 2
|
||||||
|
'';
|
||||||
|
description = ''
|
||||||
|
For music production software that still doesn't support JACK natively you
|
||||||
|
would like to put buffer/period adjustments here
|
||||||
|
to decrease dmix device latency.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
session = mkOption {
|
session = mkOption {
|
||||||
type = types.lines;
|
type = types.lines;
|
||||||
description = ''
|
description = ''
|
||||||
@ -150,6 +164,7 @@ in {
|
|||||||
ipc_key 219345
|
ipc_key 219345
|
||||||
slave {
|
slave {
|
||||||
pcm loophw00
|
pcm loophw00
|
||||||
|
${cfg.loopback.dmixConfig}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pcm.asoftvol {
|
pcm.asoftvol {
|
||||||
|
Loading…
Reference in New Issue
Block a user