- Notifications
You must be signed in to change notification settings - Fork0
Android mixer_path XML to ALSA UCM converter
License
NotificationsYou must be signed in to change notification settings
ford-prefect/xml2ucm
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This tool helps convert Android mixer_paths.xml audio configuration to the ALSAUCM format. There is a sample configuration file inexamples/
for theNexus 4 (mako).
In relatively simple setups, the UCM that is produced should just work, butsome manual tweaking might be required based on the audio subsystem(PulseAudio, CrAS, ...) and the hardware.
You can read more about the motivation and design inmy blog post.
To build the code, you'll needstack
, which yourdistribution probablyprovides. Check out the code and then run:
$ stack setup# if you haven't done this once already$ stack build
To build with the example, you could do something like:
$ stackexec -- xml2ucm -m examples/mako-mixer_paths.xml -c examples/mako-config.xml -o examples
The generated files will be inexamples/apq8064-tabla-snd-card/
.