Skip to content
MarieMichellePepin edited this page Dec 11, 2018 · 8 revisions

Enable capture on all microphones.

#!/bin/bash

if [ $# -eq 1 ]
then
	amixer -c $1 sset Mic,0 cap
	amixer -c $1 sset Mic,0 100%
else
	echo "Please specify card number."
fi

To save ALSA configurations, execute:

sudo alsactl store 0

This should save configurations to the ALSA init file which gets loaded every startup.

Clone this wiki locally