mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	added config files for digigram cards.
This commit is contained in:
		
							parent
							
								
									960b97c8f6
								
							
						
					
					
						commit
						22e1a1bb13
					
				
					 4 changed files with 212 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -19,7 +19,10 @@ cfg_files = aliases.conf \
 | 
			
		|||
	TRID4DWAVENX.conf \
 | 
			
		||||
	YMF744.conf \
 | 
			
		||||
	VIA8233.conf \
 | 
			
		||||
	VIA8233A.conf
 | 
			
		||||
	VIA8233A.conf \
 | 
			
		||||
	VX222.conf \
 | 
			
		||||
	VXPocket.conf \
 | 
			
		||||
	VXPocket440.conf
 | 
			
		||||
 | 
			
		||||
EXTRA_DIST = $(cfg_files)
 | 
			
		||||
alsa_DATA = $(cfg_files)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										53
									
								
								src/conf/cards/VX222.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										53
									
								
								src/conf/cards/VX222.conf
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,53 @@
 | 
			
		|||
#
 | 
			
		||||
# Configuration for Digigram VX222
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
<confdir:pcm/front.conf>
 | 
			
		||||
 | 
			
		||||
VX222.pcm.front.0 {
 | 
			
		||||
	@args [ CARD ]
 | 
			
		||||
	@args.CARD {
 | 
			
		||||
		type string
 | 
			
		||||
	}
 | 
			
		||||
	type hw
 | 
			
		||||
	card $CARD
 | 
			
		||||
	device 0
 | 
			
		||||
}	
 | 
			
		||||
 | 
			
		||||
<confdir:pcm/iec958.conf>
 | 
			
		||||
 | 
			
		||||
VX222.pcm.iec958.0 {
 | 
			
		||||
	@args [ CARD AES0 AES1 AES2 AES3 ]
 | 
			
		||||
	@args.CARD {
 | 
			
		||||
		type string
 | 
			
		||||
	}
 | 
			
		||||
	@args.AES0 {
 | 
			
		||||
		type integer
 | 
			
		||||
	}
 | 
			
		||||
	@args.AES1 {
 | 
			
		||||
		type integer
 | 
			
		||||
	}
 | 
			
		||||
	@args.AES2 {
 | 
			
		||||
		type integer
 | 
			
		||||
	}
 | 
			
		||||
	@args.AES3 {
 | 
			
		||||
		type integer
 | 
			
		||||
	}
 | 
			
		||||
	type hooks
 | 
			
		||||
	slave.pcm {
 | 
			
		||||
		type hw
 | 
			
		||||
		card $CARD
 | 
			
		||||
		device 0
 | 
			
		||||
	}
 | 
			
		||||
	hooks.0 {
 | 
			
		||||
		type ctl_elems
 | 
			
		||||
		hook_args [
 | 
			
		||||
			{
 | 
			
		||||
				name "IEC958 Playback Default"
 | 
			
		||||
				lock true
 | 
			
		||||
				preserve true
 | 
			
		||||
				value [ $AES0 $AES1 $AES2 $AES3 ]
 | 
			
		||||
			}
 | 
			
		||||
		]
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										53
									
								
								src/conf/cards/VXPocket.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										53
									
								
								src/conf/cards/VXPocket.conf
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,53 @@
 | 
			
		|||
#
 | 
			
		||||
# Configuration for Digigram VXpocket
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
<confdir:pcm/front.conf>
 | 
			
		||||
 | 
			
		||||
VXPocket.pcm.front.0 {
 | 
			
		||||
	@args [ CARD ]
 | 
			
		||||
	@args.CARD {
 | 
			
		||||
		type string
 | 
			
		||||
	}
 | 
			
		||||
	type hw
 | 
			
		||||
	card $CARD
 | 
			
		||||
	device 0
 | 
			
		||||
}	
 | 
			
		||||
 | 
			
		||||
<confdir:pcm/iec958.conf>
 | 
			
		||||
 | 
			
		||||
VXPocket.pcm.iec958.0 {
 | 
			
		||||
	@args [ CARD AES0 AES1 AES2 AES3 ]
 | 
			
		||||
	@args.CARD {
 | 
			
		||||
		type string
 | 
			
		||||
	}
 | 
			
		||||
	@args.AES0 {
 | 
			
		||||
		type integer
 | 
			
		||||
	}
 | 
			
		||||
	@args.AES1 {
 | 
			
		||||
		type integer
 | 
			
		||||
	}
 | 
			
		||||
	@args.AES2 {
 | 
			
		||||
		type integer
 | 
			
		||||
	}
 | 
			
		||||
	@args.AES3 {
 | 
			
		||||
		type integer
 | 
			
		||||
	}
 | 
			
		||||
	type hooks
 | 
			
		||||
	slave.pcm {
 | 
			
		||||
		type hw
 | 
			
		||||
		card $CARD
 | 
			
		||||
		device 0
 | 
			
		||||
	}
 | 
			
		||||
	hooks.0 {
 | 
			
		||||
		type ctl_elems
 | 
			
		||||
		hook_args [
 | 
			
		||||
			{
 | 
			
		||||
				name "IEC958 Playback Default"
 | 
			
		||||
				lock true
 | 
			
		||||
				preserve true
 | 
			
		||||
				value [ $AES0 $AES1 $AES2 $AES3 ]
 | 
			
		||||
			}
 | 
			
		||||
		]
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										102
									
								
								src/conf/cards/VXPocket440.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										102
									
								
								src/conf/cards/VXPocket440.conf
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,102 @@
 | 
			
		|||
#
 | 
			
		||||
# Configuration for Digigram VXpocket440
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
<confdir:pcm/front.conf>
 | 
			
		||||
 | 
			
		||||
VXPocket440.pcm.front.0 {
 | 
			
		||||
	@args [ CARD ]
 | 
			
		||||
	@args.CARD {
 | 
			
		||||
		type string
 | 
			
		||||
	}
 | 
			
		||||
	type hw
 | 
			
		||||
	card $CARD
 | 
			
		||||
	device 0
 | 
			
		||||
}	
 | 
			
		||||
 | 
			
		||||
<confdir:pcm/rear.conf>
 | 
			
		||||
 | 
			
		||||
VXPocket440.pcm.rear.0 {
 | 
			
		||||
	@args [ CARD ]
 | 
			
		||||
	@args.CARD {
 | 
			
		||||
		type string
 | 
			
		||||
	}
 | 
			
		||||
	type hw
 | 
			
		||||
	card $CARD
 | 
			
		||||
	device 1
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
<confdir:pcm/surround40.conf>
 | 
			
		||||
 | 
			
		||||
VXPocket440.pcm.surround40.0 {
 | 
			
		||||
	@args [ CARD ]
 | 
			
		||||
	@args.CARD {
 | 
			
		||||
		type string
 | 
			
		||||
	}
 | 
			
		||||
	type multi
 | 
			
		||||
	master 1
 | 
			
		||||
	slaves [
 | 
			
		||||
		{
 | 
			
		||||
			pcm {
 | 
			
		||||
				@func concat
 | 
			
		||||
				strings [
 | 
			
		||||
					"cards.VXPocket440.pcm.front.0:CARD=" $CARD
 | 
			
		||||
				]
 | 
			
		||||
			}
 | 
			
		||||
			channels 2
 | 
			
		||||
		}
 | 
			
		||||
		{
 | 
			
		||||
			pcm {
 | 
			
		||||
				@func concat
 | 
			
		||||
				strings [
 | 
			
		||||
					"cards.VXPocket440.pcm.rear.0:CARD=" $CARD
 | 
			
		||||
				]
 | 
			
		||||
			}
 | 
			
		||||
			channels 2
 | 
			
		||||
		}
 | 
			
		||||
	]
 | 
			
		||||
	bindings [
 | 
			
		||||
		{ slave 0 channel 0 }
 | 
			
		||||
		{ slave 0 channel 1 }
 | 
			
		||||
		{ slave 1 channel 0 }
 | 
			
		||||
		{ slave 1 channel 1 }
 | 
			
		||||
	]
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
<confdir:pcm/iec958.conf>
 | 
			
		||||
 | 
			
		||||
VXPocket440.pcm.iec958.0 {
 | 
			
		||||
	@args [ CARD AES0 AES1 AES2 AES3 ]
 | 
			
		||||
	@args.CARD {
 | 
			
		||||
		type string
 | 
			
		||||
	}
 | 
			
		||||
	@args.AES0 {
 | 
			
		||||
		type integer
 | 
			
		||||
	}
 | 
			
		||||
	@args.AES1 {
 | 
			
		||||
		type integer
 | 
			
		||||
	}
 | 
			
		||||
	@args.AES2 {
 | 
			
		||||
		type integer
 | 
			
		||||
	}
 | 
			
		||||
	@args.AES3 {
 | 
			
		||||
		type integer
 | 
			
		||||
	}
 | 
			
		||||
	type hooks
 | 
			
		||||
	slave.pcm {
 | 
			
		||||
		type hw
 | 
			
		||||
		card $CARD
 | 
			
		||||
		device 0
 | 
			
		||||
	}
 | 
			
		||||
	hooks.0 {
 | 
			
		||||
		type ctl_elems
 | 
			
		||||
		hook_args [
 | 
			
		||||
			{
 | 
			
		||||
				name "IEC958 Playback Default"
 | 
			
		||||
				lock true
 | 
			
		||||
				preserve true
 | 
			
		||||
				value [ $AES0 $AES1 $AES2 $AES3 ]
 | 
			
		||||
			}
 | 
			
		||||
		]
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue