Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f1c31bdd62b3
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fe01afae42ee
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jun 9, 2019

  1. nixos/jack: option to adjust dmix buffering (#62854)

    gnidorah authored and aristidb committed Jun 9, 2019
    Copy the full SHA
    fe01afa View commit details
Showing with 15 additions and 0 deletions.
  1. +15 −0 nixos/modules/services/audio/jack.nix
15 changes: 15 additions & 0 deletions nixos/modules/services/audio/jack.nix
Original file line number Diff line number Diff line change
@@ -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 {
type = types.lines;
description = ''
@@ -150,6 +164,7 @@ in {
ipc_key 219345
slave {
pcm loophw00
${cfg.loopback.dmixConfig}
}
}
pcm.asoftvol {