📜  麦克风自动调整 ubuntu - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:45.038000             🧑  作者: Mango

代码示例1
while sleep 0.1; do pacmd set-source-volume alsa_input.???-?????.analog-stereo 90000; done

Note that 65535 corresponds to 100%, so 90000 is about 135%. The name of the device (alsa_input.???-?????.analog-stereo) should be substituted with whatever you find by running pacmd list-sources | grep name: