Skip to content

Need a way to pass in full alsa device name in the configuration #12

@sberl

Description

@sberl

I various experiments to get my SYBA SD-AUD20101 USB sound card to sample input at 96kHz, I determined that the alsaaudio library is very sensitive to the card name passed in.

Using pyalsaaudio 0.9.0 I could not come up with a value of the "Card" parameter that would work properly at 96kHz.

But if I changed the code to use the "device" parameter instead, it worked with the name "plughw:..." as returned by alsaaudio.pcms(alsaaudio.PCM_CAPTURE).
None of the other names returned by that call would correctly sample at 96kHz.

I've hacked the code a bit to allow the DEVICE parameter instead of the CARD parameter in the .cfg file. The value of this parameter is the full alsa device name as returned by alsaaudio.pcms(alsaaudio.PCM_CAPTURE), and it seems to work correctly now

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions