mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	conf: update to latest changes
This commit is contained in:
		
							parent
							
								
									7303f2c1a0
								
							
						
					
					
						commit
						7af81f8080
					
				
					 1 changed files with 23 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -1,10 +1,11 @@
 | 
			
		|||
# Add a specific named PipeWire pcm
 | 
			
		||||
 | 
			
		||||
defaults.pipewire.server "pipewire-0"
 | 
			
		||||
defaults.pipewire.node "13"
 | 
			
		||||
defaults.pipewire.node "-1"
 | 
			
		||||
defaults.pipewire.exclusive false
 | 
			
		||||
 | 
			
		||||
pcm.pipewire {
 | 
			
		||||
	@args [ SERVER NODE ]
 | 
			
		||||
	@args [ SERVER NODE EXCLUSIVE ]
 | 
			
		||||
	@args.SERVER {
 | 
			
		||||
		type string
 | 
			
		||||
		default {
 | 
			
		||||
| 
						 | 
				
			
			@ -19,14 +20,33 @@ pcm.pipewire {
 | 
			
		|||
			name defaults.pipewire.node
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	@args.EXCLUSIVE {
 | 
			
		||||
		type integer
 | 
			
		||||
		default {
 | 
			
		||||
			@func refer
 | 
			
		||||
			name defaults.pipewire.exclusive
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
	type pipewire
 | 
			
		||||
	server $SERVER
 | 
			
		||||
	playback_node $NODE
 | 
			
		||||
	capture_node  "6"
 | 
			
		||||
	capture_node $NODE
 | 
			
		||||
	exclusive $EXCLUSIVE
 | 
			
		||||
	hint {
 | 
			
		||||
		show on
 | 
			
		||||
		description "PipeWire Sound Server"
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
pcm.!default {
 | 
			
		||||
    type pipewire
 | 
			
		||||
    playback_node "-1"
 | 
			
		||||
    capture_node  "-1"
 | 
			
		||||
    hint {
 | 
			
		||||
        show on
 | 
			
		||||
        description "Default ALSA Output (currently PipeWire Media Server)"
 | 
			
		||||
    }
 | 
			
		||||
    #fallback "sysdefault"
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue