Change DeviceId in controls without closing & loosing data ?
Brought to you by:
jtbalogh
RE: Change DeviceId in controls without closing &
loosing data ?
Goal: Change DeviceId in controls in order to,
- avoid closing and opening object
- preserve data that was already prepared
- preserve most data at least, if not all
Right now I am working on the ReOpen() method to
accomplish this while maintaining backward compatibility.
Sorry I did not get to solve this obvious feature earlier.
Sure was a lame idea to close and open object just to
change a device Id. Thanks microsoft !
Joseph
Logged In: YES
user_id=1077586
Sorry. Forgot about this problem after I ran into a snag. I will
see if I could get some time to finish this.
My main concern was that midi API reset the start time when
switching ports. So switching a port and resuming playback
of a queue or stream is tricky. Synchronizing with the
application start time, if any, is also needed.