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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux