RPR IsInRealTimeAudio
From CockosWiki
Main Page > REAPER Documentation > ReaScript > ReaScript API, Functions > RPR IsInRealTimeAudio
Main Page > REAPER Documentation > REAPER API > REAPER API Functions > RPR IsInRealTimeAudio
Contents |
IsInRealTimeAudio()
int IsInRealTimeAudio()
This function returns TRUE (1) if it is called in a realtime audio thread (that is between calls to OnAudioBuffer) and not in a worker/anticipative FX thread
This function is threadsafe.
Returns nonzero if in the main audio thread, or in a thread doing synchronous multiprocessing. In these instances low latency is key. If this is 0, and you are in processReplacing, then you are being called in an anticipative processing thread.
Parameters
Returns
int 1 = true, 0=false
Examples
C++
Perl
Python
See Also
Stuff
Main Page > REAPER Documentation > ReaScript > ReaScript API, Functions > RPR IsInRealTimeAudio
Main Page > REAPER Documentation > REAPER API > REAPER API Functions > RPR IsInRealTimeAudio