mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	changed the PCM routing for the recent redesign of the driver.
This commit is contained in:
		
							parent
							
								
									ab61b62cb4
								
							
						
					
					
						commit
						85216d820e
					
				
					 2 changed files with 52 additions and 44 deletions
				
			
		| 
						 | 
				
			
			@ -5,13 +5,35 @@
 | 
			
		|||
<confdir:pcm/front.conf>
 | 
			
		||||
 | 
			
		||||
Audigy.pcm.front.0 {
 | 
			
		||||
	@args [ CARD  ]
 | 
			
		||||
	@args [ CARD ]
 | 
			
		||||
	@args.CARD {
 | 
			
		||||
		type string
 | 
			
		||||
	}
 | 
			
		||||
	type hw
 | 
			
		||||
	card $CARD
 | 
			
		||||
	device 0
 | 
			
		||||
	type hooks
 | 
			
		||||
	slave.pcm {
 | 
			
		||||
		type hw
 | 
			
		||||
		card $CARD
 | 
			
		||||
		device 0
 | 
			
		||||
	}
 | 
			
		||||
	hooks.0 {
 | 
			
		||||
		type ctl_elems
 | 
			
		||||
		hook_args [
 | 
			
		||||
			{
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				value [ 0 0 0 0 0 0 0 0  255 0 0 0 0 0 0 0  0 255 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
						{
 | 
			
		||||
				name "EMU10K1 PCM Send Routing"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				value [ 0 1 2 3 0 0 0 0  8 9 0 1 0 0 0 0  8 9 0 1 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
		]
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
}	
 | 
			
		||||
 | 
			
		||||
<confdir:pcm/rear.conf>
 | 
			
		||||
| 
						 | 
				
			
			@ -30,12 +52,6 @@ Audigy.pcm.rear.0 {
 | 
			
		|||
	hooks.0 {
 | 
			
		||||
		type ctl_elems
 | 
			
		||||
		hook_args [
 | 
			
		||||
			{
 | 
			
		||||
				name "Wave Surround Playback Volume"
 | 
			
		||||
				preserve true
 | 
			
		||||
				lock true
 | 
			
		||||
				value [ 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
| 
						 | 
				
			
			@ -62,18 +78,6 @@ Audigy.pcm.center_lfe.0 {
 | 
			
		|||
	hooks.0 {
 | 
			
		||||
		type ctl_elems
 | 
			
		||||
		hook_args [
 | 
			
		||||
			{
 | 
			
		||||
				name "Wave Center Playback Volume"
 | 
			
		||||
				preserve true
 | 
			
		||||
				lock true
 | 
			
		||||
				value 0
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				name "Wave LFE Playback Volume"
 | 
			
		||||
				preserve true
 | 
			
		||||
				lock true
 | 
			
		||||
				value 0
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,13 +5,35 @@
 | 
			
		|||
<confdir:pcm/front.conf>
 | 
			
		||||
 | 
			
		||||
Audigy2.pcm.front.0 {
 | 
			
		||||
	@args [ CARD  ]
 | 
			
		||||
	@args [ CARD ]
 | 
			
		||||
	@args.CARD {
 | 
			
		||||
		type string
 | 
			
		||||
	}
 | 
			
		||||
	type hw
 | 
			
		||||
	card $CARD
 | 
			
		||||
	device 0
 | 
			
		||||
	type hooks
 | 
			
		||||
	slave.pcm {
 | 
			
		||||
		type hw
 | 
			
		||||
		card $CARD
 | 
			
		||||
		device 0
 | 
			
		||||
	}
 | 
			
		||||
	hooks.0 {
 | 
			
		||||
		type ctl_elems
 | 
			
		||||
		hook_args [
 | 
			
		||||
			{
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				value [ 0 0 0 0 0 0 0 0  255 0 0 0 0 0 0 0  0 255 0 0 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
						{
 | 
			
		||||
				name "EMU10K1 PCM Send Routing"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
				lock true
 | 
			
		||||
				value [ 0 1 2 3 0 0 0 0  8 9 0 1 0 0 0 0  8 9 0 1 0 0 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
		]
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
}	
 | 
			
		||||
 | 
			
		||||
<confdir:pcm/rear.conf>
 | 
			
		||||
| 
						 | 
				
			
			@ -30,12 +52,6 @@ Audigy2.pcm.rear.0 {
 | 
			
		|||
	hooks.0 {
 | 
			
		||||
		type ctl_elems
 | 
			
		||||
		hook_args [
 | 
			
		||||
			{
 | 
			
		||||
				name "Wave Surround Playback Volume"
 | 
			
		||||
				preserve true
 | 
			
		||||
				lock true
 | 
			
		||||
				value [ 0 0 ]
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
| 
						 | 
				
			
			@ -62,18 +78,6 @@ Audigy2.pcm.center_lfe.0 {
 | 
			
		|||
	hooks.0 {
 | 
			
		||||
		type ctl_elems
 | 
			
		||||
		hook_args [
 | 
			
		||||
			{
 | 
			
		||||
				name "Wave Center Playback Volume"
 | 
			
		||||
				preserve true
 | 
			
		||||
				lock true
 | 
			
		||||
				value 0
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				name "Wave LFE Playback Volume"
 | 
			
		||||
				preserve true
 | 
			
		||||
				lock true
 | 
			
		||||
				value 0
 | 
			
		||||
			}
 | 
			
		||||
			{
 | 
			
		||||
				name "EMU10K1 PCM Send Volume"
 | 
			
		||||
				index { @func private_pcm_subdevice }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue