Skip to content

Enumerating ALSA devices by hints does not guarantee getting physical devices #1079

@calwe

Description

@calwe

#992 introduced using ALSA hints to get the list of ALSA devices, but on some systems ALSA does not create hints for any/all hardware devices. For example, running aplay -L on my system returns all the virtual devices created by ALSA, but no hw: devices for exclusive output. This was not an issue for me in CPAL 0.16, as the only devices enumerated were the physical cards.

Ideally the devices found by using ALSA hints should be supplemented with the physical cards found using the method in 0.16, or there should be a way to enumerate the physical cards.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions