new/external/rockchip-test/audio/acodec_test/set_adc_alc_volume.sh

13 lines
206 B
Bash
Raw Normal View History

2025-05-10 21:58:58 +08:00
#!/bin/bash
v=$1
echo "Set ALC capture volume, volume range 0->15"
if [ ! -n "$v" ] ; then
echo "ERR: please enter a volume"
else
amixer set "ALC Capture Target" $v
amixer get "ALC Capture Target"
fi