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).

Localisez la ligne

load-module module-droid-discover voice_virtual_stream=true

et remplacez-la avec ceci

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

À la fin du fichier, ajoutez ceci

### 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.