mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Fix SPDIF device
Fixed SPDIF device number.
This commit is contained in:
		
							parent
							
								
									7e5a7fbdbf
								
							
						
					
					
						commit
						acc032b63f
					
				
					 1 changed files with 32 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -80,15 +80,17 @@ HDA-Intel.pcm.iec958.0 {
 | 
			
		|||
	@args.AES3 {
 | 
			
		||||
		type integer
 | 
			
		||||
	}
 | 
			
		||||
	type hooks
 | 
			
		||||
	slave.pcm {
 | 
			
		||||
		type hw
 | 
			
		||||
		card $CARD
 | 
			
		||||
		device 0
 | 
			
		||||
	}
 | 
			
		||||
	hooks.0 {
 | 
			
		||||
		type ctl_elems
 | 
			
		||||
		hook_args [
 | 
			
		||||
	type asym
 | 
			
		||||
	playback.pcm {
 | 
			
		||||
		type hooks
 | 
			
		||||
		slave.pcm {
 | 
			
		||||
			type hw
 | 
			
		||||
			card $CARD
 | 
			
		||||
			device 1
 | 
			
		||||
		}
 | 
			
		||||
		hooks.0 {
 | 
			
		||||
			type ctl_elems
 | 
			
		||||
			hook_args [
 | 
			
		||||
			{
 | 
			
		||||
				name "IEC958 Playback Default"
 | 
			
		||||
				lock true
 | 
			
		||||
| 
						 | 
				
			
			@ -101,6 +103,26 @@ HDA-Intel.pcm.iec958.0 {
 | 
			
		|||
				preserve true
 | 
			
		||||
				value true
 | 
			
		||||
			}
 | 
			
		||||
		]
 | 
			
		||||
			]
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	capture.pcm {
 | 
			
		||||
		type hooks
 | 
			
		||||
		slave.pcm {
 | 
			
		||||
			type hw
 | 
			
		||||
			card $CARD
 | 
			
		||||
			device 1
 | 
			
		||||
		}
 | 
			
		||||
		hooks.0 {
 | 
			
		||||
			type ctl_elems
 | 
			
		||||
			hook_args [
 | 
			
		||||
			{
 | 
			
		||||
				name "IEC958 Capture Switch"
 | 
			
		||||
				lock true
 | 
			
		||||
				preserve true
 | 
			
		||||
				value true
 | 
			
		||||
			}
 | 
			
		||||
			]
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue