> > [...] > > > 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. > > not necessary, but sufficient, right? Yes, but if the hardware/driver supports timestamping and does this at some other MSC then it would make sense to use that. > This is actually superceded by #3 > below. A plugin must be able to find the UST for any sample frame. It should do that itself though. > > > 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. > > MSC is just the sample frame counter, right? Yes. --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