mirror of
				https://github.com/AquaMorph/dotfiles.git
				synced 2025-11-03 17:03:18 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			297 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			297 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
# Script to add another audio interface if available.
 | 
						|
 | 
						|
DEVICE_NAME='ES-8'
 | 
						|
DEVICE_NUM=$(getCardNumber $DEVICE_NAME)
 | 
						|
checkCard $DEVICE_NAME $DEVICE_NUM
 | 
						|
 | 
						|
# Start up audio interface
 | 
						|
alsa_in -d hw:$DEVICENUM -j "$DEVICENAME In" -q 1 &
 | 
						|
alsa_out -d hw:$DEVICENUM -j "$DEVICENAME Out" -q 1 &
 |