RPR Audio RegHardwareHook

From CockosWiki

Revision as of 22:15, 28 October 2009 by MikeLacey (Talk | contribs)
Jump to: navigation, search

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

Personal tools