Update audio.nix
This commit is contained in:
parent
282e6aa7fa
commit
413ca33af3
1 changed files with 0 additions and 30 deletions
|
|
@ -10,35 +10,5 @@
|
||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
jack.enable = true;
|
jack.enable = true;
|
||||||
|
|
||||||
# Enable audio monitoring for game capture
|
|
||||||
extraConfig.pipewire."92-low-latency" = {
|
|
||||||
context.properties = {
|
|
||||||
default.clock.rate = 48000;
|
|
||||||
default.clock.quantum = 1024;
|
|
||||||
default.clock.min-quantum = 512;
|
|
||||||
default.clock.max-quantum = 2048;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Allow capturing audio from all applications including Steam games
|
|
||||||
extraConfig.pipewire."99-steam-monitor" = {
|
|
||||||
context.modules = [
|
|
||||||
{
|
|
||||||
name = "libpipewire-module-loopback";
|
|
||||||
args = {
|
|
||||||
node.description = "Steam Audio Monitor";
|
|
||||||
capture.props = {
|
|
||||||
media.class = "Audio/Sink";
|
|
||||||
audio.position = [ "FL" "FR" ];
|
|
||||||
};
|
|
||||||
playback.props = {
|
|
||||||
media.class = "Audio/Source";
|
|
||||||
audio.position = [ "FL" "FR" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue