I have a Samsung Galaxy S21-U
running Android 14
and Termux 0.118.1
(retrieved from F-Droid on 2024.08.22)
with TigerVNC 1.10.1-41
. TigerVNC and associated required packages retrieved via apt in termux: I followed these steps to bring up an xfce4 desktop environment via tigervnc.
Instructions for getting sound output are harder to find.
- The following solutions successfully played MP3 files over USB-C speakers:
- The command
play-audio
from this answer (mpg123
andplay
produce no output, but see [2] below); - These instructions on reddit for the
mpv
command; - I cannot get output over the phone speakers from either of the above.
- The command
- The VNC subset of this answer does not work for me
- A virtual pulseaudio sink
auto_null.monitor
exists. - The commands
play
andmpg123
seem to attach to this sink. - With the above inputs attached, the sink
auto_null.monitor
switches state fromSUSPENDED
toRUNNING
. - With audio playing, the xfce4 volume control panel shows the volume fluctuating.
- No sound is emitted over either the phone or USB-C speakers.
- A virtual pulseaudio sink
I want to see if I can get the pulseaudio command play
to emit over the phone speakers. Has anyone achieved this?