<!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.2.2 C++ API: audio_osx_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.2 --> <div class="contents"> <h1>audio_osx_sink.h File Reference</h1><code>#include <<a class="el" href="gr__sync__block_8h_source.html">gr_sync_block.h</a>></code><br/> <code>#include <string></code><br/> <code>#include <list></code><br/> <code>#include <AudioUnit/AudioUnit.h></code><br/> <code>#include <<a class="el" href="circular__buffer_8h_source.html">circular_buffer.h</a>></code><br/> <div class="dynheader"> Include dependency graph for audio_osx_sink.h:</div> <div class="dynsection"> <div class="center"><img src="audio__osx__sink_8h__incl.png" border="0" usemap="#audio__osx__sink_8h_map" alt=""/></div> <map name="audio__osx__sink_8h_map" id="audio__osx__sink_8h"> <area shape="rect" id="node3" href="gr__sync__block_8h.html" title="gr_sync_block.h" alt="" coords="400,83,517,112"/><area shape="rect" id="node37" href="circular__buffer_8h.html" title="circular_buffer.h" alt="" coords="827,83,941,112"/><area shape="rect" id="node5" href="gr__block_8h.html" title="gr_block.h" alt="" coords="383,160,465,189"/><area shape="rect" id="node7" href="gr__basic__block_8h.html" title="gr_basic_block.h" alt="" coords="364,237,484,267"/><area shape="rect" id="node9" href="gr__runtime__types_8h.html" title="gr_runtime_types.h" alt="" coords="153,315,287,344"/><area shape="rect" id="node25" href="gr__sptr__magic_8h_source.html" title="gr_sptr_magic.h" alt="" coords="43,392,157,421"/><area shape="rect" id="node11" href="gr__types_8h.html" title="gr_types.h" alt="" coords="205,392,288,421"/><area shape="rect" id="node19" href="gr__complex_8h.html" title="gr_complex.h" alt="" coords="349,469,448,499"/><area shape="rect" id="node39" href="gr-audio-osx_2src_2mld__threads_8h.html" title="mld_threads.h" alt="" coords="787,160,891,189"/></map> </div> <p><a href="audio__osx__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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classaudio__osx__sink.html">audio_osx_sink</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">audio sink using OSX <a href="classaudio__osx__sink.html#_details">More...</a><br/></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_osx_sink_sptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="audio__osx__sink_8h.html#aa98c04d66fdfd0dd480d81d3b1b4e322">audio_osx_make_sink</a> (int sample_rate=44100, const std::string device_name="2", <a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> do_block=true, int channel_config=-1, int max_sample_count=-1)</td></tr> </table> <hr/><h2>Function Documentation</h2> <a class="anchor" id="aa98c04d66fdfd0dd480d81d3b1b4e322"></a><!-- doxytag: member="audio_osx_sink.h::audio_osx_make_sink" ref="aa98c04d66fdfd0dd480d81d3b1b4e322" args="(int sample_rate=44100, const std::string device_name="2", bool do_block=true, int channel_config=-1, int max_sample_count=-1)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classboost_1_1shared__ptr.html">audio_osx_sink_sptr</a> audio_osx_make_sink </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>sample_rate</em> = <code>44100</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string </td> <td class="paramname"> <em>device_name</em> = <code>"2"</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> </td> <td class="paramname"> <em>do_block</em> = <code>true</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>channel_config</em> = <code>-1</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>max_sample_count</em> = <code>-1</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> </div> <hr size="1"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> </body> </html>