[pulseaudio-discuss] [PATCH] alsa-mixer: It's valid to have zero elements in a path

Tanu Kaskinen tanuk at iki.fi
Wed Mar 27 02:39:40 PDT 2013


On Mon, 2013-03-25 at 13:47 +0100, David Henningsson wrote:
> 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 at canonical.com>
> ---
> 
> Note: I quickly checked through alsa-mixer.c to look for more places
> where elements == NULL would be a problem, but didn't find any.
> 
>  src/modules/alsa/alsa-mixer.c |   27 +++++++++++++--------------
>  1 file changed, 13 insertions(+), 14 deletions(-)

Applied, thanks!

-- 
Tanu



More information about the pulseaudio-discuss mailing list