Created
March 13, 2023 06:46
-
-
Save YuanLiou/361ffe4168167e029479d6f7b6503711 to your computer and use it in GitHub Desktop.
Disable Emulator sound
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 | |
find ~/.android/avd -name "config.ini" | while read line | |
do | |
awk '!/audio/' $line > tmp | |
rm $line | |
mv tmp $line | |
echo "hw.audioInput = no" >> $line | |
echo "hw.audioOutput = no" >> $line | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment