3 <TITLE>The RtAudio Tutorial</TITLE>
\r
4 <LINK HREF="doxygen.css" REL="stylesheet" TYPE="text/css">
\r
6 <BODY BGCOLOR="#FFFFFF">
\r
8 <a class="qindex" href="index.html">Tutorial</a> <a class="qindex" href="annotated.html">Class/Enum List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> </CENTER>
\r
10 <!-- Generated by Doxygen 1.2.8.1 -->
11 <h1>RtAudio Class Reference</h1><code>#include <<a class="el" href="RtAudio_8h-source.html">RtAudio.h</a>></code>
13 <a href="classRtAudio-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
14 <tr><td colspan=2><br><h2>Public Types</h2></td></tr>
15 <tr><td nowrap align=right valign=top>typedef unsigned long </td><td valign=bottom><a class="el" href="classRtAudio.html#s0">RTAUDIO_FORMAT</a></td></tr>
16 <tr><td nowrap align=right valign=top>typedef int (* </td><td valign=bottom><a class="el" href="classRtAudio.html#s1">RTAUDIO_CALLBACK</a> )(char *buffer, int bufferSize, void *userData)</td></tr>
17 <tr><td nowrap align=right valign=top>enum </td><td valign=bottom>{ <a class="el" href="classRtAudio.html#s3s2">MAX_SAMPLE_RATES</a> = 14
19 <tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
20 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classRtAudio.html#a0">RtAudio</a> ()</td></tr>
21 <tr><td> </td><td><font size=-1><em>The default constructor.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
22 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classRtAudio.html#a1">RtAudio</a> (int *streamID, int outputDevice, int outputChannels, int inputDevice, int inputChannels, <a class="el" href="classRtAudio.html#s0">RTAUDIO_FORMAT</a> format, int sampleRate, int *bufferSize, int numberOfBuffers)</td></tr>
23 <tr><td> </td><td><font size=-1><em>A constructor which can be used to open a stream during instantiation.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>
24 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classRtAudio.html#a2">~RtAudio</a> ()</td></tr>
25 <tr><td> </td><td><font size=-1><em>The destructor.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
26 <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classRtAudio.html#a3">openStream</a> (int outputDevice, int outputChannels, int inputDevice, int inputChannels, <a class="el" href="classRtAudio.html#s0">RTAUDIO_FORMAT</a> format, int sampleRate, int *bufferSize, int numberOfBuffers)</td></tr>
27 <tr><td> </td><td><font size=-1><em>A public method for opening a stream with the specified parameters.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
28 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classRtAudio.html#a4">setStreamCallback</a> (int streamID, <a class="el" href="classRtAudio.html#s1">RTAUDIO_CALLBACK</a> callback, void *userData)</td></tr>
29 <tr><td> </td><td><font size=-1><em>A public method which sets a user-defined callback function for a given stream.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
30 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classRtAudio.html#a5">cancelStreamCallback</a> (int streamID)</td></tr>
31 <tr><td> </td><td><font size=-1><em>A public method which cancels a callback process and function for a given stream.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>
32 <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classRtAudio.html#a6">getDeviceCount</a> (void)</td></tr>
33 <tr><td> </td><td><font size=-1><em>A public method which returns the number of audio devices found.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr>
34 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classRtAudio.html#a7">getDeviceInfo</a> (int device, <a class="el" href="structRtAudio_1_1RTAUDIO__DEVICE.html">RTAUDIO_DEVICE</a> *info)</td></tr>
35 <tr><td> </td><td><font size=-1><em>Fill a user-supplied <a class="el" href="structRtAudio_1_1RTAUDIO__DEVICE.html">RTAUDIO_DEVICE</a> structure for a specified device.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr>
36 <tr><td nowrap align=right valign=top>char* const </td><td valign=bottom><a class="el" href="classRtAudio.html#a8">getStreamBuffer</a> (int streamID)</td></tr>
37 <tr><td> </td><td><font size=-1><em>A public method which returns a pointer to the buffer for an open stream.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr>
38 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classRtAudio.html#a9">tickStream</a> (int streamID)</td></tr>
39 <tr><td> </td><td><font size=-1><em>Public method used to trigger processing of input/output data for a stream.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr>
40 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classRtAudio.html#a10">closeStream</a> (int streamID)</td></tr>
41 <tr><td> </td><td><font size=-1><em>Public method which closes a stream and frees any associated buffers.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr>
42 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classRtAudio.html#a11">startStream</a> (int streamID)</td></tr>
43 <tr><td> </td><td><font size=-1><em>Public method which starts a stream.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr>
44 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classRtAudio.html#a12">stopStream</a> (int streamID)</td></tr>
45 <tr><td> </td><td><font size=-1><em>Stop a stream, allowing any samples remaining in the queue to be played out and/or read in.</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr>
46 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classRtAudio.html#a13">abortStream</a> (int streamID)</td></tr>
47 <tr><td> </td><td><font size=-1><em>Stop a stream, discarding any samples remaining in the input/output queue.</em> <a href="#a13">More...</a><em></em></font><br><br></td></tr>
48 <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classRtAudio.html#a14">streamWillBlock</a> (int streamID)</td></tr>
49 <tr><td> </td><td><font size=-1><em>Queries a stream to determine whether a call to the <a class="el" href="classRtAudio.html#a9">tickStream</a>() method will block.</em> <a href="#a14">More...</a><em></em></font><br><br></td></tr>
50 <tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
51 <tr><td nowrap align=right valign=top>const <a class="el" href="classRtAudio.html#s0">RTAUDIO_FORMAT</a> </td><td valign=bottom><a class="el" href="classRtAudio.html#p0">RTAUDIO_SINT8</a></td></tr>
52 <tr><td nowrap align=right valign=top>const <a class="el" href="classRtAudio.html#s0">RTAUDIO_FORMAT</a> </td><td valign=bottom><a class="el" href="classRtAudio.html#p1">RTAUDIO_SINT16</a></td></tr>
53 <tr><td nowrap align=right valign=top>const <a class="el" href="classRtAudio.html#s0">RTAUDIO_FORMAT</a> </td><td valign=bottom><a class="el" href="classRtAudio.html#p2">RTAUDIO_SINT24</a></td></tr>
54 <tr><td nowrap align=right valign=top>const <a class="el" href="classRtAudio.html#s0">RTAUDIO_FORMAT</a> </td><td valign=bottom><a class="el" href="classRtAudio.html#p3">RTAUDIO_SINT32</a></td></tr>
55 <tr><td nowrap align=right valign=top>const <a class="el" href="classRtAudio.html#s0">RTAUDIO_FORMAT</a> </td><td valign=bottom><a class="el" href="classRtAudio.html#p4">RTAUDIO_FLOAT32</a></td></tr>
56 <tr><td nowrap align=right valign=top>const <a class="el" href="classRtAudio.html#s0">RTAUDIO_FORMAT</a> </td><td valign=bottom><a class="el" href="classRtAudio.html#p5">RTAUDIO_FLOAT64</a></td></tr>
58 <hr><h2>Member Typedef Documentation</h2>
59 <a name="s0" doxytag="RtAudio::RTAUDIO_FORMAT"></a><p>
60 <table width="100%" cellpadding="2" cellspacing="0" border="0">
63 <table cellpadding="0" cellspacing="0" border="0">
65 <td nowrap valign="top"><b>
66 typedef unsigned long RtAudio::RTAUDIO_FORMAT
74 <table cellspacing=5 cellpadding=0 border=0>
85 <a name="s1" doxytag="RtAudio::RTAUDIO_CALLBACK"></a><p>
86 <table width="100%" cellpadding="2" cellspacing="0" border="0">
89 <table cellpadding="0" cellspacing="0" border="0">
91 <td nowrap valign="top"><b>
92 typedef int(* RtAudio::RTAUDIO_CALLBACK)(char *buffer, int bufferSize, void *userData)
100 <table cellspacing=5 cellpadding=0 border=0>
111 <hr><h2>Member Enumeration Documentation</h2>
112 <a name="s3" doxytag="RtAudio::@0"></a><p>
113 <table width="100%" cellpadding="2" cellspacing="0" border="0">
116 <table cellpadding="0" cellspacing="0" border="0">
118 <td nowrap valign="top"><b>
127 <table cellspacing=5 cellpadding=0 border=0>
136 <b>Enumeration values:</b><dd>
137 <table border=0 cellspacing=2 cellpadding=0>
138 <tr><td valign=top><a name="s3s2" doxytag="MAX_SAMPLE_RATES"></a><em>MAX_SAMPLE_RATES</em>
146 <hr><h2>Constructor & Destructor Documentation</h2>
147 <a name="a0" doxytag="RtAudio::RtAudio"></a><p>
148 <table width="100%" cellpadding="2" cellspacing="0" border="0">
151 <table cellpadding="0" cellspacing="0" border="0">
153 <td nowrap valign="top"><b>
156 <td valign="bottom"><b>
165 <table cellspacing=5 cellpadding=0 border=0>
173 The default constructor.
175 Probes the system to make sure at least one audio input/output device is available and determines the api-specific identifier for each device found. An <a class="el" href="classRtAudioError.html">RtAudioError</a> error can be thrown if no devices are found or if a memory allocation error occurs. </td>
178 <a name="a1" doxytag="RtAudio::RtAudio"></a><p>
179 <table width="100%" cellpadding="2" cellspacing="0" border="0">
182 <table cellpadding="0" cellspacing="0" border="0">
184 <td nowrap valign="top"><b>
187 <td valign="bottom"><b>
188 int * <em>streamID</em>,
194 int <em>outputDevice</em>,
200 int <em>outputChannels</em>,
206 int <em>inputDevice</em>,
212 int <em>inputChannels</em>,
218 <a class="el" href="classRtAudio.html#s0">RTAUDIO_FORMAT</a> <em>format</em>,
224 int <em>sampleRate</em>,
230 int * <em>bufferSize</em>,
236 int <em>numberOfBuffers</em> )
244 <table cellspacing=5 cellpadding=0 border=0>
252 A constructor which can be used to open a stream during instantiation.
254 The specified output and/or input device identifiers correspond to those enumerated via the <a class="el" href="classRtAudio.html#a7">getDeviceInfo</a>() method. If device = 0, the default or first available devices meeting the given parameters is selected. If an output or input channel value is zero, the corresponding device value is ignored. When a stream is successfully opened, its identifier is returned via the "streamID" pointer. An <a class="el" href="classRtAudioError.html">RtAudioError</a> can be thrown if no devices are found for the given parameters, if a memory allocation error occurs, or if a driver error occurs. <dl compact><dt>
255 <b>See also: </b><dd>
256 <a class="el" href="classRtAudio.html#a3">openStream</a>() </dl> </td>
259 <a name="a2" doxytag="RtAudio::~RtAudio"></a><p>
260 <table width="100%" cellpadding="2" cellspacing="0" border="0">
263 <table cellpadding="0" cellspacing="0" border="0">
265 <td nowrap valign="top"><b>
268 <td valign="bottom"><b>
277 <table cellspacing=5 cellpadding=0 border=0>
287 Stops and closes any open streams and devices and deallocates buffer and structure memory. </td>
290 <hr><h2>Member Function Documentation</h2>
291 <a name="a3" doxytag="RtAudio::openStream"></a><p>
292 <table width="100%" cellpadding="2" cellspacing="0" border="0">
295 <table cellpadding="0" cellspacing="0" border="0">
297 <td nowrap valign="top"><b>
298 int RtAudio::openStream (
300 <td valign="bottom"><b>
301 int <em>outputDevice</em>,
307 int <em>outputChannels</em>,
313 int <em>inputDevice</em>,
319 int <em>inputChannels</em>,
325 <a class="el" href="classRtAudio.html#s0">RTAUDIO_FORMAT</a> <em>format</em>,
331 int <em>sampleRate</em>,
337 int * <em>bufferSize</em>,
343 int <em>numberOfBuffers</em> )
351 <table cellspacing=5 cellpadding=0 border=0>
359 A public method for opening a stream with the specified parameters.
361 If successful, the opened stream ID is returned. Otherwise, an <a class="el" href="classRtAudioError.html">RtAudioError</a> is thrown.<dl compact><dt>
362 <b>Parameters: </b><dd>
363 <table border=0 cellspacing=2 cellpadding=0>
364 <tr><td valign=top><em>outputDevice:</em>
366 If equal to 0, the default or first device found meeting the given parameters is opened. Otherwise, the device number should correspond to one of those enumerated via the <a class="el" href="classRtAudio.html#a7">getDeviceInfo</a>() method. </td></tr>
367 <tr><td valign=top><em>outputChannels:</em>
369 The desired number of output channels. If equal to zero, the outputDevice identifier is ignored. </td></tr>
370 <tr><td valign=top><em>inputDevice:</em>
372 If equal to 0, the default or first device found meeting the given parameters is opened. Otherwise, the device number should correspond to one of those enumerated via the <a class="el" href="classRtAudio.html#a7">getDeviceInfo</a>() method. </td></tr>
373 <tr><td valign=top><em>inputChannels:</em>
375 The desired number of input channels. If equal to zero, the inputDevice identifier is ignored. </td></tr>
376 <tr><td valign=top><em>format:</em>
378 An RTAUDIO_FORMAT specifying the desired sample data format. </td></tr>
379 <tr><td valign=top><em>sampleRate:</em>
381 The desired sample rate (sample frames per second). </td></tr>
382 <tr><td valign=top><em>bufferSize:</em>
384 A pointer value indicating the desired internal buffer size in sample frames. The actual value used by the device is returned via the same pointer. A value of zero can be specified, in which case the lowest allowable value is determined. </td></tr>
385 <tr><td valign=top><em>numberOfBuffers:</em>
387 A value which can be used to help control device latency. More buffers typically result in more robust performance, though at a cost of greater latency. A value of zero can be specified, in which case the lowest allowable value is used. </td></tr>
392 <a name="a4" doxytag="RtAudio::setStreamCallback"></a><p>
393 <table width="100%" cellpadding="2" cellspacing="0" border="0">
396 <table cellpadding="0" cellspacing="0" border="0">
398 <td nowrap valign="top"><b>
399 void RtAudio::setStreamCallback (
401 <td valign="bottom"><b>
402 int <em>streamID</em>,
408 <a class="el" href="classRtAudio.html#s1">RTAUDIO_CALLBACK</a> <em>callback</em>,
414 void * <em>userData</em> )
422 <table cellspacing=5 cellpadding=0 border=0>
430 A public method which sets a user-defined callback function for a given stream.
432 This method assigns a callback function to a specific, previously opened stream for non-blocking stream functionality. A separate process is initiated, though the user function is called only when the stream is "running" (between calls to the <a class="el" href="classRtAudio.html#a11">startStream</a>() and <a class="el" href="classRtAudio.html#a12">stopStream</a>() methods, respectively). The callback process remains active for the duration of the stream and is automatically shutdown when the stream is closed (via the <a class="el" href="classRtAudio.html#a10">closeStream</a>() method or by object destruction). The callback process can also be shutdown and the user function de-referenced through an explicit call to the <a class="el" href="classRtAudio.html#a5">cancelStreamCallback</a>() method. Note that a single stream can use only blocking or callback functionality at the same time, though it is possible to alternate modes on the same stream through the use of the <a class="el" href="classRtAudio.html#a4">setStreamCallback</a>() and <a class="el" href="classRtAudio.html#a5">cancelStreamCallback</a>() methods (the blocking <a class="el" href="classRtAudio.html#a9">tickStream</a>() method can be used before a callback is set and/or after a callback is cancelled). An <a class="el" href="classRtAudioError.html">RtAudioError</a> will be thrown for an invalid device argument. </td>
435 <a name="a5" doxytag="RtAudio::cancelStreamCallback"></a><p>
436 <table width="100%" cellpadding="2" cellspacing="0" border="0">
439 <table cellpadding="0" cellspacing="0" border="0">
441 <td nowrap valign="top"><b>
442 void RtAudio::cancelStreamCallback (
444 <td valign="bottom"><b>
445 int <em>streamID</em> )
453 <table cellspacing=5 cellpadding=0 border=0>
461 A public method which cancels a callback process and function for a given stream.
463 This method shuts down a callback process and de-references the user function for a specific stream. Callback functionality can subsequently be restarted on the stream via the <a class="el" href="classRtAudio.html#a4">setStreamCallback</a>() method. An <a class="el" href="classRtAudioError.html">RtAudioError</a> will be thrown for an invalid device argument. </td>
466 <a name="a6" doxytag="RtAudio::getDeviceCount"></a><p>
467 <table width="100%" cellpadding="2" cellspacing="0" border="0">
470 <table cellpadding="0" cellspacing="0" border="0">
472 <td nowrap valign="top"><b>
473 int RtAudio::getDeviceCount (
475 <td valign="bottom"><b>
484 <table cellspacing=5 cellpadding=0 border=0>
492 A public method which returns the number of audio devices found.
497 <a name="a7" doxytag="RtAudio::getDeviceInfo"></a><p>
498 <table width="100%" cellpadding="2" cellspacing="0" border="0">
501 <table cellpadding="0" cellspacing="0" border="0">
503 <td nowrap valign="top"><b>
504 void RtAudio::getDeviceInfo (
506 <td valign="bottom"><b>
513 <a class="el" href="structRtAudio_1_1RTAUDIO__DEVICE.html">RTAUDIO_DEVICE</a> * <em>info</em> )
521 <table cellspacing=5 cellpadding=0 border=0>
529 Fill a user-supplied <a class="el" href="structRtAudio_1_1RTAUDIO__DEVICE.html">RTAUDIO_DEVICE</a> structure for a specified device.
531 Any device between 0 and <a class="el" href="classRtAudio.html#a6">getDeviceCount</a>()-1 is valid. If a device is busy or otherwise unavailable, the structure member "probed" has a value of "false". The system default input and output devices are referenced by device identifier = 0. On systems which allow dynamic default device settings, the default devices are not identified by name (specific device enumerations are assigned device identifiers > 0). An <a class="el" href="classRtAudioError.html">RtAudioError</a> will be thrown for an invalid device argument. </td>
534 <a name="a8" doxytag="RtAudio::getStreamBuffer"></a><p>
535 <table width="100%" cellpadding="2" cellspacing="0" border="0">
538 <table cellpadding="0" cellspacing="0" border="0">
540 <td nowrap valign="top"><b>
541 char *const RtAudio::getStreamBuffer (
543 <td valign="bottom"><b>
544 int <em>streamID</em> )
552 <table cellspacing=5 cellpadding=0 border=0>
560 A public method which returns a pointer to the buffer for an open stream.
562 The user should fill and/or read the buffer data in interleaved format and then call the <a class="el" href="classRtAudio.html#a9">tickStream</a>() method. An <a class="el" href="classRtAudioError.html">RtAudioError</a> will be thrown for an invalid stream identifier. </td>
565 <a name="a9" doxytag="RtAudio::tickStream"></a><p>
566 <table width="100%" cellpadding="2" cellspacing="0" border="0">
569 <table cellpadding="0" cellspacing="0" border="0">
571 <td nowrap valign="top"><b>
572 void RtAudio::tickStream (
574 <td valign="bottom"><b>
575 int <em>streamID</em> )
583 <table cellspacing=5 cellpadding=0 border=0>
591 Public method used to trigger processing of input/output data for a stream.
593 This method blocks until all buffer data is read/written. An <a class="el" href="classRtAudioError.html">RtAudioError</a> will be thrown for an invalid stream identifier or if a driver error occurs. </td>
596 <a name="a10" doxytag="RtAudio::closeStream"></a><p>
597 <table width="100%" cellpadding="2" cellspacing="0" border="0">
600 <table cellpadding="0" cellspacing="0" border="0">
602 <td nowrap valign="top"><b>
603 void RtAudio::closeStream (
605 <td valign="bottom"><b>
606 int <em>streamID</em> )
614 <table cellspacing=5 cellpadding=0 border=0>
622 Public method which closes a stream and frees any associated buffers.
624 If an invalid stream identifier is specified, this method issues a warning and returns (an <a class="el" href="classRtAudioError.html">RtAudioError</a> is not thrown). </td>
627 <a name="a11" doxytag="RtAudio::startStream"></a><p>
628 <table width="100%" cellpadding="2" cellspacing="0" border="0">
631 <table cellpadding="0" cellspacing="0" border="0">
633 <td nowrap valign="top"><b>
634 void RtAudio::startStream (
636 <td valign="bottom"><b>
637 int <em>streamID</em> )
645 <table cellspacing=5 cellpadding=0 border=0>
653 Public method which starts a stream.
655 An <a class="el" href="classRtAudioError.html">RtAudioError</a> will be thrown for an invalid stream identifier or if a driver error occurs. </td>
658 <a name="a12" doxytag="RtAudio::stopStream"></a><p>
659 <table width="100%" cellpadding="2" cellspacing="0" border="0">
662 <table cellpadding="0" cellspacing="0" border="0">
664 <td nowrap valign="top"><b>
665 void RtAudio::stopStream (
667 <td valign="bottom"><b>
668 int <em>streamID</em> )
676 <table cellspacing=5 cellpadding=0 border=0>
684 Stop a stream, allowing any samples remaining in the queue to be played out and/or read in.
686 An <a class="el" href="classRtAudioError.html">RtAudioError</a> will be thrown for an invalid stream identifier or if a driver error occurs. </td>
689 <a name="a13" doxytag="RtAudio::abortStream"></a><p>
690 <table width="100%" cellpadding="2" cellspacing="0" border="0">
693 <table cellpadding="0" cellspacing="0" border="0">
695 <td nowrap valign="top"><b>
696 void RtAudio::abortStream (
698 <td valign="bottom"><b>
699 int <em>streamID</em> )
707 <table cellspacing=5 cellpadding=0 border=0>
715 Stop a stream, discarding any samples remaining in the input/output queue.
717 An <a class="el" href="classRtAudioError.html">RtAudioError</a> will be thrown for an invalid stream identifier or if a driver error occurs. </td>
720 <a name="a14" doxytag="RtAudio::streamWillBlock"></a><p>
721 <table width="100%" cellpadding="2" cellspacing="0" border="0">
724 <table cellpadding="0" cellspacing="0" border="0">
726 <td nowrap valign="top"><b>
727 int RtAudio::streamWillBlock (
729 <td valign="bottom"><b>
730 int <em>streamID</em> )
738 <table cellspacing=5 cellpadding=0 border=0>
746 Queries a stream to determine whether a call to the <a class="el" href="classRtAudio.html#a9">tickStream</a>() method will block.
748 A return value of 0 indicates that the stream will NOT block. A positive return value indicates the number of sample frames that cannot yet be processed without blocking. </td>
751 <hr><h2>Member Data Documentation</h2>
752 <a name="p0" doxytag="RtAudio::RTAUDIO_SINT8"></a><p>
753 <table width="100%" cellpadding="2" cellspacing="0" border="0">
756 <table cellpadding="0" cellspacing="0" border="0">
758 <td nowrap valign="top"><b>
759 const <a class="el" href="classRtAudio.html#s0">RTAUDIO_FORMAT</a> RtAudio::RTAUDIO_SINT8<code> [static]</code>
767 <table cellspacing=5 cellpadding=0 border=0>
778 <a name="p1" doxytag="RtAudio::RTAUDIO_SINT16"></a><p>
779 <table width="100%" cellpadding="2" cellspacing="0" border="0">
782 <table cellpadding="0" cellspacing="0" border="0">
784 <td nowrap valign="top"><b>
785 const <a class="el" href="classRtAudio.html#s0">RTAUDIO_FORMAT</a> RtAudio::RTAUDIO_SINT16<code> [static]</code>
793 <table cellspacing=5 cellpadding=0 border=0>
804 <a name="p2" doxytag="RtAudio::RTAUDIO_SINT24"></a><p>
805 <table width="100%" cellpadding="2" cellspacing="0" border="0">
808 <table cellpadding="0" cellspacing="0" border="0">
810 <td nowrap valign="top"><b>
811 const <a class="el" href="classRtAudio.html#s0">RTAUDIO_FORMAT</a> RtAudio::RTAUDIO_SINT24<code> [static]</code>
819 <table cellspacing=5 cellpadding=0 border=0>
827 Upper 3 bytes of 32-bit integer. </td>
830 <a name="p3" doxytag="RtAudio::RTAUDIO_SINT32"></a><p>
831 <table width="100%" cellpadding="2" cellspacing="0" border="0">
834 <table cellpadding="0" cellspacing="0" border="0">
836 <td nowrap valign="top"><b>
837 const <a class="el" href="classRtAudio.html#s0">RTAUDIO_FORMAT</a> RtAudio::RTAUDIO_SINT32<code> [static]</code>
845 <table cellspacing=5 cellpadding=0 border=0>
856 <a name="p4" doxytag="RtAudio::RTAUDIO_FLOAT32"></a><p>
857 <table width="100%" cellpadding="2" cellspacing="0" border="0">
860 <table cellpadding="0" cellspacing="0" border="0">
862 <td nowrap valign="top"><b>
863 const <a class="el" href="classRtAudio.html#s0">RTAUDIO_FORMAT</a> RtAudio::RTAUDIO_FLOAT32<code> [static]</code>
871 <table cellspacing=5 cellpadding=0 border=0>
879 Normalized between plus/minus 1.0. </td>
882 <a name="p5" doxytag="RtAudio::RTAUDIO_FLOAT64"></a><p>
883 <table width="100%" cellpadding="2" cellspacing="0" border="0">
886 <table cellpadding="0" cellspacing="0" border="0">
888 <td nowrap valign="top"><b>
889 const <a class="el" href="classRtAudio.html#s0">RTAUDIO_FORMAT</a> RtAudio::RTAUDIO_FLOAT64<code> [static]</code>
897 <table cellspacing=5 cellpadding=0 border=0>
905 Normalized between plus/minus 1.0. </td>
908 <hr>The documentation for this class was generated from the following file:<ul>
909 <li><a class="el" href="RtAudio_8h-source.html">RtAudio.h</a></ul>
912 <table><tr><td><img src="../ccrma.gif">
\r
913 <td>©2001-2002 CCRMA, Stanford University. All Rights Reserved.<br>
\r
914 Maintained by Gary P. Scavone, <a href="mailto:gary@ccrma.stanford.edu">gary@ccrma.stanford.edu</a><P>
\r