|
13-09-08 / 14:49 : Audio engine : realtime, latency, best practices (cjed) | 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. | | Comments | Write a comment | |
|