android_device_htc_leo/prebuilt/init.d/10mic_level

17 lines
421 B
Plaintext
Raw Permalink Normal View History

2012-05-02 12:02:43 +00:00
#!/system/bin/sh
#Usage: echo 'device_id level' > /proc/mic_level
#Level range: 0-1000; -1 use level from acdb
#Current levels (device_id):
echo '0 400' > /proc/mic_level
echo '1 600' > /proc/mic_level
echo '2 800' > /proc/mic_level
echo '3 800' > /proc/mic_level
echo '4 800' > /proc/mic_level
#Current levels (device_id):
#HANDSET (0): 400
#SPKR_PHONE (1): 600
#HEADSET (2): 800
#TTY_HEADSET (3): 800
#BT_SCO (4): 800