Sound#

Ubuntu Touch uses Pulseaudio as sound server. Documentation can be found at freedesktop.org and in the Ubuntu manpages

The default configuration file used on Ubuntu Touch is touch.pa. This file is located in the /etc/pulse directory on your device and it will need adjustment in order for sound to function properly. Extract the file and copy it to the ubuntu directory you created in your device repo (see Overlay file method).

Znajdź linie:

load-module module-droid-discover voice_virtual_stream=true

i zastąp go tym:

load-module module-droid-discover rate=48000 quirks=+unload_call_exit

Na końcu pliku dodaj to:

### Automatically load the audioflinger glue
.ifexists module-droid-glue-24.so
load-module module-droid-glue-24
.endif

Your modified touch.pa file now needs to be included in your build. Follow the overlay file method corresponding to your Halium version.