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

Jaroslav Kysela perex at perex.cz
Thu May 30 14:27:19 CEST 2013


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

Thank you for this report.

					Jaroslav

-- 
Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project; Red Hat, Inc.


More information about the Alsa-devel mailing list