[alsa-devel] [PATCH] hda_analyzer: don't fail to display audio selector if caps variables aren't available

Anisse Astier anisse at astier.eu
Thu May 30 14:37:58 CEST 2013


On Thu, 30 May 2013 14:27:19 +0200, Jaroslav Kysela <perex at perex.cz> wrote :

> Date 30.5.2013 14:14, Anisse Astier wrote:
> > In particular, when an audio selector node has Amp-In caps: N/A, it
> > allows to still interact with the selector, and not have TypeError traceback
> > throwns because of NoneType variables.
> 
> When ofs is None, the steps are not defined, too. I fixed it in:
> 
> http://git.alsa-project.org/?p=alsa.git;a=commitdiff;h=5bcf62d6947fe348a2b055bce633df1d12ff4370
> 

Awesome, thanks.

Anisse


More information about the Alsa-devel mailing list