How to fix audio & sound problem in Termux App proot-distro
by jarvisstaraq.blogspot
In this blog today I am going to share how you can fix audio problems in Termux app. By the way, if you follow these steps carefully.
Linux distribution environment
First of all update your Termux repositories.
What is pulseaudio🤔
PulseAudio is an organization skilled sound server program appropriated through the freedesktop.org project. Mainly on Linux, various BSD distributions such like OpenBSD and FreeBSD, macOS, as well as Illumos distributions and the Solaris operating system.
Installation⛏️
pkg update (libssl.so error fixed)
Now install pulseaudio in Termux.
pkg install pulseaudio
FIXING PROCESS👍
Afte the pulseaudio installation process compete, follow this configure steps 🪜nano
nano $PREFIX/etc/pulse/default.pa
* Add this
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1
• Now we have to edit Daemon file. 🗃️
nano $PREFIX/etc/pulse/daemon.conf
*Change this
change exit-idle-time = 20 to exit-idle-time = -1
• Now start pulseaudio. Running 💨
pulseaudio --start
Presently start your distro and simply execute the accompanying order prior to playing any video or sound.
• Enter this command inside distro not in Termux.⚠️
export PULSE_SERVER=127.0.0.1
Or
pulseaudio --start \
--load="module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1" \
--exit-idle-time=-1
"Modded ubuntu best for Desktop environment in Termux | Installation ⛏️"
Features 📲
Fixed Audio Output
Lightweight {Requires at least 4GB Storage}
Katoolin3 tool for installing kali tools
2 Browsers (Chromium & Mozilla Firefox)