-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: sound not working except for termux-media-player #3960
Comments
Check if pulseaudio is installed:
|
Take a look at this issue reported about pulseaudio not working on OneUI 6.1. |
Likely these tips. ~ $ PATH: /data/data/com.termux/files/usr/google-cloud-sdk/bin:/data/data/com.termux/files/home/.opam/default/bin:/data/data/com.termux/files/usr/bin:/system/bin/:/data/data/com.termux/files/usr/bin:/data/data/com.termux/files/home/.local/bin LD_LIBRARY_PATH: /data/data/com.termux/files/usr/lib:/data/data/com.termux/files/usr/lib/jvm/java-17-openjdk/lib/: CC: clang |
i am on Android 14,using Debian with xfce in proot-distro, i installed all required packages in termux and in proot-distro, i do all required steps, but when i runned the gui everything works exept pulseaudio. |
i can confirm as per @mhdtyb - after some updates: Termux:
But prooted Debian:
even after running pulseaudio there. |
Pulseaudio can be used only in Termux because only such version is patched to be able play sound on Android. |
Hello here is a command that will fix this for proot distro, but run it in Termux directly, not your proot environment: echo -e 'LD_PRELOAD=/system/lib64/libskcodec.so\npulseaudio --start --load="module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1" --exit-idle-time=-1' | tee -a ../usr/etc/bash.bashrc Using that command shortened from a command posted on another gh issues link shared in this thread: We were able to get Samsung devices like the Tab S9 to play audio in Debian Proot. Proof is on the XDA link |
i already know that we can do that but i want the developer to make as the default config in previous updates |
There is also this ugly trick ;):
Of course, after aliasing or linking:
|
Problem description
Using Termux with xfce desktop environment installed (no distro), as per Termux wiki, I am not able to play sound from any of the installed packages (Firefox, vlc) except for termux-media-player using the terminal.
Steps to reproduce the behavior.
Install termux and termux API, upgrade packages
install tigervnc and xfce
Install Firefox or any available media player (cantara, vlc) and try to play a file audio.
What is the expected behavior?
I can hear sound when using Firefox and media players
System information
The text was updated successfully, but these errors were encountered: