<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.3.1"/> <title>PortAudio: PaHostApiInfo Struct Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">PortAudio  <span id="projectnumber">2.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.3.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-attribs">Data Fields</a> </div> <div class="headertitle"> <div class="title">PaHostApiInfo Struct Reference</div> </div> </div><!--header--> <div class="contents"> <p><code>#include <<a class="el" href="portaudio_8h_source.html">portaudio.h</a>></code></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> Data Fields</h2></td></tr> <tr class="memitem:a1f3a8c465488e7af8024237256d80c14"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structPaHostApiInfo.html#a1f3a8c465488e7af8024237256d80c14">structVersion</a></td></tr> <tr class="separator:a1f3a8c465488e7af8024237256d80c14"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5424bfcdf9f73b17cddc89e827a45d3f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="portaudio_8h.html#a8eaebe3d39c5ea45598da8f86dc2e5ae">PaHostApiTypeId</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structPaHostApiInfo.html#a5424bfcdf9f73b17cddc89e827a45d3f">type</a></td></tr> <tr class="separator:a5424bfcdf9f73b17cddc89e827a45d3f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a78afe5d557543c82cd9773229e25a8ec"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structPaHostApiInfo.html#a78afe5d557543c82cd9773229e25a8ec">name</a></td></tr> <tr class="separator:a78afe5d557543c82cd9773229e25a8ec"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a44e3adfaba0117a6780e2493468c96b1"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structPaHostApiInfo.html#a44e3adfaba0117a6780e2493468c96b1">deviceCount</a></td></tr> <tr class="separator:a44e3adfaba0117a6780e2493468c96b1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a85a62057c3479d3efaa477d8562cf21d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="portaudio_8h.html#ad79317e65bde63d76c4b8e711ac5a361">PaDeviceIndex</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structPaHostApiInfo.html#a85a62057c3479d3efaa477d8562cf21d">defaultInputDevice</a></td></tr> <tr class="separator:a85a62057c3479d3efaa477d8562cf21d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a62632690b5f7906d3c9bfdab91e7f4b2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="portaudio_8h.html#ad79317e65bde63d76c4b8e711ac5a361">PaDeviceIndex</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structPaHostApiInfo.html#a62632690b5f7906d3c9bfdab91e7f4b2">defaultOutputDevice</a></td></tr> <tr class="separator:a62632690b5f7906d3c9bfdab91e7f4b2"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>A structure containing information about a particular host API. </p> <p>Definition at line <a class="el" href="portaudio_8h_source.html#l00245">245</a> of file <a class="el" href="portaudio_8h_source.html">portaudio.h</a>.</p> </div><h2 class="groupheader">Field Documentation</h2> <a class="anchor" id="a85a62057c3479d3efaa477d8562cf21d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="portaudio_8h.html#ad79317e65bde63d76c4b8e711ac5a361">PaDeviceIndex</a> PaHostApiInfo::defaultInputDevice</td> </tr> </table> </div><div class="memdoc"> <p>The default input device for this host API. The value will be a device index ranging from 0 to (<a class="el" href="portaudio_8h.html#acfe4d3c5ec1a343f459981bfa2057f8d">Pa_GetDeviceCount()</a>-1), or paNoDevice if no default input device is available. </p> <p>Definition at line <a class="el" href="portaudio_8h_source.html#l00265">265</a> of file <a class="el" href="portaudio_8h_source.html">portaudio.h</a>.</p> </div> </div> <a class="anchor" id="a62632690b5f7906d3c9bfdab91e7f4b2"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="portaudio_8h.html#ad79317e65bde63d76c4b8e711ac5a361">PaDeviceIndex</a> PaHostApiInfo::defaultOutputDevice</td> </tr> </table> </div><div class="memdoc"> <p>The default output device for this host API. The value will be a device index ranging from 0 to (<a class="el" href="portaudio_8h.html#acfe4d3c5ec1a343f459981bfa2057f8d">Pa_GetDeviceCount()</a>-1), or paNoDevice if no default output device is available. </p> <p>Definition at line <a class="el" href="portaudio_8h_source.html#l00271">271</a> of file <a class="el" href="portaudio_8h_source.html">portaudio.h</a>.</p> </div> </div> <a class="anchor" id="a44e3adfaba0117a6780e2493468c96b1"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int PaHostApiInfo::deviceCount</td> </tr> </table> </div><div class="memdoc"> <pre class="fragment">The number of devices belonging to this host API. This field may be </pre><p> used in conjunction with <a class="el" href="portaudio_8h.html#a54f306b5e5258323c95a27c5722258cd">Pa_HostApiDeviceIndexToDeviceIndex()</a> to enumerate all devices for this host API. </p> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="portaudio_8h.html#a54f306b5e5258323c95a27c5722258cd">Pa_HostApiDeviceIndexToDeviceIndex</a> </dd></dl> <p>Definition at line <a class="el" href="portaudio_8h_source.html#l00259">259</a> of file <a class="el" href="portaudio_8h_source.html">portaudio.h</a>.</p> </div> </div> <a class="anchor" id="a78afe5d557543c82cd9773229e25a8ec"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* PaHostApiInfo::name</td> </tr> </table> </div><div class="memdoc"> <p>A textual description of the host API for display on user interfaces. </p> <p>Definition at line <a class="el" href="portaudio_8h_source.html#l00252">252</a> of file <a class="el" href="portaudio_8h_source.html">portaudio.h</a>.</p> </div> </div> <a class="anchor" id="a1f3a8c465488e7af8024237256d80c14"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int PaHostApiInfo::structVersion</td> </tr> </table> </div><div class="memdoc"> <p>this is struct version 1 </p> <p>Definition at line <a class="el" href="portaudio_8h_source.html#l00248">248</a> of file <a class="el" href="portaudio_8h_source.html">portaudio.h</a>.</p> </div> </div> <a class="anchor" id="a5424bfcdf9f73b17cddc89e827a45d3f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="portaudio_8h.html#a8eaebe3d39c5ea45598da8f86dc2e5ae">PaHostApiTypeId</a> PaHostApiInfo::type</td> </tr> </table> </div><div class="memdoc"> <p>The well known unique identifier of this host API</p> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="portaudio_8h.html#ae247ec252e84112170079ece319fc42c">PaHostApiTypeId</a> </dd></dl> <p>Definition at line <a class="el" href="portaudio_8h_source.html#l00250">250</a> of file <a class="el" href="portaudio_8h_source.html">portaudio.h</a>.</p> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="portaudio_8h_source.html">portaudio.h</a></li> </ul> </div><!-- contents --> <hr size="1"><address style="text-align: right;"><small>Generated for PortAudio by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a>1.8.3.1</small></address> </body> </html>