]> code.delx.au - pulseaudio/commit
alsa-mixer: It's valid to have zero elements in a path
authorDavid Henningsson <david.henningsson@canonical.com>
Mon, 25 Mar 2013 12:47:08 +0000 (13:47 +0100)
committerTanu Kaskinen <tanuk@iki.fi>
Wed, 27 Mar 2013 09:36:46 +0000 (11:36 +0200)
commit6be21425cd8490411eb0b15cb4d3fd9185195c84
tree8118507a3e10658a5182ef9ce0c1eded68f6dcff
parent3d65e9c49e1523567649464a102f127be6feb332
alsa-mixer: It's valid to have zero elements in a path

It's valid for a path to have zero elements, e g if it contains
a single jack only. Earlier, this would cause an assertion failure
in pa_path_condense.

Also convert pa_bool_t to bool.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
src/modules/alsa/alsa-mixer.c