PULSEUADIO to PIPEWIRE default.pa -> pipewire.conf
context.objects = {
adapter = {
args = {
factory.name = api.alsa.pcm.sink # The ALSA sinks object on Pipewire
node.name = line_output # A name for the device
node.description = "Line Output" # A visible name for the device in the tray (mandatory quotes)
media.class = Audio/Sink # Another sink parameter on Pipewire
api.alsa.path = "hw:PCH,0" # Finally the sink location. Quotes are mandatory.
}
}
adapter = {
args = {
factory.name = api.alsa.pcm.source # Here we did the same thing, just change "sink" to "source" and the names.
node.name = microphone_input
node.description = "Microphone Input"
media.class = Audio/Source
api.alsa.path = "hw:PCH,0"
}
}
adapter = {
args = {
factory.name = api.alsa.pcm.source
node.name = line_input
node.description = "Line Input"
media.class = Audio/Source
api.alsa.path = "hw:PCH,2"
}
}
}
Are there any code examples left?
New code examples in category Shell/Bash
-
Shell/Bash 2022-03-27 22:30:33 wise highlight ubuntu
-
Shell/Bash 2022-03-27 22:25:19 how to send a pull request in git
-
Shell/Bash 2022-03-27 21:55:06 how to open terminal in sublime text ubuntu
-
Shell/Bash 2022-03-27 21:25:19 how to switch branch
-
Shell/Bash 2022-03-27 21:20:25 python
-
Shell/Bash 2022-03-27 21:20:04 set user as admin gitlab
-
Shell/Bash 2022-03-27 21:10:09 apache2 mod_jk proxy to tomcat connector
-
Shell/Bash 2022-03-27 20:35:12 chown
-
Shell/Bash 2022-03-27 20:15:08 awk last match