With the help of cursor I started working on implementing PulseAudio.
So far I managed to port the termux implementation to localdesktop, start a pulseaudio server and play a wav file on startup.
For some reason the audio plays only the first time on a fresh installation.
The number of dependencies needed has vastly increased:
I believe to output sound from the linux distro, die pulseaudio server needs to be started from the app and listening to a tcp stream. The guest system needs to run a pulseaudio client, supplying that tcp stream?
While the prototype works, I still have to go through the code to see how much slop there is.
https://filebin.net/glf2g09lstibudt5
With the help of cursor I started working on implementing PulseAudio.
So far I managed to port the termux implementation to localdesktop, start a pulseaudio server and play a wav file on startup.
For some reason the audio plays only the first time on a fresh installation.
The number of dependencies needed has vastly increased:
I believe to output sound from the linux distro, die pulseaudio server needs to be started from the app and listening to a tcp stream. The guest system needs to run a pulseaudio client, supplying that tcp stream?
While the prototype works, I still have to go through the code to see how much slop there is.
https://filebin.net/glf2g09lstibudt5