[...] > 1) The host or audio driver snapshots the UST when the buffer becomes available > for a process() run. An UST/MSC need not necessarily be for the MSC of the first sample in the process() callback. It would be a reasonable requirement for MSC/UST pairs obtained in different process() callbacks to have differing MSCs. > 2) Plugins are notified of this UST time along with the sample counter when > they are called for process(). This might be an argument to process() or an > event, or a host callback - it doesn't matter for now. One would also need the MSC for (the first sample of) every buffer in a callback. > 3) There must be some way to calculate the UST for any sample. Either the > host exposes a UST_per_sample scalar or there is a host callback or > something. The host is responsible for recalibrating any scalar > sufficiently often as to avoid drift. Two UST/MSC pairs allow inter- or extrapolation. --ms ---------------------------------------------------------------------- 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