Quote:
Originally Posted by fundorin
Is there a way to run some code on midi port reopen?
|
In v0.6, just released:
Code:
(tmp = get_device_open_time(dev)) > dev_last_time ? (
dev_last_time = tmp;
printf("reinitializing dev\n"); // executes on initial open and any subsequent re-opens
// ... midisend(dev);
);