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.
don't reset "IEC958 Loop" for capture.
This commit is contained in:
		
							parent
							
								
									072eb65902
								
							
						
					
					
						commit
						9c4d6757cc
					
				
					 2 changed files with 58 additions and 33 deletions
				
			
		| 
						 | 
				
			
			@ -85,6 +85,8 @@ CMI8338.pcm.iec958.0 {
 | 
			
		|||
	@args.AES3 {
 | 
			
		||||
		type integer
 | 
			
		||||
	}
 | 
			
		||||
	type asym
 | 
			
		||||
	playback.pcm {
 | 
			
		||||
		type hooks
 | 
			
		||||
		slave.pcm {
 | 
			
		||||
			type hw
 | 
			
		||||
| 
						 | 
				
			
			@ -102,6 +104,18 @@ CMI8338.pcm.iec958.0 {
 | 
			
		|||
					preserve true
 | 
			
		||||
					value [ $AES0 $AES1 $AES2 $AES3 ]
 | 
			
		||||
				}
 | 
			
		||||
				{
 | 
			
		||||
					name "IEC958 Loop"
 | 
			
		||||
					lock true
 | 
			
		||||
					preserve true
 | 
			
		||||
					value off
 | 
			
		||||
				}
 | 
			
		||||
			]
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	capture.pcm {
 | 
			
		||||
		type hw
 | 
			
		||||
		card $CARD
 | 
			
		||||
		device 2
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -68,9 +68,6 @@ CMI8738-MC6.pcm.iec958.0 {
 | 
			
		|||
	@args.CARD {
 | 
			
		||||
		type string
 | 
			
		||||
	}
 | 
			
		||||
	@args.DEV {
 | 
			
		||||
		type integer
 | 
			
		||||
	}
 | 
			
		||||
	@args.AES0 {
 | 
			
		||||
		type integer
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			@ -83,6 +80,8 @@ CMI8738-MC6.pcm.iec958.0 {
 | 
			
		|||
	@args.AES3 {
 | 
			
		||||
		type integer
 | 
			
		||||
	}
 | 
			
		||||
	type asym
 | 
			
		||||
	playback.pcm {
 | 
			
		||||
		type hooks
 | 
			
		||||
		slave.pcm {
 | 
			
		||||
			type hw
 | 
			
		||||
| 
						 | 
				
			
			@ -100,6 +99,18 @@ CMI8738-MC6.pcm.iec958.0 {
 | 
			
		|||
					preserve true
 | 
			
		||||
					value [ $AES0 $AES1 $AES2 $AES3 ]
 | 
			
		||||
				}
 | 
			
		||||
				{
 | 
			
		||||
					name "IEC958 Loop"
 | 
			
		||||
					lock true
 | 
			
		||||
					preserve true
 | 
			
		||||
					value off
 | 
			
		||||
				}
 | 
			
		||||
			]
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	capture.pcm {
 | 
			
		||||
		type hw
 | 
			
		||||
		card $CARD
 | 
			
		||||
		device 2
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue