RPR Audio IsRunning

From CockosWiki

(Difference between revisions)
Jump to: navigation, search
(Examples)
m (Python)
 
(6 intermediate revisions not shown)
Line 13: Line 13:
==Examples==
==Examples==
===C++===
===C++===
-
<pre>
+
<source lang=cpp>
-
</pre>
+
</source>
===Perl===
===Perl===
-
<pre>
+
<source lang=perl>
-
</pre>
+
# ----------------------
 +
# Audio_IsRunning.pl
 +
# ----------------------
 +
use strict;
 +
use warnings;
 +
 
 +
my $result = RPR_Audio_IsRunning();
 +
RPR_ShowConsoleMsg('$result\n');
 +
</source>
 +
 
===Python===
===Python===
-
<pre>
+
<source lang=python>
-
</pre>
+
# ----------------------
 +
# Audio_IsRunning.py
 +
# ----------------------
 +
result = RPR_Audio_IsRunning()
 +
RPR_ShowConsoleMsg( str(result) )
 +
 
 +
</source>
==See Also==
==See Also==
 +
''(Section automatically generated, edits may be overwritten.)''
 +
==Stuff==
==Stuff==
{{API_Doc_Footer}}
{{API_Doc_Footer}}
Line 28: Line 45:
[[Category:ReaScript]]
[[Category:ReaScript]]
[[Category:Perl]]
[[Category:Perl]]
 +
[[Category:ReaPerl]]
 +
[[Category:ReaPython]]
[[Category:Python]]
[[Category:Python]]

Latest revision as of 20:35, 9 December 2011

Main Page > REAPER Documentation > ReaScript > ReaScript API, Functions > RPR Audio IsRunning
Main Page > REAPER Documentation > REAPER API > REAPER API Functions > RPR Audio IsRunning

Contents

Audio_IsRunning()

int Audio_IsRunning()

is audio running at all? threadsafe

Returns nonzero if the audio device is open and running.

Parameters

Returns

int 

Examples

C++

 

Perl

# ----------------------
# Audio_IsRunning.pl
# ----------------------
use strict;
use warnings;
 
my $result = RPR_Audio_IsRunning();
RPR_ShowConsoleMsg('$result\n');

Python

# ----------------------
# Audio_IsRunning.py
# ----------------------
result = RPR_Audio_IsRunning()
RPR_ShowConsoleMsg( str(result) )

See Also

(Section automatically generated, edits may be overwritten.)

Stuff

Main Page > REAPER Documentation > ReaScript > ReaScript API, Functions > RPR Audio IsRunning
Main Page > REAPER Documentation > REAPER API > REAPER API Functions > RPR Audio IsRunning

Personal tools