[PATCH 2/2] staging: bcm2835-audio: Disable extra virtual cards by default

Stefan Wahren stefan.wahren at i2se.com
Tue Mar 14 08:17:26 UTC 2017


Am 14.03.2017 um 07:45 schrieb Michael Zoran:
> The extra virtual cards created for HDMI and Headphone output
> may not be compatible with operating systems that expose
> very simple audio controls.
>
> By default only enable the traditional mode that exposes a single
> card for maximum compatibility.
>
> Add options to the build configuration for enabling the extra
> virtual cards.

This looks like a workaround for broken applications. Could please you
name them?

Btw avoid those many #if defined(). They are bad for readibility and
compile test. Sometimes a single IS_ENABLED() at the right place is better.


More information about the devel mailing list