stamasd Posted March 30, 2016 Posted March 30, 2016 From the CLI that is. I plan on using the OPi as a headless MIDI processor, and I'd like to be able to switch remotely the audio output of ALSA between the default audio-out, the HDMI out and a USB sound card (CM108-based, tested working with the current kernel). ALSA documentation isn't well maintained, most of it is old and doesn't correspond with the current state of the software (config files locations and names, contents etc). I tried various examples I found on several bulletin boards, but none really worked since Armbian seems to do things a bit differently. So I'm asking here: on Armbian, how do I switch remotely the output audio device in ALSA? No remote desktop, just ssh/CLI.
sirmike Posted March 31, 2016 Posted March 31, 2016 try.. .https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture and... http://tldp.org/HOWTO/Alsa-sound-6.html for more info on using ALSA..
stamasd Posted March 31, 2016 Author Posted March 31, 2016 try.. .https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture and... http://tldp.org/HOWTO/Alsa-sound-6.html for more info on using ALSA.. Yes, that is exactly what I tried using, and why I said that the documentation doesn't apply to the current state of ALSA. For instance,anything I put in /etc/asound.conf is thoroughly ignored and doesn't have any effect; same for /usr/share/alsa/alsa.conf; /proc/asound/modules doesn't exist anymore, etc.
Recommended Posts