RPR Audio IsPreBuffer
From CockosWiki
(Difference between revisions)
(→Stuff) |
Klankschap (Talk | contribs) m (→Python) |
||
(3 intermediate revisions not shown) | |||
Line 11: | Line 11: | ||
==Examples== | ==Examples== | ||
===C++=== | ===C++=== | ||
- | < | + | <source lang=cpp> |
- | </ | + | </source> |
===Perl=== | ===Perl=== | ||
- | < | + | <source lang=perl> |
- | + | ||
# ---------------------- | # ---------------------- | ||
# CheckPreBuffer.pl | # CheckPreBuffer.pl | ||
Line 24: | Line 23: | ||
my $result = RPR_Audio_IsPreBuffer(); | my $result = RPR_Audio_IsPreBuffer(); | ||
RPR_ShowConsoleMsg('$result\n'); | RPR_ShowConsoleMsg('$result\n'); | ||
- | </ | + | </source> |
===Python=== | ===Python=== | ||
- | < | + | <source lang=python> |
# ---------------------- | # ---------------------- | ||
# CheckPreBuffer.py | # CheckPreBuffer.py | ||
# ---------------------- | # ---------------------- | ||
- | result = RPR_Audio_IsPreBuffer() | + | result = RPR_Audio_IsPreBuffer() |
- | RPR_ShowConsoleMsg(str(result)) | + | RPR_ShowConsoleMsg(str(result)) |
- | </ | + | </source> |
==See Also== | ==See Also== | ||
Line 45: | Line 44: | ||
[[Category:Perl]] | [[Category:Perl]] | ||
[[Category:ReaPerl]] | [[Category:ReaPerl]] | ||
+ | [[Category:ReaPython]] | ||
[[Category:Python]] | [[Category:Python]] |
Latest revision as of 20:34, 9 December 2011
Main Page > REAPER Documentation > ReaScript > ReaScript API, Functions > RPR Audio IsPreBuffer
Main Page > REAPER Documentation > REAPER API > REAPER API Functions > RPR Audio IsPreBuffer
Contents |
Audio_IsPreBuffer()
int Audio_IsPreBuffer()
is in pre-buffer? threadsafe
Parameters
None
Returns
int, 0==no, !=0 ==yes?
Examples
C++
Perl
# ---------------------- # CheckPreBuffer.pl # ---------------------- use strict; use warnings; my $result = RPR_Audio_IsPreBuffer(); RPR_ShowConsoleMsg('$result\n');
Python
# ---------------------- # CheckPreBuffer.py # ---------------------- result = RPR_Audio_IsPreBuffer() RPR_ShowConsoleMsg(str(result))
See Also
(Section automatically generated, edits may be overwritten.)
Stuff
Main Page > REAPER Documentation > ReaScript > ReaScript API, Functions > RPR Audio IsPreBuffer
Main Page > REAPER Documentation > REAPER API > REAPER API Functions > RPR Audio IsPreBuffer