mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	- fixed the iec958 capture using asym plugin.
the different routing is used.
This commit is contained in:
		
							parent
							
								
									9c4d6757cc
								
							
						
					
					
						commit
						8169d2823e
					
				
					 1 changed files with 31 additions and 17 deletions
				
			
		| 
						 | 
					@ -77,28 +77,42 @@ ICE1712.pcm.iec958.0 {
 | 
				
			||||||
	@args.AES3 {
 | 
						@args.AES3 {
 | 
				
			||||||
		type integer
 | 
							type integer
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	type hooks
 | 
						type asym
 | 
				
			||||||
	slave.pcm {
 | 
						playback.pcm {
 | 
				
			||||||
 | 
							type hooks
 | 
				
			||||||
 | 
							slave.pcm {
 | 
				
			||||||
 | 
								type route
 | 
				
			||||||
 | 
								ttable.0.8 1
 | 
				
			||||||
 | 
								ttable.1.9 1
 | 
				
			||||||
 | 
								slave.pcm {
 | 
				
			||||||
 | 
									type hw
 | 
				
			||||||
 | 
									card $CARD
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								slave.format S32_LE
 | 
				
			||||||
 | 
								slave.channels 10
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							hooks.0 {
 | 
				
			||||||
 | 
								type ctl_elems
 | 
				
			||||||
 | 
								hook_args [
 | 
				
			||||||
 | 
									{
 | 
				
			||||||
 | 
										interface PCM
 | 
				
			||||||
 | 
										name "IEC958 Playback PCM Stream"
 | 
				
			||||||
 | 
										lock true
 | 
				
			||||||
 | 
										preserve true
 | 
				
			||||||
 | 
										value [ $AES0 $AES1 $AES2 $AES3 ]
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								]
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						capture.pcm {
 | 
				
			||||||
		type route
 | 
							type route
 | 
				
			||||||
		ttable.0.8 1
 | 
							ttable.0.10 1
 | 
				
			||||||
		ttable.1.9 1
 | 
							ttable.1.11 1
 | 
				
			||||||
		slave.pcm {
 | 
							slave.pcm {
 | 
				
			||||||
			type hw
 | 
								type hw
 | 
				
			||||||
			card $CARD
 | 
								card $CARD
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		slave.format S32_LE
 | 
							slave.format S32_LE
 | 
				
			||||||
		slave.channels 10
 | 
							slave.channels 12
 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
	hooks.0 {
 | 
					 | 
				
			||||||
		type ctl_elems
 | 
					 | 
				
			||||||
		hook_args [
 | 
					 | 
				
			||||||
			{
 | 
					 | 
				
			||||||
				interface PCM
 | 
					 | 
				
			||||||
				name "IEC958 Playback PCM Stream"
 | 
					 | 
				
			||||||
				lock true
 | 
					 | 
				
			||||||
				preserve true
 | 
					 | 
				
			||||||
				value [ $AES0 $AES1 $AES2 $AES3 ]
 | 
					 | 
				
			||||||
			}
 | 
					 | 
				
			||||||
		]
 | 
					 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue