mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Added EMU10K1 configuration
This commit is contained in:
		
							parent
							
								
									22c689135e
								
							
						
					
					
						commit
						f1a6bb270d
					
				
					 1 changed files with 54 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -41,7 +41,7 @@ surround_plugin.FM801 {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
surround_plugin.ENS1370 {
 | 
			
		||||
	use_fd = 1;
 | 
			
		||||
	use_fd_four = 1;
 | 
			
		||||
	open_multi {
 | 
			
		||||
		device.0 = 1;
 | 
			
		||||
		subdevice.0 = 0;
 | 
			
		||||
| 
						 | 
				
			
			@ -135,3 +135,56 @@ surround_plugin.INTEL8X0 {
 | 
			
		|||
		subdevice = 0;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
surround_plugin.EMU10K1 {
 | 
			
		||||
	channels_six = true;
 | 
			
		||||
	use_fd_four = 1;
 | 
			
		||||
	use_fd_six = 2;
 | 
			
		||||
	open_multi {
 | 
			
		||||
		device.0 = 0;
 | 
			
		||||
		subdevice.0 = -1;
 | 
			
		||||
		device.1 = 0;
 | 
			
		||||
		subdevice.1 = -1;
 | 
			
		||||
		device.2 = 0;
 | 
			
		||||
		subdevice.2 = -1;
 | 
			
		||||
	}
 | 
			
		||||
	open_control.0 {
 | 
			
		||||
		iface = MIXER;
 | 
			
		||||
		name = 'Wave Surround Playback Volume';
 | 
			
		||||
		index = 0;
 | 
			
		||||
		lock = true;
 | 
			
		||||
		preserve = true;
 | 
			
		||||
		value.0 = 0;
 | 
			
		||||
		value.1 = 0;
 | 
			
		||||
	}
 | 
			
		||||
	# change send volume from front to rear
 | 
			
		||||
	open_control.1 {
 | 
			
		||||
		iface = MIXER;
 | 
			
		||||
		name = 'EMU10K1 PCM Send Volume';
 | 
			
		||||
		index = subdevice1;
 | 
			
		||||
		lock = true;
 | 
			
		||||
		value.4 = 0;
 | 
			
		||||
		value.5 = 0;
 | 
			
		||||
		value.6 = 255;
 | 
			
		||||
		value.7 = 0;
 | 
			
		||||
		value.8 = 0;
 | 
			
		||||
		value.9 = 0;
 | 
			
		||||
		value.10 = 0;
 | 
			
		||||
		value.11 = 255;
 | 
			
		||||
	}
 | 
			
		||||
	# send routing must be changed to 6 (center) and 7 (LFE)
 | 
			
		||||
	open_control.2 {
 | 
			
		||||
		iface = MIXER;
 | 
			
		||||
		name = 'EMU10K1 PCM Send Routing';
 | 
			
		||||
		index = subdevice2;
 | 
			
		||||
		lock = true;
 | 
			
		||||
		value.4 = 6;
 | 
			
		||||
		value.5 = 7;
 | 
			
		||||
		value.6 = 0;
 | 
			
		||||
		value.7 = 1;
 | 
			
		||||
		value.8 = 6;
 | 
			
		||||
		value.9 = 7;
 | 
			
		||||
		value.10 = 0;
 | 
			
		||||
		value.11 = 1;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue