Michael said:
I think the host would need to know, and the plugins would like to know, the sample frame counting from 0 as start of performance to the first sample frame of the current buffer. Then it would make sense for events to be timestamped as an offset from that value. Adding the two would give the exact time in sample frames of the event counting from start of performance.
Note that you won't be able to count on 0 meaning anything more than "the start of something". Hosts that keep audio running at all time will simply start counting when you first start the host, and won't stop or reset until you restart the host, reinit the audio subsystem or something.
i don't think this is general enough. if you are using GMPI in a "live mixing" situation, there really is no "song beginning". yet you may still have events being delivered to plugins, and they need timestamps.
---------------------------------------------------------------------- Generalized Music Plugin Interface (GMPI) public discussion list Participation in this list is contingent upon your abiding by the following rules: Please stay on topic. You are responsible for your own words. Please respect your fellow subscribers. Please do not redistribute anyone else's words without their permission.
Archive: //www.freelists.org/archives/gmpi Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe