diff --git a/.config/pipewire/pipewire.conf.d/null-sink.conf b/.config/pipewire/pipewire.conf.d/null-sink.conf new file mode 100644 index 0000000..7039438 --- /dev/null +++ b/.config/pipewire/pipewire.conf.d/null-sink.conf @@ -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 + } +}, +] diff --git a/.config/pipewire/pipewire.conf.d/settings.conf b/.config/pipewire/pipewire.conf.d/settings.conf new file mode 100644 index 0000000..2233232 --- /dev/null +++ b/.config/pipewire/pipewire.conf.d/settings.conf @@ -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 +} diff --git a/.config/wireplumber/wireplumber.conf.d/51-acer-monitor.conf b/.config/wireplumber/wireplumber.conf.d/51-acer-monitor.conf new file mode 100644 index 0000000..194e177 --- /dev/null +++ b/.config/wireplumber/wireplumber.conf.d/51-acer-monitor.conf @@ -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" + } + } + } +] diff --git a/.config/wireplumber/wireplumber.conf.d/51-focusrite-input-inst.conf b/.config/wireplumber/wireplumber.conf.d/51-focusrite-input-inst.conf new file mode 100644 index 0000000..08410cf --- /dev/null +++ b/.config/wireplumber/wireplumber.conf.d/51-focusrite-input-inst.conf @@ -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" + } + } + } +] diff --git a/.config/wireplumber/wireplumber.conf.d/51-focusrite-input-mic.conf b/.config/wireplumber/wireplumber.conf.d/51-focusrite-input-mic.conf new file mode 100644 index 0000000..3386112 --- /dev/null +++ b/.config/wireplumber/wireplumber.conf.d/51-focusrite-input-mic.conf @@ -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" + } + } + } +] diff --git a/.config/wireplumber/wireplumber.conf.d/51-focusrite-output.conf b/.config/wireplumber/wireplumber.conf.d/51-focusrite-output.conf new file mode 100644 index 0000000..0812419 --- /dev/null +++ b/.config/wireplumber/wireplumber.conf.d/51-focusrite-output.conf @@ -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" + } + } + } +]