Skip to content

query_devices() doesn't update with changes in hardware #47

@jacobanana

Description

@jacobanana

Hi,

I am writing an application that requires plugging and unplugging audio devices multiple times. Unfortunately, the query_devices() only displays the devices available at when the import sounddevice is performed.

Is there a way of updating the list without having to reload the module? I am using python 2.7 and I can see the behaviour is the same on OSX, Windows and Raspbian.

Thanks for your help
Adrien

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions