Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > by-pkgid > def0228095a1541e2d3632b6b6da7c38 > files > 307

gnuradio-doc-3.3.0-8mdv2010.1.i586.rpm

<!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"/>
<title>GNU Radio 3.3.0 C++ API: audio_portaudio_sink.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="contents">
<h1>audio_portaudio_sink.h File Reference</h1><code>#include &lt;<a class="el" href="gr__sync__block_8h_source.html">gr_sync_block.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="gr__buffer_8h_source.html">gr_buffer.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="thread_8h_source.html">gruel/thread.h</a>&gt;</code><br/>
<code>#include &lt;string&gt;</code><br/>
<code>#include &lt;portaudio.h&gt;</code><br/>
<code>#include &lt;stdexcept&gt;</code><br/>
<div class="dynheader">
Include dependency graph for audio_portaudio_sink.h:</div>
<div class="dynsection">
<div class="center"><img src="audio__portaudio__sink_8h__incl.png" border="0" usemap="#audio__portaudio__sink_8h_map" alt=""/></div>
<map name="audio__portaudio__sink_8h_map" id="audio__portaudio__sink_8h">
<area shape="rect" id="node3" href="gr__sync__block_8h.html" title="gr_sync_block.h" alt="" coords="729,83,847,112"/><area shape="rect" id="node53" href="gr__buffer_8h.html" title="gr_buffer.h" alt="" coords="1075,83,1157,112"/><area shape="rect" id="node58" href="thread_8h.html" title="gruel/thread.h" alt="" coords="1285,160,1387,189"/><area shape="rect" id="node5" href="gr__block_8h.html" title="gr_block.h" alt="" coords="647,160,729,189"/><area shape="rect" id="node7" href="gr__basic__block_8h.html" title="gr_basic_block.h" alt="" coords="579,237,699,267"/><area shape="rect" id="node9" href="gr__runtime__types_8h.html" title="gr_runtime_types.h" alt="" coords="812,315,945,344"/><area shape="rect" id="node23" href="gr__sptr__magic_8h_source.html" title="gr_sptr_magic.h" alt="" coords="684,392,799,421"/><area shape="rect" id="node28" href="gr__msg__accepter_8h.html" title="gr_msg_accepter.h" alt="" coords="520,315,653,344"/><area shape="rect" id="node11" href="gr__types_8h.html" title="gr_types.h" alt="" coords="837,392,920,421"/><area shape="rect" id="node19" href="gr__complex_8h.html" title="gr_complex.h" alt="" coords="675,469,773,499"/><area shape="rect" id="node30" href="msg__accepter_8h.html" title="gruel/msg_accepter.h" alt="" coords="513,392,660,421"/><area shape="rect" id="node32" href="pmt_8h.html" title="gruel/pmt.h" alt="" coords="464,469,549,499"/><area shape="rect" id="node48" href="pmt__sugar_8h.html" title="gruel/pmt_sugar.h" alt="" coords="83,547,208,576"/></map>
</div>

<p><a href="audio__portaudio__sink_8h_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaudio__portaudio__sink.html">audio_portaudio_sink</a></td></tr>
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classboost_1_1shared__ptr.html">audio_portaudio_sink_sptr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="audio__portaudio__sink_8h.html#a319b221559ad2412619020163f5fa930">audio_portaudio_make_sink</a> (int sampling_rate, const std::string device_name=&quot;&quot;, <a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> ok_to_block=true)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">PORTAUDIO audio sink.  <a href="#a319b221559ad2412619020163f5fa930"></a><br/></td></tr>
<tr><td colspan="2"><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">PaStreamCallback&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="audio__portaudio__sink_8h.html#aad0142eba2a2ee8a0e20c16ee8337130">portaudio_sink_callback</a></td></tr>
</table>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a319b221559ad2412619020163f5fa930"></a><!-- doxytag: member="audio_portaudio_sink.h::audio_portaudio_make_sink" ref="a319b221559ad2412619020163f5fa930" args="(int sampling_rate, const std::string device_name=&quot;&quot;, bool ok_to_block=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classboost_1_1shared__ptr.html">audio_portaudio_sink_sptr</a> audio_portaudio_make_sink </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>sampling_rate</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string&nbsp;</td>
          <td class="paramname"> <em>device_name</em> = <code>&quot;&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a>&nbsp;</td>
          <td class="paramname"> <em>ok_to_block</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>PORTAUDIO audio sink. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>sampling_rate</em>&nbsp;</td><td>sampling rate in Hz </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>device_name</em>&nbsp;</td><td>PORTAUDIO device name, e.g., "pa:" </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ok_to_block</em>&nbsp;</td><td>true if it's ok for us to block </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="aad0142eba2a2ee8a0e20c16ee8337130"></a><!-- doxytag: member="audio_portaudio_sink.h::portaudio_sink_callback" ref="aad0142eba2a2ee8a0e20c16ee8337130" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PaStreamCallback <a class="el" href="audio__portaudio__sink_8h.html#aad0142eba2a2ee8a0e20c16ee8337130">portaudio_sink_callback</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Wed Dec 29 19:51:08 2010 for GNU Radio 3.3.0 C++ API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>