[linux-audio-dev] XAP: a polemic

Tim Hockin thockin at hockin.org
Wed Dec 18 04:35:01 UTC 2002


> > METER: uint32_t
> >
> > meter & 0xffc00000 = beats-per-measure whole (0-1024)
> > meter & 0x003ff000 = beats-per-measure decimal (1/1000 increments)
> > meter & 0x00000fff = beat-note denominator  (0-4096)

> Yeah, but that's not much point in itself. We have at least 12 bytes 
> if we use a non-standard event, so this isn't a major problem.

why use a non-standard event?

> Using a special format inside an integer would be a non-standard 
> control type anyway, since you cannot assume that the value is a 
> valid float. Unless it's explicitly encoded that way... Don't want to 
> go there! :-)

Use an int type.  who said to transform it to a float?

> > Now is someone going to tell me they have PI beats per measure?
> 
> Probably! ;-)

and I'm going to ask to hear it before I agree to support it in the code. :)



More information about the Linux-audio-dev mailing list