Audio engine : realtime, latency, best practices

Posted: September 17, 2008 in Audio, IT/Dev

This thread at OSdir gives very useful advices on programming a realtime audio engine, in order to avoid contention/lock from calls to low priority threads (GUI funcitons, etc.), that can lead to latency problems :
Most developers seems to do so, they are just too lazy to think about the constraints that real time programming imposes. They believe they can make full use of the operating system, call any system calls they like, C++ constructors, malloc()s etc, accesss to mutexes locked by low priority GUI threads and then after wonder why their application does not work with low latencies or why there are sporadic dropouts they cannot get rid of.

These advices are probably to compare with the statements about the reliability of the Logic audio engine.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s