My current event struct is 32 bytes on 32 bit CPUs, and 36 bytes for
64 bit. (That is, hosts on 64 bit archs should make it 64.)
That means 12 bytes for arguments. 8 bytes on 64 bit platforms, if we
stick with 32 bytes/event.
What I'm thinking is just that we won't need 4 billion different
actions, and we won't need 4 billion VVIDs.
How about using 24 bits for 'id' and 8 bits for 'action'? 16 Mvoices
and 256 actions? I think we should stay away from dynamically
assigned user actions anyway, so that should be enough. (We have only
some 20 events or so, timeline events included.)
//David Olofson - Programmer, Composer, Open Source Advocate
.- The Return of Audiality! --------------------------------.
| Free/Open Source Audio Engine for use in Games or Studio. |
| RT and off-line synth. Scripting. Sample accurate timing. |
`--------------------------->
http://olofson.net/audiality -'
---
http://olofson.net ---
http://www.reologica.se ---