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 {
 | 
						@args.AES3 {
 | 
				
			||||||
		type integer
 | 
							type integer
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	type hooks
 | 
						type asym
 | 
				
			||||||
	slave.pcm {
 | 
						playback.pcm {
 | 
				
			||||||
		type hw
 | 
							type hooks
 | 
				
			||||||
		card $CARD
 | 
							slave.pcm {
 | 
				
			||||||
		device 0
 | 
								type hw
 | 
				
			||||||
	}
 | 
								card $CARD
 | 
				
			||||||
	hooks.0 {
 | 
								device 1
 | 
				
			||||||
		type ctl_elems
 | 
							}
 | 
				
			||||||
		hook_args [
 | 
							hooks.0 {
 | 
				
			||||||
 | 
								type ctl_elems
 | 
				
			||||||
 | 
								hook_args [
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
				name "IEC958 Playback Default"
 | 
									name "IEC958 Playback Default"
 | 
				
			||||||
				lock true
 | 
									lock true
 | 
				
			||||||
| 
						 | 
					@ -101,6 +103,26 @@ HDA-Intel.pcm.iec958.0 {
 | 
				
			||||||
				preserve true
 | 
									preserve true
 | 
				
			||||||
				value 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