Skip to content

ford-prefect/xml2ucm

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

xml2ucm

This tool helps convert Android mixer_paths.xml audio configuration to the ALSA UCM format. There is a sample configuration file in examples/ for the Nexus 4 (mako).

In relatively simple setups, the UCM that is produced should just work, but some manual tweaking might be required based on the audio subsystem (PulseAudio, CrAS, ...) and the hardware.

You can read more about the motivation and design in my blog post.

Building

To build the code, you'll need stack, which your distribution probably provides. Check out the code and then run:

$ stack setup # if you haven't done this once already
$ stack build

Running

To build with the example, you could do something like:

$ stack exec -- xml2ucm -m examples/mako-mixer_paths.xml -c examples/mako-config.xml -o examples

The generated files will be in examples/apq8064-tabla-snd-card/.

Releases

No releases published

Packages

No packages published