Comment 52 for bug 1875199

Revision history for this message
Hui Wang (hui.wang) wrote :

Pulseaudio introduced this commit, this commit introduce your issue.

0d50e787f86b385bf33aeb53b16ca40543f1db63

    alsa-card: improve the profile availability logic

    When a new card shows up (during pulseaudio startup or hotplugged),
    pulseaudio needs to pick the initial profile for the card. Unavailable
    profiles shouldn't be picked, but module-alsa-card sometimes marked
    unavailable profiles as available, causing bad initial profile choices.

    This patch changes module-alsa-card so that it marks all profiles
    unavailable whose all output ports or all input ports are unavailable.
    Previously only those profiles were marked as unavailable whose all
    ports were unavailable. For example, if a profile contains one sink and
    one source, and the sink is unavailable and the source is available,
    previously such profile was marked as available, but now it's marked as
    unavailable.

    BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=102902