mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Implement surround71 output for SB Live 24 bit.
Note: Requires updated alsa-kernel as well.
This commit is contained in:
		
							parent
							
								
									4d7c53d280
								
							
						
					
					
						commit
						b0ee34e757
					
				
					 1 changed files with 72 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -38,6 +38,18 @@ CA0106.pcm.center_lfe.0 {
 | 
			
		|||
	device 2
 | 
			
		||||
}	
 | 
			
		||||
 | 
			
		||||
<confdir:pcm/side.conf>
 | 
			
		||||
 | 
			
		||||
CA0106.pcm.side.0 {
 | 
			
		||||
	@args [ CARD ]
 | 
			
		||||
	@args.CARD {
 | 
			
		||||
		type string
 | 
			
		||||
	}
 | 
			
		||||
	type hw
 | 
			
		||||
	card $CARD
 | 
			
		||||
	device 3
 | 
			
		||||
}	
 | 
			
		||||
 | 
			
		||||
<confdir:pcm/surround40.conf>
 | 
			
		||||
 | 
			
		||||
CA0106.pcm.surround40.0 {
 | 
			
		||||
| 
						 | 
				
			
			@ -77,6 +89,7 @@ CA0106.pcm.surround40.0 {
 | 
			
		|||
<confdir:pcm/surround41.conf>
 | 
			
		||||
<confdir:pcm/surround50.conf>
 | 
			
		||||
<confdir:pcm/surround51.conf>
 | 
			
		||||
<confdir:pcm/surround71.conf>
 | 
			
		||||
 | 
			
		||||
CA0106.pcm.surround51.0 {
 | 
			
		||||
	@args [ CARD ]
 | 
			
		||||
| 
						 | 
				
			
			@ -123,6 +136,65 @@ CA0106.pcm.surround51.0 {
 | 
			
		|||
	]
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
CA0106.pcm.surround71.0 {
 | 
			
		||||
	@args [ CARD ]
 | 
			
		||||
	@args.CARD {
 | 
			
		||||
		type string
 | 
			
		||||
	}
 | 
			
		||||
	type multi
 | 
			
		||||
	slaves [
 | 
			
		||||
		{
 | 
			
		||||
			pcm {
 | 
			
		||||
				@func concat
 | 
			
		||||
				strings [
 | 
			
		||||
					"cards.CA0106.pcm.front.0:CARD=" $CARD
 | 
			
		||||
				]
 | 
			
		||||
			}
 | 
			
		||||
			channels 2
 | 
			
		||||
		}
 | 
			
		||||
		{
 | 
			
		||||
			pcm {
 | 
			
		||||
				@func concat
 | 
			
		||||
				strings [
 | 
			
		||||
					"cards.CA0106.pcm.rear.0:CARD=" $CARD
 | 
			
		||||
				]
 | 
			
		||||
			}
 | 
			
		||||
			channels 2
 | 
			
		||||
		}
 | 
			
		||||
		{
 | 
			
		||||
			pcm {
 | 
			
		||||
				@func concat
 | 
			
		||||
				strings [
 | 
			
		||||
					"cards.CA0106.pcm.center_lfe.0:CARD=" $CARD
 | 
			
		||||
				]
 | 
			
		||||
			}
 | 
			
		||||
			channels 2
 | 
			
		||||
		}
 | 
			
		||||
		{
 | 
			
		||||
			pcm {
 | 
			
		||||
				@func concat
 | 
			
		||||
				strings [
 | 
			
		||||
					"cards.CA0106.pcm.side.0:CARD=" $CARD
 | 
			
		||||
				]
 | 
			
		||||
			}
 | 
			
		||||
			channels 2
 | 
			
		||||
		}
 | 
			
		||||
	]
 | 
			
		||||
	bindings [
 | 
			
		||||
		{ slave 0 channel 0 }
 | 
			
		||||
		{ slave 0 channel 1 }
 | 
			
		||||
		{ slave 1 channel 0 }
 | 
			
		||||
		{ slave 1 channel 1 }
 | 
			
		||||
		{ slave 2 channel 0 }
 | 
			
		||||
		{ slave 2 channel 1 }
 | 
			
		||||
		{ slave 3 channel 0 }
 | 
			
		||||
		{ slave 3 channel 1 }
 | 
			
		||||
	]
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
<confdir:pcm/iec958.conf>
 | 
			
		||||
 | 
			
		||||
CA0106.pcm.iec958.0 {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue