Skip to content

Crash in AudioDevice.devices() #2

@andykent

Description

@andykent

First off, This is a truly amazing project and Herculean effort, so thanks, it's been a great resource and I hope it can continue to grow.

In my experiments I have noticed a fair number of crashes when calling AudioDevice.devices() as it seems an object in the list can't be cast correctly.

This seems to trigger when listing devices on or around the time that there is change to the default route, e.g. when connecting headphones. I am calling AudioDevice.devices() on the main thread in response to a change in the default output device.

Screenshot 2023-11-22 at 10 51 00

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