mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	
							parent
							
								
									8e1f0628f7
								
							
						
					
					
						commit
						d3597ed149
					
				
					 2 changed files with 106 additions and 0 deletions
				
			
		| 
						 | 
					@ -177,6 +177,10 @@ ATTRS{idVendor}=="1395", ATTRS{idProduct}=="0300", ENV{ACP_PROFILE_SET}="usb-gam
 | 
				
			||||||
# Sennheiser GSP 670 USB headset
 | 
					# Sennheiser GSP 670 USB headset
 | 
				
			||||||
ATTRS{idVendor}=="1395", ATTRS{idProduct}=="008a", ENV{ACP_PROFILE_SET}="usb-gaming-headset.conf"
 | 
					ATTRS{idVendor}=="1395", ATTRS{idProduct}=="008a", ENV{ACP_PROFILE_SET}="usb-gaming-headset.conf"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Audioengine HD3 powered speakers support IEC958 but don't actually
 | 
				
			||||||
 | 
					# have any digital outputs.
 | 
				
			||||||
 | 
					ATTRS{idVendor}=="0a12", ATTRS{idProduct}=="4007", ENV{ACP_PROFILE_SET}="analog-only.conf"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
GOTO="pipewire_end"
 | 
					GOTO="pipewire_end"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
LABEL="pipewire_check_pci"
 | 
					LABEL="pipewire_check_pci"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										102
									
								
								spa/plugins/alsa/mixer/profile-sets/analog-only.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										102
									
								
								spa/plugins/alsa/mixer/profile-sets/analog-only.conf
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,102 @@
 | 
				
			||||||
 | 
					# PulseAudio is free software; you can redistribute it and/or modify
 | 
				
			||||||
 | 
					# it under the terms of the GNU Lesser General Public License as
 | 
				
			||||||
 | 
					# published by the Free Software Foundation; either version 2.1 of the
 | 
				
			||||||
 | 
					# License, or (at your option) any later version.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# PulseAudio is distributed in the hope that it will be useful, but
 | 
				
			||||||
 | 
					# WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
				
			||||||
 | 
					# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 | 
				
			||||||
 | 
					# General Public License for more details.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# You should have received a copy of the GNU Lesser General Public License
 | 
				
			||||||
 | 
					# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					; Some USB DACs appear to support IEC958, but don't physically have any
 | 
				
			||||||
 | 
					; digital outputs.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[General]
 | 
				
			||||||
 | 
					auto-profiles = yes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Mapping analog-stereo]
 | 
				
			||||||
 | 
					device-strings = front:%f
 | 
				
			||||||
 | 
					channel-map = left,right
 | 
				
			||||||
 | 
					paths-output = analog-output analog-output-lineout analog-output-speaker analog-output-headphones analog-output-headphones-2
 | 
				
			||||||
 | 
					paths-input = analog-input-front-mic analog-input-rear-mic analog-input-internal-mic analog-input-dock-mic analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line analog-input-headphone-mic analog-input-headset-mic
 | 
				
			||||||
 | 
					priority = 15
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# If everything else fails, try to use hw:0 as a stereo device...
 | 
				
			||||||
 | 
					[Mapping stereo-fallback]
 | 
				
			||||||
 | 
					device-strings = hw:%f
 | 
				
			||||||
 | 
					fallback = yes
 | 
				
			||||||
 | 
					channel-map = front-left,front-right
 | 
				
			||||||
 | 
					paths-output = analog-output analog-output-lineout analog-output-speaker analog-output-headphones analog-output-headphones-2
 | 
				
			||||||
 | 
					paths-input = analog-input-front-mic analog-input-rear-mic analog-input-internal-mic analog-input-dock-mic analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line analog-input-headphone-mic analog-input-headset-mic
 | 
				
			||||||
 | 
					priority = 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# ...and if even that fails, try to use hw:0 as a mono device.
 | 
				
			||||||
 | 
					[Mapping mono-fallback]
 | 
				
			||||||
 | 
					device-strings = hw:%f
 | 
				
			||||||
 | 
					fallback = yes
 | 
				
			||||||
 | 
					channel-map = mono
 | 
				
			||||||
 | 
					paths-output = analog-output analog-output-lineout analog-output-speaker analog-output-headphones analog-output-headphones-2 analog-output-mono
 | 
				
			||||||
 | 
					paths-input = analog-input-front-mic analog-input-rear-mic analog-input-internal-mic analog-input-dock-mic analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line analog-input-headset-mic
 | 
				
			||||||
 | 
					priority = 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Mapping analog-surround-21]
 | 
				
			||||||
 | 
					device-strings = surround21:%f
 | 
				
			||||||
 | 
					channel-map = front-left,front-right,lfe
 | 
				
			||||||
 | 
					paths-input = analog-input analog-input-linein analog-input-mic
 | 
				
			||||||
 | 
					paths-output = analog-output analog-output-lineout analog-output-speaker
 | 
				
			||||||
 | 
					priority = 13
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Mapping analog-surround-40]
 | 
				
			||||||
 | 
					device-strings = surround40:%f
 | 
				
			||||||
 | 
					channel-map = front-left,front-right,rear-left,rear-right
 | 
				
			||||||
 | 
					paths-input = analog-input analog-input-linein analog-input-mic
 | 
				
			||||||
 | 
					paths-output = analog-output analog-output-lineout analog-output-speaker
 | 
				
			||||||
 | 
					priority = 12
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Mapping analog-surround-41]
 | 
				
			||||||
 | 
					device-strings = surround41:%f
 | 
				
			||||||
 | 
					channel-map = front-left,front-right,rear-left,rear-right,lfe
 | 
				
			||||||
 | 
					paths-input = analog-input analog-input-linein analog-input-mic
 | 
				
			||||||
 | 
					paths-output = analog-output analog-output-lineout analog-output-speaker
 | 
				
			||||||
 | 
					priority = 13
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Mapping analog-surround-50]
 | 
				
			||||||
 | 
					device-strings = surround50:%f
 | 
				
			||||||
 | 
					channel-map = front-left,front-right,rear-left,rear-right,front-center
 | 
				
			||||||
 | 
					paths-input = analog-input analog-input-linein analog-input-mic
 | 
				
			||||||
 | 
					paths-output = analog-output analog-output-lineout analog-output-speaker
 | 
				
			||||||
 | 
					priority = 12
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Mapping analog-surround-51]
 | 
				
			||||||
 | 
					device-strings = surround51:%f
 | 
				
			||||||
 | 
					channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
 | 
				
			||||||
 | 
					paths-input = analog-input analog-input-linein analog-input-mic
 | 
				
			||||||
 | 
					paths-output = analog-output analog-output-lineout analog-output-speaker
 | 
				
			||||||
 | 
					priority = 13
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Mapping analog-surround-71]
 | 
				
			||||||
 | 
					device-strings = surround71:%f
 | 
				
			||||||
 | 
					channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
 | 
				
			||||||
 | 
					description = Analog Surround 7.1
 | 
				
			||||||
 | 
					paths-input = analog-input analog-input-linein analog-input-mic
 | 
				
			||||||
 | 
					paths-output = analog-output analog-output-lineout analog-output-speaker
 | 
				
			||||||
 | 
					priority = 12
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Mapping multichannel-output]
 | 
				
			||||||
 | 
					device-strings = hw:%f
 | 
				
			||||||
 | 
					channel-map = left,right,rear-left,rear-right
 | 
				
			||||||
 | 
					exact-channels = false
 | 
				
			||||||
 | 
					fallback = yes
 | 
				
			||||||
 | 
					priority = 1
 | 
				
			||||||
 | 
					direction = output
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Mapping multichannel-input]
 | 
				
			||||||
 | 
					device-strings = hw:%f
 | 
				
			||||||
 | 
					channel-map = left,right,rear-left,rear-right
 | 
				
			||||||
 | 
					exact-channels = false
 | 
				
			||||||
 | 
					fallback = yes
 | 
				
			||||||
 | 
					priority = 1
 | 
				
			||||||
 | 
					direction = input
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue