xref: /OK3568_Linux_fs/external/rockchip-test/audio/acodec_test/set_adc_alc_volume.sh (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1#!/bin/bash
2
3v=$1
4
5echo "Set ALC capture volume, volume range 0->15"
6
7if [ ! -n "$v" ] ; then
8	echo "ERR: please enter a volume"
9else
10	amixer set "ALC Capture Target" $v
11	amixer get "ALC Capture Target"
12fi
13