mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Use route slave pcm instead of plug.
If you need to play 8 or 16bit data on the first two channels, you can do even like this: aplay -Dplug:front foo.wav
This commit is contained in:
		
							parent
							
								
									76b102a36d
								
							
						
					
					
						commit
						57469ec597
					
				
					 1 changed files with 8 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -7,7 +7,7 @@ cards.ICE1712.pcm.front.0 {
 | 
			
		|||
	@args.CARD {
 | 
			
		||||
		type string
 | 
			
		||||
	}
 | 
			
		||||
	type plug
 | 
			
		||||
	type route
 | 
			
		||||
	ttable.0.0 1
 | 
			
		||||
	ttable.1.1 1
 | 
			
		||||
	slave.pcm {
 | 
			
		||||
| 
						 | 
				
			
			@ -21,7 +21,7 @@ cards.ICE1712.pcm.surround40.0 {
 | 
			
		|||
	@args.CARD {
 | 
			
		||||
		type string
 | 
			
		||||
	}
 | 
			
		||||
	type plug
 | 
			
		||||
	type route
 | 
			
		||||
	ttable.0.0 1
 | 
			
		||||
	ttable.1.1 1
 | 
			
		||||
	ttable.2.2 1
 | 
			
		||||
| 
						 | 
				
			
			@ -37,7 +37,7 @@ cards.ICE1712.pcm.surround51.0 {
 | 
			
		|||
	@args.CARD {
 | 
			
		||||
		type string
 | 
			
		||||
	}
 | 
			
		||||
	type plug
 | 
			
		||||
	type route
 | 
			
		||||
	ttable.0.0 1
 | 
			
		||||
	ttable.1.1 1
 | 
			
		||||
	ttable.2.2 1
 | 
			
		||||
| 
						 | 
				
			
			@ -72,10 +72,13 @@ cards.ICE1712.pcm.iec958.0 {
 | 
			
		|||
	}
 | 
			
		||||
	type hooks
 | 
			
		||||
	slave.pcm {
 | 
			
		||||
		type plug
 | 
			
		||||
		type route
 | 
			
		||||
		ttable.0.8 1
 | 
			
		||||
		ttable.1.9 1
 | 
			
		||||
		card $CARD
 | 
			
		||||
		slave.pcm {
 | 
			
		||||
			type hw
 | 
			
		||||
			card $CARD
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	hooks.0 {
 | 
			
		||||
		type ctl_elems
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue