Fix Audio Port Andronix
Follow this instruction ...
1.Install pulseaudio on thermux
pkg install pulseaudio
-
Install nano on thermux
pkg install nano
-
go pulse folder
cd /data/data/com.thermux/files/usr/etc/pulse
-
edit daemon.conf with nano
nano daemon.conf
change this line ;exit-idle-time = 20
to exit-idle-time = -1
Then write file with CTRL+O and enter to save then CTRL+x to exit nano
-
edit default.pa with nano
nano default.pa
add this line in the end
#{start of lines
#patches
load-module-native-protocol-tcp auth-ip-acl-127.0.0.1 auth-anonymous=1
#end of lines}
write file with CTRL+O and enter to save then CTRL+x to exit nano
-
edit file permission of audio.sh
chmod 755 audio.sh
-
run with ./audio.sh
if output is 17, 18, or 19 without error, congratulation pulseaudio running correctly...
-
install simple protocol player application from playstore
Then setting
IP Address : localhost
Audio port : 8000
Sample rate : 48000
Enable network retries : checked
-
install pulseaudio on linux and reboot your phone
-
run ./audio.sh
-
run simple protocol player
-
run your linux
-
run this command export PULSE_SERVER=tcp:127.0.0.1
-
run vncserver-start
-
Enjoy...