Skip to content

asio-sys: handle asio messages #1007

@JerwuQu

Description

@JerwuQu

Currently TODOs in code:

Some(AsioMessageSelectors::kAsioResetRequest) => {
// Defer the task and perform the reset of the driver during the next "safe" situation
// You cannot reset the driver right now, as this code is called from the driver. Reset
// the driver is done by completely destruct it. I.e. ASIOStop(), ASIODisposeBuffers(),
// Destruction. Afterwards you initialize the driver again.
// TODO: Handle this.
1
}

I'm not sure if the plan was to handle everything internally in cpal or to let the user listen for the messages for manual handling, but currently neither is supported.
The result is being unable to detect when a user changes audio settings in e.g. the ASIO4ALL GUI.

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