Ok so this took me a while to find, because of that I'd like to share how you can get audio working inside a Chroot that's running on your LG Volt. I will not cover how to set up a Linux Chroot but that should be easy if you use "Linux Deploy" from the app store, here.
So some of you might know how a Linux Chroot can headbutt with Android when audio plays but there is a way around it!
Method 1
Pulseaudio allows for internet streaming so you can just stream it locally and because it's local, latency is very low to none. Inside a Chroot you will want to install Pulseaudio and the Alsa-Pulseaudio plugin so apps that need Alsa will still get sound. Next you will want to comment out the following in "/etc/pulse/default.pa"
It's not needed and it caused Pulseaudio to quit on my setup. When you have Pulseaudio going you should have a "dummy output" and a "monitor of dummy output", if so run ""pactl load-module module-simple-protocol-tcp rate=48000 format=s16le channels=2 source=auto_null.monitor record=true port=8000 listen=127.0.0.1" to start a new stream, you can change the port to your liking. On the Android side you will want to grab a app that works with Pulseaudio streams, I used "Simple Protocol Player", here. Configure the Android app to point to 127.0.0.1 (loopback IP), change the sample rate to 48000, and use the port you used in the previous command and press the play button. Go back to your Chroot and try to play something, audio should now be working! Theoretically this should work for any Android device that you can run a Chroot on but I just happen to be using a LG Volt. If you want all devices on the same LAN to get the same audio you can remove the "listen" variable from the command above.
Original solution, not by me, found at http://superuser.com/a/750324
Method 2
I found out that "XServer XSDL" from the play store, found here, supports audio output from Pulseaudio. XServer XSDL is basically a port of X11 to your android device in order to display X11 apps from any source locally (like a Chroot) or remote. Pulseaudio in addition to method 1 can pipe audio to a file which XServer XSDL can read and play. To make use of this you will need to create a "tmp" directory under /data/data/x.org.server/files/img/ (or if you are using Link2SD like I am /data/sdext2/data/x.org.server/files/img/). Then symlink or "mount -o bind" the newly created directory to somewhere inside your Chroot directory, in my case I linked it under /mnt/tmp under my Chroot. Inside your Chroot you will want to install Pulseaudio and Alsa-Pulseaudio plugin for any apps that need Alsa.
Next you will want to comment out the following in "/etc/pulse/default.pa"
Then add
to the bottom of "/etc/pulse/default.pa" replacing "/path/to/tmp/" with wherever you linked the "tmp" folder inside your Chroot and reload the XServer app and your Display Manager (or just restart your Chroot) With any luck audio will play! However unlike method 1 I found you could not multitask otherwise audio stopped playing.
Found out at https://github.com/pelya/xserver-xsdl/issues/25
So some of you might know how a Linux Chroot can headbutt with Android when audio plays but there is a way around it!
Method 1
Pulseaudio allows for internet streaming so you can just stream it locally and because it's local, latency is very low to none. Inside a Chroot you will want to install Pulseaudio and the Alsa-Pulseaudio plugin so apps that need Alsa will still get sound. Next you will want to comment out the following in "/etc/pulse/default.pa"
Code:
.ifexists module-console-kit.so
load-module module-console-kit
.endif
Original solution, not by me, found at http://superuser.com/a/750324
Method 2
I found out that "XServer XSDL" from the play store, found here, supports audio output from Pulseaudio. XServer XSDL is basically a port of X11 to your android device in order to display X11 apps from any source locally (like a Chroot) or remote. Pulseaudio in addition to method 1 can pipe audio to a file which XServer XSDL can read and play. To make use of this you will need to create a "tmp" directory under /data/data/x.org.server/files/img/ (or if you are using Link2SD like I am /data/sdext2/data/x.org.server/files/img/). Then symlink or "mount -o bind" the newly created directory to somewhere inside your Chroot directory, in my case I linked it under /mnt/tmp under my Chroot. Inside your Chroot you will want to install Pulseaudio and Alsa-Pulseaudio plugin for any apps that need Alsa.
Next you will want to comment out the following in "/etc/pulse/default.pa"
Code:
.ifexists module-console-kit.so
load-module module-console-kit
.endif
Code:
load-module module-pipe-sink rate=44100 format=s16le channels=2 file=/path/to/tmp/audio-out
Found out at https://github.com/pelya/xserver-xsdl/issues/25
Last edited: