You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a device is disconnected and reconnected, currently, the API requires creating a new connection, or at least re-opening the existing connection. But in cases where this happens due to something transient like putting the PC into suspend mode, the device cannot be reconnected without creating a new connection instance through the MidiSession.
Consider providing a way to easily reconnect automatically when a device reappears (API would control) as long as the MidiEndpointConnection instance exists.
The text was updated successfully, but these errors were encountered:
Psychlist1972
changed the title
[Feature] Consider making it possible for a MidiEndpointConnection to be reconnected after a device has disconnected
[Feature] Consider making it possible for a MidiEndpointConnection to be automatically reconnected after a device has disconnected/reconnected
Apr 19, 2024
Should this callback be added using the watcher ? Currently DP6 code for the watcher does not have a property for this. Something alike
auto revokeOnWatcherDeviceReconnected = watcher.Reconnected(OnWatcherDeviceReconnected);
If a device is disconnected and reconnected, currently, the API requires creating a new connection, or at least re-opening the existing connection. But in cases where this happens due to something transient like putting the PC into suspend mode, the device cannot be reconnected without creating a new connection instance through the
MidiSession
.Consider providing a way to easily reconnect automatically when a device reappears (API would control) as long as the
MidiEndpointConnection
instance exists.The text was updated successfully, but these errors were encountered: