[gmpi] Re: Topic 6: Time representation

  • From: Marc Poirier <marc@xxxxxxxxxxxxxxxxxxx>
  • To: gmpi@xxxxxxxxxxxxx
  • Date: Tue, 29 Apr 2003 20:06:37 +0200 (CEST)

> > Agreed. So we have an absolute linear stream clock in samples (we'll need
> > a 64-bit integer word for that) and an optional periodic sync pulse in the
> 
> 32 bits is sufficient: it doesn't matter if we wrap, so long as the wrap
> window is not too small (i.e. larger than one processing block).  Comparisons 
> of unsigned numbers will always yield a valid difference in time.  And
> processing 32 bits is MUCH faster on current processors than 64 bits.


That doesn't matter.  Processing musical time info is a completely trivial 
task (compared to processing audio data).  It's not going to make any 
significant performance difference whether the time info uses 32-bit or 
64-bit ints, unless a plugin is very poorly written...

Marc


----------------------------------------------------------------------
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

Other related posts: