RPR GetSetRepeatEx

From CockosWiki

(Redirected from RPR GetSetRepeat)
Jump to: navigation, search

Main Page > REAPER Documentation > ReaScript > ReaScript API, Functions > RPR GetSetRepeatEx
Main Page > REAPER Documentation > REAPER API > REAPER API Functions > RPR GetSetRepeatEx

Contents

GetSetRepeat()

int GetSetRepeat(int val)
int GetSetRepeatEx(void* proj, int val)

1 == query,0=clear,1=set,>1=toggle . returns new value

GetSetRepeat() is used to change or query the transport "loop/repeat" state. Pass a parameter of -1 to query the repeat state, 0 to clear, 1 to set, and >1 to toggle. The return value is the new value of the repeat state.

ONLY use this function to change the repeat state from the UI thread (however you can query safely at any time). This advice may be more appropriate to the big-boys, C++ users. At the moment no ReaScripters are in danger of working outside of the UI thread.

Parameters

int val

Returns

int

Examples

C++

 


Perl

 


Python

 

See Also

repeat: GetSetRepeat, GetSetRepeatEx, CSurf_SetRepeatState,

(Section automatically generated, edits may be overwritten.)

Stuff

Main Page > REAPER Documentation > ReaScript > ReaScript API, Functions > RPR GetSetRepeatEx
Main Page > REAPER Documentation > REAPER API > REAPER API Functions > RPR GetSetRepeatEx

Personal tools