<!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: gr_wavfile_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>gr_wavfile_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 <<a class="el" href="gr__file__sink__base_8h_source.html">gr_file_sink_base.h</a>></code><br/> <code>#include <boost/thread.hpp></code><br/> <div class="dynheader"> Include dependency graph for gr_wavfile_sink.h:</div> <div class="dynsection"> <div class="center"><img src="gr__wavfile__sink_8h__incl.png" border="0" usemap="#gr__wavfile__sink_8h_map" alt=""/></div> <map name="gr__wavfile__sink_8h_map" id="gr__wavfile__sink_8h"> <area shape="rect" id="node3" href="gr__sync__block_8h.html" title="gr_sync_block.h" alt="" coords="364,83,481,112"/><area shape="rect" id="node53" href="gr__file__sink__base_8h.html" title="gr_file_sink_base.h" alt="" coords="569,83,703,112"/><area shape="rect" id="node5" href="gr__block_8h.html" title="gr_block.h" alt="" coords="375,160,457,189"/><area shape="rect" id="node7" href="gr__basic__block_8h.html" title="gr_basic_block.h" alt="" coords="356,237,476,267"/><area shape="rect" id="node9" href="gr__runtime__types_8h.html" title="gr_runtime_types.h" alt="" coords="145,315,279,344"/><area shape="rect" id="node23" href="gr__sptr__magic_8h_source.html" title="gr_sptr_magic.h" alt="" coords="5,392,120,421"/><area shape="rect" id="node28" href="gr__msg__accepter_8h.html" title="gr_msg_accepter.h" alt="" coords="553,315,687,344"/><area shape="rect" id="node11" href="gr__types_8h.html" title="gr_types.h" alt="" coords="171,392,253,421"/><area shape="rect" id="node19" href="gr__complex_8h.html" title="gr_complex.h" alt="" coords="308,469,407,499"/><area shape="rect" id="node30" href="msg__accepter_8h.html" title="gruel/msg_accepter.h" alt="" coords="464,392,611,421"/><area shape="rect" id="node32" href="pmt_8h.html" title="gruel/pmt.h" alt="" coords="605,469,691,499"/><area shape="rect" id="node48" href="pmt__sugar_8h.html" title="gruel/pmt_sugar.h" alt="" coords="592,547,717,576"/></map> </div> <p><a href="gr__wavfile__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="classgr__wavfile__sink.html">gr_wavfile_sink</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Read stream from a Microsoft PCM (.wav) file, output floats. <a href="classgr__wavfile__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">gr_wavfile_sink_sptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="gr__wavfile__sink_8h.html#a915a9e0cc9b733cfdcf8e047e7bb90be">gr_make_wavfile_sink</a> (const char *filename, int n_channels, unsigned int sample_rate, int bits_per_sample=16)</td></tr> </table> <hr/><h2>Function Documentation</h2> <a class="anchor" id="a915a9e0cc9b733cfdcf8e047e7bb90be"></a><!-- doxytag: member="gr_wavfile_sink.h::gr_make_wavfile_sink" ref="a915a9e0cc9b733cfdcf8e047e7bb90be" args="(const char *filename, int n_channels, unsigned int sample_rate, int bits_per_sample=16)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classboost_1_1shared__ptr.html">gr_wavfile_sink_sptr</a> gr_make_wavfile_sink </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>filename</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>n_channels</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>sample_rate</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>bits_per_sample</em> = <code>16</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 class="footer"/><address style="text-align: right;"><small>Generated on Wed Dec 29 19:52:08 2010 for GNU Radio 3.3.0 C++ API by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>