>> The host should be able to provide UST/MSC pairs to the plugin; the >> plugin could ask for a new UST/MSC pair at some constant rate. This >> allows the plugin to estimate the sample rate relative to the UST clock >> and estimate the performance time for a future sample (MSC). >> > >My recollection is a bit foggy, but is it even possible for the host to know >the UST with, for example, ASIO? ASIO doesn't provide it, but the host can easily get it. On an x86 platform, the cycle counter provides the easiest and cheapest source of UST. On OS X, with Apple's stupid prohibition on user-space access to the cycle counter, its a bit more complex, but there are quick system calls that can provide it to the host. As long as this is done more or less immediately that the host (is notified|wakes up) because of an audio interface interrupt, its more or less as good as having the device driver provide it. BTW, we know all this from JACK :) --p ---------------------------------------------------------------------- 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