Revert "Disables jack, uses plain alsa."
This reverts commit f41af3f7e6
.
This commit is contained in:
parent
6f4af3c4c5
commit
aed82f77ec
43
asound.conf
43
asound.conf
|
@ -1,43 +0,0 @@
|
|||
pcm.multi {
|
||||
type route;
|
||||
slave.pcm {
|
||||
type multi;
|
||||
slaves.a.pcm "output";
|
||||
slaves.b.pcm "loopin";
|
||||
slaves.a.channels 2;
|
||||
slaves.b.channels 2;
|
||||
bindings.0.slave a;
|
||||
bindings.0.channel 0;
|
||||
bindings.1.slave a;
|
||||
bindings.1.channel 1;
|
||||
bindings.2.slave b;
|
||||
bindings.2.channel 0;
|
||||
bindings.3.slave b;
|
||||
bindings.3.channel 1;
|
||||
}
|
||||
|
||||
ttable.0.0 1;
|
||||
ttable.1.1 1;
|
||||
ttable.0.2 1;
|
||||
ttable.1.3 1;
|
||||
}
|
||||
|
||||
pcm.!default {
|
||||
type plug
|
||||
slave.pcm "multi"
|
||||
}
|
||||
|
||||
pcm.output {
|
||||
type hw
|
||||
card 0
|
||||
}
|
||||
|
||||
pcm.loopin {
|
||||
type plug
|
||||
slave.pcm "hw:Loopback,0,0"
|
||||
}
|
||||
|
||||
pcm.loopout {
|
||||
type plug
|
||||
slave.pcm "hw:Loopback,1,0"
|
||||
}
|
|
@ -14,7 +14,8 @@
|
|||
hardware.opengl.enable = true;
|
||||
|
||||
sound.enable = true;
|
||||
sound.extraConfig = (builtins.readFile ./asound.conf);
|
||||
services.jack.jackd.enable = true;
|
||||
services.jack.alsa.enable = true;
|
||||
|
||||
# Includes packages needed for startx
|
||||
services.xserver = {
|
||||
|
@ -36,7 +37,7 @@
|
|||
geekygay = {
|
||||
shell = pkgs.fish;
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "dialout" "audio" ];
|
||||
extraGroups = [ "wheel" "dialout" "jackaudio" ];
|
||||
password = "";
|
||||
openssh.authorizedKeys.keyFiles = [
|
||||
./authorized_keys
|
||||
|
@ -45,7 +46,7 @@
|
|||
# Unprivledged user for running the application.
|
||||
appuser = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "audio" ];
|
||||
extraGroups = [ "jackaudio" ];
|
||||
password = "";
|
||||
packages = with pkgs; [
|
||||
puredata websocat
|
||||
|
|
Loading…
Reference in a new issue