OSDN Git Service

init.sh: adjust micphone volume
authorChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 12 Feb 2018 07:13:36 +0000 (15:13 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 12 Feb 2018 07:13:36 +0000 (15:13 +0800)
Change the values according to internal testing.

Tested-by: 张淋苹 <18701158269@163.com>
init.sh

diff --git a/init.sh b/init.sh
index cde8a7c..bbc5892 100644 (file)
--- a/init.sh
+++ b/init.sh
@@ -434,13 +434,13 @@ function do_bootcomplete()
                        alsa_amixer -c $c set Headphone on
                        alsa_amixer -c $c set Headphone 100%
                        alsa_amixer -c $c set Speaker 100%
-                       alsa_amixer -c $c set Capture 100%
+                       alsa_amixer -c $c set Capture 80%
                        alsa_amixer -c $c set Capture cap
                        alsa_amixer -c $c set PCM 100 unmute
                        alsa_amixer -c $c set SPO unmute
                        alsa_amixer -c $c set IEC958 on
-                       alsa_amixer -c $c set 'Mic Boost' 3
-                       alsa_amixer -c $c set 'Internal Mic Boost' 3
+                       alsa_amixer -c $c set 'Mic Boost' 1
+                       alsa_amixer -c $c set 'Internal Mic Boost' 1
                fi
        done