Last active
September 14, 2020 13:08
-
-
Save Calinou/01f0b7ef5bd0ae09555e25147ea6d106 to your computer and use it in GitHub Desktop.
Disable/bypass PulseAudio automatic gain control
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
IFS=$'\n\t' | |
while sleep 0.1; do | |
# Use `pacmd list-sources` to get the input source name. | |
# 65535 is 100% volume. | |
pacmd set-source-volume alsa_input.pci-0000_00_1f.3.analog-stereo 40000 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment