Add luminance and external monitor kernel modules
This commit is contained in:
parent
56a8c33f9c
commit
ea331093bb
5 changed files with 41 additions and 12 deletions
|
@ -1,5 +1,5 @@
|
|||
{ config, pkgs, lib, ... }: {
|
||||
environment.etc = {
|
||||
"wireplumber/main.lua.d/51-sdac.lua".source = ./sdac.lua;
|
||||
"wireplumber/wireplumber.conf.d/51-sdac.conf".source = ./sdac.conf.json;
|
||||
};
|
||||
}
|
||||
|
|
19
nki-home/audio/sdac.conf.json
Normal file
19
nki-home/audio/sdac.conf.json
Normal file
|
@ -0,0 +1,19 @@
|
|||
monitor.alsa.rules = [
|
||||
{
|
||||
matches = [
|
||||
{
|
||||
device.name = "alsa_output.usb-Grace_Design_SDAC-00.*"
|
||||
}
|
||||
]
|
||||
actions = {
|
||||
update-props = {
|
||||
# audio.format = "S24_3LE"
|
||||
audio.rate = 88200
|
||||
api.alsa.period-size = 2
|
||||
api.alsa.headroom = 0
|
||||
api.alsa.disable-batch = true
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
@ -6,7 +6,7 @@ rule = {
|
|||
},
|
||||
apply_properties = {
|
||||
["audio.format"] = "S24_3LE",
|
||||
["audio.rate"] = 96000,
|
||||
["audio.rate"] = 44100,
|
||||
["api.alsa.period-size"] = 2,
|
||||
["api.alsa.headroom"] = 0,
|
||||
["api.alsa.disable-batch"] = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue