aconstlink / natus

[Discontinued] Software Framework for Audio/Visual/Interactive Real-Time Applications
https://aconstlink.de
MIT License
0 stars 0 forks source link

audio update requires cycle constraint #268

Open aconstlink opened 3 years ago

aconstlink commented 3 years ago

The audio engine is running unbound. It requires to be constraint to a specific number of cycles per second. Performing the users' audio code in unbound cycles speed, there is a lot of waste of computation.

aconstlink commented 2 years ago

Reviewed this issue and would like to add some notes. The apps' on_audio function is coupled to the async audio engines present in the application. The audio threads are not constrained right now.

So this issue really depends on what are the minimum cycles required for the audio threads to run?