mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-11-30 13:03:30 +01:00
Merge pull request #1858 from Stebalien/steb/fix-framework-audio-priorities
framework/13-inch: fix enhanced audio device priority
This commit is contained in:
1 file changed
+5
-6
@@ -315,12 +315,11 @@ in
|
||||
"device.api" = "dsp";
|
||||
"node.virtual" = "false";
|
||||
|
||||
# Lower seems to mean "more preferred",
|
||||
# bluetooth devices seem to be ~1000, speakers seem to be ~2000
|
||||
# since this is between the two, bluetooth devices take over when they connect,
|
||||
# and hand over to this instead of the speakers when they disconnect.
|
||||
"priority.session" = 1500;
|
||||
"priority.driver" = 1500;
|
||||
# 1009 is the default priority of the "first" analog audio device.
|
||||
# Higher priorities (e.g., 1010 for bluetooth and 1100 for usb audio)
|
||||
# are preferred.
|
||||
"priority.session" = 1009;
|
||||
"priority.driver" = 1009;
|
||||
"state.default-volume" = 0.343;
|
||||
"device.icon-name" = "audio-card-analog-pci";
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user