mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	adjust control references in config files
Adjust the hooked control definitions for the changed interface of "EMU10K1 PCM Send Volume" and "EMU10K1 PCM Send Routing" controls.
This commit is contained in:
		
							parent
							
								
									59a8226184
								
							
						
					
					
						commit
						5203c3bfa1
					
				
					 3 changed files with 211 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -19,15 +19,37 @@ Audigy.pcm.front.0 {
 | 
			
		|||
		type ctl_elems
 | 
			
		||||
		hook_args [
 | 
			
		||||
			{
 | 
			
		||||
				interface PCM
 | 
			
		||||
				device 0
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 255 255 0 0 0 0 0 0  255 0 0 0 0 0 0 0  0 255 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
						{
 | 
			
		||||
			{
 | 
			
		||||
				# for compatibility with older drivers
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 255 255 0 0 0 0 0 0  255 0 0 0 0 0 0 0  0 255 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				interface PCM
 | 
			
		||||
				device 0
 | 
			
		||||
				name "EMU10K1 PCM Send Routing"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 8 9 0 0 0 0 0 0  8 9 0 0 0 0 0 0  8 9 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				# for compatibility with older drivers
 | 
			
		||||
				name "EMU10K1 PCM Send Routing"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 8 9 0 0 0 0 0 0  8 9 0 0 0 0 0 0  8 9 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -53,9 +75,20 @@ Audigy.pcm.rear.0 {
 | 
			
		|||
		type ctl_elems
 | 
			
		||||
		hook_args [
 | 
			
		||||
			{
 | 
			
		||||
				interface PCM
 | 
			
		||||
				device 0
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 0 0 255 255 0 0 0 0  0 0 255 0 0 0 0 0  0 0 0 255 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				# for compatibility with older drivers
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 0 0 255 255 0 0 0 0  0 0 255 0 0 0 0 0  0 0 0 255 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
		]
 | 
			
		||||
| 
						 | 
				
			
			@ -79,15 +112,37 @@ Audigy.pcm.center_lfe.0 {
 | 
			
		|||
		type ctl_elems
 | 
			
		||||
		hook_args [
 | 
			
		||||
			{
 | 
			
		||||
				interface PCM
 | 
			
		||||
				device 0
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 255 255 0 0 0 0 0 0  255 0 0 0 0 0 0 0  0 255 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				# for compatibility with older drivers
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 255 255 0 0 0 0 0 0  255 0 0 0 0 0 0 0  0 255 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				interface PCM
 | 
			
		||||
				device 0
 | 
			
		||||
				name "EMU10K1 PCM Send Routing"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 6 7 0 0 0 0 0 0  6 7 0 0 0 0 0 0  6 7 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				# for compatibility with older drivers
 | 
			
		||||
				name "EMU10K1 PCM Send Routing"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 6 7 0 0 0 0 0 0  6 7 0 0 0 0 0 0  6 7 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
		]
 | 
			
		||||
| 
						 | 
				
			
			@ -221,15 +276,37 @@ Audigy.pcm.iec958.0 {
 | 
			
		|||
				value [ 1 1 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				interface PCM
 | 
			
		||||
				device 0
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 255 255 0 0 0 0 0 0  255 0 0 0 0 0 0 0  0 255 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				# for compatibility with older drivers
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 255 255 0 0 0 0 0 0  255 0 0 0 0 0 0 0  0 255 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				interface PCM
 | 
			
		||||
				device 0
 | 
			
		||||
				name "EMU10K1 PCM Send Routing"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 20 21 0 0 0 0 0 0  20 21 0 0 0 0 0 0   20 21 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				# for compatibility with older drivers
 | 
			
		||||
				name "EMU10K1 PCM Send Routing"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 20 21 0 0 0 0 0 0  20 21 0 0 0 0 0 0   20 21 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,15 +19,37 @@ Audigy2.pcm.front.0 {
 | 
			
		|||
		type ctl_elems
 | 
			
		||||
		hook_args [
 | 
			
		||||
			{
 | 
			
		||||
				interface PCM
 | 
			
		||||
				device 0
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 255 255 0 0 0 0 0 0  255 0 0 0 0 0 0 0  0 255 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
						{
 | 
			
		||||
			{
 | 
			
		||||
				# for compatibility with older drivers
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 255 255 0 0 0 0 0 0  255 0 0 0 0 0 0 0  0 255 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				interface PCM
 | 
			
		||||
				device 0
 | 
			
		||||
				name "EMU10K1 PCM Send Routing"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 8 9 0 0 0 0 0 0  8 9 0 0 0 0 0 0  8 9 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				# for compatibility with older drivers
 | 
			
		||||
				name "EMU10K1 PCM Send Routing"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 8 9 0 0 0 0 0 0  8 9 0 0 0 0 0 0  8 9 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -53,9 +75,20 @@ Audigy2.pcm.rear.0 {
 | 
			
		|||
		type ctl_elems
 | 
			
		||||
		hook_args [
 | 
			
		||||
			{
 | 
			
		||||
				interface PCM
 | 
			
		||||
				device 0
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 0 0 255 255 0 0 0 0  0 0 255 0 0 0 0 0  0 0 0 255 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				# for compatibility with older drivers
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 0 0 255 255 0 0 0 0  0 0 255 0 0 0 0 0  0 0 0 255 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
		]
 | 
			
		||||
| 
						 | 
				
			
			@ -79,15 +112,37 @@ Audigy2.pcm.center_lfe.0 {
 | 
			
		|||
		type ctl_elems
 | 
			
		||||
		hook_args [
 | 
			
		||||
			{
 | 
			
		||||
				interface PCM
 | 
			
		||||
				device 0
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 255 255 0 0 0 0 0 0  255 0 0 0 0 0 0 0  0 255 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				# for compatibility with older drivers
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 255 255 0 0 0 0 0 0  255 0 0 0 0 0 0 0  0 255 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				interface PCM
 | 
			
		||||
				device 0
 | 
			
		||||
				name "EMU10K1 PCM Send Routing"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 6 7 0 0 0 0 0 0  6 7 0 0 0 0 0 0  6 7 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				# for compatibility with older drivers
 | 
			
		||||
				name "EMU10K1 PCM Send Routing"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 6 7 0 0 0 0 0 0  6 7 0 0 0 0 0 0  6 7 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
		]
 | 
			
		||||
| 
						 | 
				
			
			@ -111,15 +166,37 @@ Audigy2.pcm.side.0 {
 | 
			
		|||
		type ctl_elems
 | 
			
		||||
		hook_args [
 | 
			
		||||
			{
 | 
			
		||||
				interface PCM
 | 
			
		||||
				device 0
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 255 255 0 0 0 0 0 0  255 0 0 0 0 0 0 0  0 255 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				# for compatibility with older drivers
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 255 255 0 0 0 0 0 0  255 0 0 0 0 0 0 0  0 255 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				interface PCM
 | 
			
		||||
				device 0
 | 
			
		||||
				name "EMU10K1 PCM Send Routing"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 14 15 0 0 0 0 0 0  14 15 0 0 0 0 0 0  14 15 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				# for compatibility with older drivers
 | 
			
		||||
				name "EMU10K1 PCM Send Routing"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 14 15 0 0 0 0 0 0  14 15 0 0 0 0 0 0  14 15 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
		]
 | 
			
		||||
| 
						 | 
				
			
			@ -310,15 +387,37 @@ Audigy2.pcm.iec958.0 {
 | 
			
		|||
				value [ 1 1 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				interface PCM
 | 
			
		||||
				device 0
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 255 255 0 0 0 0 0 0  255 0 0 0 0 0 0 0  0 255 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				# for compatibility with older drivers
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 255 255 0 0 0 0 0 0  255 0 0 0 0 0 0 0  0 255 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				interface PCM
 | 
			
		||||
				device 0
 | 
			
		||||
				name "EMU10K1 PCM Send Routing"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 20 21 0 0 0 0 0 0  20 21 0 0 0 0 0 0   20 21 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				# for compatibility with older drivers
 | 
			
		||||
				name "EMU10K1 PCM Send Routing"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 20 21 0 0 0 0 0 0  20 21 0 0 0 0 0 0   20 21 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -38,9 +38,20 @@ EMU10K1.pcm.rear.0 {
 | 
			
		|||
				value [ 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				interface PCM
 | 
			
		||||
				device 0
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 0 0 255 255 0 0 255 0 0 0 0 255 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				# for compatibility with older drivers
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 0 0 255 255 0 0 255 0 0 0 0 255 ]
 | 
			
		||||
			}
 | 
			
		||||
		]
 | 
			
		||||
| 
						 | 
				
			
			@ -100,15 +111,37 @@ EMU10K1.pcm.center_lfe.0 {
 | 
			
		|||
#				value 0
 | 
			
		||||
#			}
 | 
			
		||||
			{
 | 
			
		||||
				interface PCM
 | 
			
		||||
				device 0
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 255 255 0 0 255 0 0 0 0 255 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				# for compatibility with older drivers
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 255 255 0 0 255 0 0 0 0 255 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				interface PCM
 | 
			
		||||
				device 0
 | 
			
		||||
				name "EMU10K1 PCM Send Routing"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 6 7 0 0 6 7 0 0 6 7 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				# for compatibility with older drivers
 | 
			
		||||
				name "EMU10K1 PCM Send Routing"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				optional true
 | 
			
		||||
				value [ 6 7 0 0 6 7 0 0 6 7 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
		]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue