-
Notifications
You must be signed in to change notification settings - Fork 447
Open
Description
Currently TODOs in code:
cpal/asio-sys/src/bindings/mod.rs
Lines 934 to 941 in 85fd82f
| 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.