mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-07-10 05:12:01 +00:00
Refactored audio scripts to new directory
This commit is contained in:
14
scripts/audio/es9start.sh
Normal file
14
scripts/audio/es9start.sh
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Script to add another audio interface if available.
|
||||
|
||||
# Import library
|
||||
source $(dirname ${BASH_SOURCE[0]})/audio-lib.sh
|
||||
|
||||
DEVICE_NAME='ES-9'
|
||||
DEVICE_NUM=$(getCardNumber $DEVICE_NAME)
|
||||
checkCard $DEVICE_NAME $DEVICE_NUM
|
||||
|
||||
# Start up audio interface
|
||||
alsa_in -d hw:$DEVICE_NUM -j "$DEVICENAME In" -c 16 -q 1 &
|
||||
alsa_out -d hw:$DEVICE_NUM -j "$DEVICENAME Out" -c 16 -q 1 &
|
Reference in New Issue
Block a user