Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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"
        }
    }
}
Comment

PREVIOUS NEXT
Code Example
Shell :: ldocker comand list of images 
Shell :: Unable to install modules kint due to missing modules kint. 
Shell :: git bash option is not coming 
Shell :: command to know wifi ubuntu running 64 or 32 bits 
Shell :: install specific version pacakge go 
Shell :: mixtex 
Shell :: spacemacs set font 
Shell :: format terminal mac 
Shell :: vscode kite extention uninstall 
Shell :: git for nube 
Shell :: install httpd and set up your own web server 
Shell :: git edit hunk how to remove + lines 
Shell :: how to show freeswitch registrations from fs_cli 
Shell :: how many megabytes is a Mbit? 
Shell :: k3os configure SSH 
Shell :: in terminal execute previous command add sudo 
Shell :: iis restart command promt 
Shell :: change default path to open in termanl 
Shell :: remote download wordpress command .zip 
Shell :: how to install rfkill in kali linux 
Shell :: command prompt change directory to network drive 
Shell :: swiftui api calling github 
Shell :: keep ec2 instance connected on command line 
Shell :: script linux code 
Shell :: unix encoding notepadd++ 
Shell :: monitor log file for string 
Shell :: can you make a personal assistant for linux 
Shell :: linux head command get 2nd line 
Shell :: Excluding files 
Shell :: ubuntu change night light intensity 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =