[pipewire] audio config
This commit is contained in:
parent
7810f71989
commit
29e1cd507d
6 changed files with 109 additions and 0 deletions
42
.config/pipewire/pipewire.conf.d/null-sink.conf
Normal file
42
.config/pipewire/pipewire.conf.d/null-sink.conf
Normal file
|
@ -0,0 +1,42 @@
|
|||
context.objects = [
|
||||
{ factory = adapter
|
||||
args = {
|
||||
factory.name = support.null-audio-sink
|
||||
node.name = "Browser"
|
||||
media.class = Audio/Duplex
|
||||
channel_map = stereo
|
||||
monitor.passthrough = true
|
||||
monitor.channel-volumes = true
|
||||
}
|
||||
},
|
||||
{ factory = adapter
|
||||
args = {
|
||||
factory.name = support.null-audio-sink
|
||||
node.name = "Social"
|
||||
media.class = Audio/Duplex
|
||||
channel_map = stereo
|
||||
monitor.passthrough = true
|
||||
monitor.channel-volumes = true
|
||||
}
|
||||
},
|
||||
{ factory = adapter
|
||||
args = {
|
||||
factory.name = support.null-audio-sink
|
||||
node.name = "Gaming"
|
||||
media.class = Audio/Duplex
|
||||
channel_map = stereo
|
||||
monitor.passthrough = true
|
||||
monitor.channel-volumes = true
|
||||
}
|
||||
},
|
||||
{ factory = adapter
|
||||
args = {
|
||||
factory.name = support.null-audio-sink
|
||||
node.name = "Desktop Audio"
|
||||
media.class = Audio/Sink
|
||||
channel_map = stereo
|
||||
monitor.passthrough = true
|
||||
monitor.channel-volumes = true
|
||||
}
|
||||
},
|
||||
]
|
7
.config/pipewire/pipewire.conf.d/settings.conf
Normal file
7
.config/pipewire/pipewire.conf.d/settings.conf
Normal file
|
@ -0,0 +1,7 @@
|
|||
context.properties = {
|
||||
default.clock.rate = 96000
|
||||
default.clock.allowed-rates = [ 96000 ]
|
||||
default.clock.quantum = 128
|
||||
default.clock.max-quantum = 128
|
||||
default.clock.min-quantum = 128
|
||||
}
|
15
.config/wireplumber/wireplumber.conf.d/51-acer-monitor.conf
Normal file
15
.config/wireplumber/wireplumber.conf.d/51-acer-monitor.conf
Normal file
|
@ -0,0 +1,15 @@
|
|||
"monitor.alsa.rules": [
|
||||
{
|
||||
"matches": [
|
||||
{
|
||||
"node.name": "alsa_output.pci-0000_2b_00.1.hdmi-stereo-extra1"
|
||||
}
|
||||
],
|
||||
"actions": {
|
||||
"update-props": {
|
||||
"node.description": "Acer Monitor Speakers",
|
||||
"node.nick": "Acer Monitor Speakers"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
|
@ -0,0 +1,15 @@
|
|||
"monitor.alsa.rules": [
|
||||
{
|
||||
"matches": [
|
||||
{
|
||||
"node.name": "alsa_input.usb-Focusrite_Scarlett_Solo_USB_Y70DAWR074D97D-00.HiFi__scarlett2i_mono_in_USB_0_1__source"
|
||||
}
|
||||
],
|
||||
"actions": {
|
||||
"update-props": {
|
||||
"node.description": "Scarlett Solo Instrument",
|
||||
"node.nick": "Scarlett Solo Instrument"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
|
@ -0,0 +1,15 @@
|
|||
"monitor.alsa.rules": [
|
||||
{
|
||||
"matches": [
|
||||
{
|
||||
"node.name": "alsa_input.usb-Focusrite_Scarlett_Solo_USB_Y70DAWR074D97D-00.HiFi__scarlett2i_mono_in_USB_0_0__source"
|
||||
}
|
||||
],
|
||||
"actions": {
|
||||
"update-props": {
|
||||
"node.description": "Scarlett Solo Microphone",
|
||||
"node.nick": "Scarlett Solo Microphone"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
|
@ -0,0 +1,15 @@
|
|||
"monitor.alsa.rules": [
|
||||
{
|
||||
"matches": [
|
||||
{
|
||||
"node.name": "alsa_output.usb-Focusrite_Scarlett_Solo_USB_Y70DAWR074D97D-00.HiFi__hw_USB__sink"
|
||||
}
|
||||
],
|
||||
"actions": {
|
||||
"update-props": {
|
||||
"node.description": "Scarlett Solo Headphones",
|
||||
"node.nick": "Scarlett Solo Headphones"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
Loading…
Reference in a new issue