mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-10-29 05:40:25 -04:00 
			
		
		
		
	oxygen: add channel status controls
Add mixer controls to manage the S/PDIF channel status bits.
This commit is contained in:
		
							parent
							
								
									2ae2bbf190
								
							
						
					
					
						commit
						8be2d013f0
					
				
					 1 changed files with 19 additions and 5 deletions
				
			
		|  | @ -2,8 +2,6 @@ | |||
| # Configuration for the CMI8788 chip | ||||
| # | ||||
| 
 | ||||
| # TODO: add hooks for SPDIF mixer controls | ||||
| 
 | ||||
| <confdir:pcm/front.conf> | ||||
| 
 | ||||
| CMI8788.pcm.front.0 { | ||||
|  | @ -126,9 +124,25 @@ CMI8788.pcm.iec958.0 { | |||
| 	} | ||||
| 	type asym | ||||
| 	playback.pcm { | ||||
| 		type hw | ||||
| 		card $CARD | ||||
| 		device 1 | ||||
| 		type hooks | ||||
| 		slave.pcm { | ||||
| 			type hw | ||||
| 			card $CARD | ||||
| 			device 1 | ||||
| 		} | ||||
| 		hooks.0 { | ||||
| 			type ctl_elems | ||||
| 			hook_args [ | ||||
| 				{ | ||||
| 					interface PCM | ||||
| 					device 1 | ||||
| 					name "IEC958 Playback PCM Stream" | ||||
| 					lock true | ||||
| 					preserve true | ||||
| 					value [ $AES0 $AES1 $AES2 $AES3 ] | ||||
| 				} | ||||
| 			] | ||||
| 		} | ||||
| 	} | ||||
| 	capture.pcm { | ||||
| 		type hw | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Clemens Ladisch
						Clemens Ladisch