RPR Audio RegHardwareHook
From CockosWiki
Main Page > REAPER Documentation > ReaScript > ReaScript API, Functions > RPR Audio RegHardwareHook
Main Page > REAPER Documentation > REAPER API > REAPER API Functions > RPR Audio RegHardwareHook
Contents |
int Audio_RegHardwareHook(bool isAdd, audio_hook_register_t* reg)
Can be used to get Reaper to call back before and/or after it outputs audio to the audio hardware. Useful for doing stuff synched to the audio engine at the ASIO/etc block size granularity.
Probably not usable from ReaScript, very likely unsafe and/or too slow - in that interpreted languages are generally (always?) an order of magnitude slower than compiled languages.
From C++ extensions code the function works more or less as expected, but you do need to avoid calling anything too time consuming there.
Parameters
Returns
integer, >0 on success
Examples
Perl
Python
See Also
Stuff
Main Page > REAPER Documentation > ReaScript > ReaScript API, Functions > RPR Audio RegHardwareHook
Main Page > REAPER Documentation > REAPER API > REAPER API Functions > RPR Audio RegHardwareHook