olofson / audiality2

A realtime scripted modular audio engine for video games and musical applications.
http://audiality.org/
zlib License
79 stars 5 forks source link

A2S dynamic arrays #319

Open olofson opened 7 years ago

olofson commented 7 years ago

Add dynamic arrays to A2S, with constructs to create, modify, and destroy them.

They should (obviously) be realtime safe, which means either using the A2_block pool, with fragmented arrays for larger sizes, or relying on an A2_SYSDRIVER with a proper realtime memory manager.

For performance and simplicity, these arrays should be local to the states they're created in, and possibly even local to the programs that create them.

See also #311.