[xiph-commits] r18094 - in websites/opus-codec.org/docs: . html_api
jm at svn.xiph.org
jm at svn.xiph.org
Thu Sep 22 15:01:58 PDT 2011
Author: jm
Date: 2011-09-22 15:01:58 -0700 (Thu, 22 Sep 2011)
New Revision: 18094
Modified:
websites/opus-codec.org/docs/html_api/files.html
websites/opus-codec.org/docs/html_api/globals.html
websites/opus-codec.org/docs/html_api/globals_defs.html
websites/opus-codec.org/docs/html_api/globals_func.html
websites/opus-codec.org/docs/html_api/globals_type.html
websites/opus-codec.org/docs/html_api/group__encoderctls.html
websites/opus-codec.org/docs/html_api/group__errorcodes.html
websites/opus-codec.org/docs/html_api/group__genericctls.html
websites/opus-codec.org/docs/html_api/group__libinfo.html
websites/opus-codec.org/docs/html_api/group__opusdecoder.html
websites/opus-codec.org/docs/html_api/group__opusencoder.html
websites/opus-codec.org/docs/html_api/group__repacketizer.html
websites/opus-codec.org/docs/html_api/index.html
websites/opus-codec.org/docs/html_api/modules.html
websites/opus-codec.org/docs/html_api/opus_8h.html
websites/opus-codec.org/docs/html_api/opus_8h_source.html
websites/opus-codec.org/docs/html_api/opus__defines_8h.html
websites/opus-codec.org/docs/html_api/opus__defines_8h_source.html
websites/opus-codec.org/docs/html_api/opus__multistream_8h.html
websites/opus-codec.org/docs/html_api/opus__multistream_8h_source.html
websites/opus-codec.org/docs/html_api/opus__types_8h.html
websites/opus-codec.org/docs/html_api/opus__types_8h_source.html
websites/opus-codec.org/docs/opus_api.pdf
Log:
Updated doc
Modified: websites/opus-codec.org/docs/html_api/files.html
===================================================================
--- websites/opus-codec.org/docs/html_api/files.html 2011-09-22 19:17:55 UTC (rev 18093)
+++ websites/opus-codec.org/docs/html_api/files.html 2011-09-22 22:01:58 UTC (rev 18094)
@@ -19,7 +19,7 @@
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
- <div id="projectname">Opus <span id="projectnumber">0.9.6-149-g48069bf</span></div>
+ <div id="projectname">Opus <span id="projectnumber">0.9.6-157-g363924e</span></div>
<div id="projectbrief">IETFlow-delayaudiocodec</div>
</td>
</tr>
@@ -82,7 +82,7 @@
</iframe>
</div>
-<hr class="footer"/><address class="footer"><small>Generated on Fri Sep 16 2011 00:51:57 for Opus by 
+<hr class="footer"/><address class="footer"><small>Generated on Thu Sep 22 2011 17:58:07 for Opus by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
Modified: websites/opus-codec.org/docs/html_api/globals.html
===================================================================
--- websites/opus-codec.org/docs/html_api/globals.html 2011-09-22 19:17:55 UTC (rev 18093)
+++ websites/opus-codec.org/docs/html_api/globals.html 2011-09-22 22:01:58 UTC (rev 18094)
@@ -19,7 +19,7 @@
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
- <div id="projectname">Opus <span id="projectnumber">0.9.6-149-g48069bf</span></div>
+ <div id="projectname">Opus <span id="projectnumber">0.9.6-157-g363924e</span></div>
<div id="projectbrief">IETFlow-delayaudiocodec</div>
</td>
</tr>
@@ -397,7 +397,7 @@
</iframe>
</div>
-<hr class="footer"/><address class="footer"><small>Generated on Fri Sep 16 2011 00:51:57 for Opus by 
+<hr class="footer"/><address class="footer"><small>Generated on Thu Sep 22 2011 17:58:07 for Opus by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
Modified: websites/opus-codec.org/docs/html_api/globals_defs.html
===================================================================
--- websites/opus-codec.org/docs/html_api/globals_defs.html 2011-09-22 19:17:55 UTC (rev 18093)
+++ websites/opus-codec.org/docs/html_api/globals_defs.html 2011-09-22 22:01:58 UTC (rev 18094)
@@ -19,7 +19,7 @@
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
- <div id="projectname">Opus <span id="projectnumber">0.9.6-149-g48069bf</span></div>
+ <div id="projectname">Opus <span id="projectnumber">0.9.6-157-g363924e</span></div>
<div id="projectbrief">IETFlow-delayaudiocodec</div>
</td>
</tr>
@@ -244,7 +244,7 @@
</iframe>
</div>
-<hr class="footer"/><address class="footer"><small>Generated on Fri Sep 16 2011 00:51:57 for Opus by 
+<hr class="footer"/><address class="footer"><small>Generated on Thu Sep 22 2011 17:58:07 for Opus by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
Modified: websites/opus-codec.org/docs/html_api/globals_func.html
===================================================================
--- websites/opus-codec.org/docs/html_api/globals_func.html 2011-09-22 19:17:55 UTC (rev 18093)
+++ websites/opus-codec.org/docs/html_api/globals_func.html 2011-09-22 22:01:58 UTC (rev 18094)
@@ -19,7 +19,7 @@
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
- <div id="projectname">Opus <span id="projectnumber">0.9.6-149-g48069bf</span></div>
+ <div id="projectname">Opus <span id="projectnumber">0.9.6-157-g363924e</span></div>
<div id="projectbrief">IETFlow-delayaudiocodec</div>
</td>
</tr>
@@ -215,7 +215,7 @@
</iframe>
</div>
-<hr class="footer"/><address class="footer"><small>Generated on Fri Sep 16 2011 00:51:57 for Opus by 
+<hr class="footer"/><address class="footer"><small>Generated on Thu Sep 22 2011 17:58:07 for Opus by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
Modified: websites/opus-codec.org/docs/html_api/globals_type.html
===================================================================
--- websites/opus-codec.org/docs/html_api/globals_type.html 2011-09-22 19:17:55 UTC (rev 18093)
+++ websites/opus-codec.org/docs/html_api/globals_type.html 2011-09-22 22:01:58 UTC (rev 18094)
@@ -19,7 +19,7 @@
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
- <div id="projectname">Opus <span id="projectnumber">0.9.6-149-g48069bf</span></div>
+ <div id="projectname">Opus <span id="projectnumber">0.9.6-157-g363924e</span></div>
<div id="projectbrief">IETFlow-delayaudiocodec</div>
</td>
</tr>
@@ -109,7 +109,7 @@
</iframe>
</div>
-<hr class="footer"/><address class="footer"><small>Generated on Fri Sep 16 2011 00:51:57 for Opus by 
+<hr class="footer"/><address class="footer"><small>Generated on Thu Sep 22 2011 17:58:07 for Opus by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
Modified: websites/opus-codec.org/docs/html_api/group__encoderctls.html
===================================================================
--- websites/opus-codec.org/docs/html_api/group__encoderctls.html 2011-09-22 19:17:55 UTC (rev 18093)
+++ websites/opus-codec.org/docs/html_api/group__encoderctls.html 2011-09-22 22:01:58 UTC (rev 18094)
@@ -19,7 +19,7 @@
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
- <div id="projectname">Opus <span id="projectnumber">0.9.6-149-g48069bf</span></div>
+ <div id="projectname">Opus <span id="projectnumber">0.9.6-157-g363924e</span></div>
<div id="projectbrief">IETFlow-delayaudiocodec</div>
</td>
</tr>
@@ -114,7 +114,7 @@
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets encoder's configured use of discontinuous transmission,. <a href="#gaafbb44454e9f57232b85e4e087337ded"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
-<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="group__genericctls.html">Generic CTLs</a>,<a class="el" href="group__opusencoder.html">Opus Encoder</a> </dd></dl>
+<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="group__genericctls.html">Generic CTLs</a>,<a class="el" href="group__opusencoder.html" title="Since Opus is a stateful codec, the encoding process starts with creating an encoder state...">Opus Encoder</a> </dd></dl>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="ga062ebbc209caf6832fe4a309a459fd4c"></a><!-- doxytag: member="opus_defines.h::OPUS_GET_APPLICATION" ref="ga062ebbc209caf6832fe4a309a459fd4c" args="(x)" -->
<div class="memitem">
@@ -835,7 +835,7 @@
</iframe>
</div>
-<hr class="footer"/><address class="footer"><small>Generated on Fri Sep 16 2011 00:51:57 for Opus by 
+<hr class="footer"/><address class="footer"><small>Generated on Thu Sep 22 2011 17:58:07 for Opus by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
Modified: websites/opus-codec.org/docs/html_api/group__errorcodes.html
===================================================================
--- websites/opus-codec.org/docs/html_api/group__errorcodes.html 2011-09-22 19:17:55 UTC (rev 18093)
+++ websites/opus-codec.org/docs/html_api/group__errorcodes.html 2011-09-22 22:01:58 UTC (rev 18094)
@@ -19,7 +19,7 @@
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
- <div id="projectname">Opus <span id="projectnumber">0.9.6-149-g48069bf</span></div>
+ <div id="projectname">Opus <span id="projectnumber">0.9.6-157-g363924e</span></div>
<div id="projectbrief">IETFlow-delayaudiocodec</div>
</td>
</tr>
@@ -213,7 +213,7 @@
</iframe>
</div>
-<hr class="footer"/><address class="footer"><small>Generated on Fri Sep 16 2011 00:51:57 for Opus by 
+<hr class="footer"/><address class="footer"><small>Generated on Thu Sep 22 2011 17:58:07 for Opus by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
Modified: websites/opus-codec.org/docs/html_api/group__genericctls.html
===================================================================
--- websites/opus-codec.org/docs/html_api/group__genericctls.html 2011-09-22 19:17:55 UTC (rev 18093)
+++ websites/opus-codec.org/docs/html_api/group__genericctls.html 2011-09-22 22:01:58 UTC (rev 18094)
@@ -19,7 +19,7 @@
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
- <div id="projectname">Opus <span id="projectnumber">0.9.6-149-g48069bf</span></div>
+ <div id="projectname">Opus <span id="projectnumber">0.9.6-157-g363924e</span></div>
<div id="projectbrief">IETFlow-delayaudiocodec</div>
</td>
</tr>
@@ -70,7 +70,7 @@
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the encoder's configured bandpass or the decoder's last bandpass,. <a href="#ga29db1d9b5e670debec54d1163ad2ec62"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
-<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="group__opusencoder.html#ga164cbb0425238961919adf1db67949df" title="Perform a CTL function on an Opus encoder.">opus_encoder_ctl</a>,<a class="el" href="group__opusencoder.html">Opus Encoder</a>,<a class="el" href="group__opusdecoder.html">Opus Decoder</a> </dd></dl>
+<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="group__opusencoder.html#ga164cbb0425238961919adf1db67949df" title="Perform a CTL function on an Opus encoder.">opus_encoder_ctl</a>,<a class="el" href="group__opusencoder.html" title="Since Opus is a stateful codec, the encoding process starts with creating an encoder state...">Opus Encoder</a>,<a class="el" href="group__opusdecoder.html" title="The decoding process also starts with creating a decoder state.">Opus Decoder</a> </dd></dl>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="ga29db1d9b5e670debec54d1163ad2ec62"></a><!-- doxytag: member="opus_defines.h::OPUS_GET_BANDWIDTH" ref="ga29db1d9b5e670debec54d1163ad2ec62" args="(x)" -->
<div class="memitem">
@@ -181,7 +181,7 @@
</iframe>
</div>
-<hr class="footer"/><address class="footer"><small>Generated on Fri Sep 16 2011 00:51:57 for Opus by 
+<hr class="footer"/><address class="footer"><small>Generated on Thu Sep 22 2011 17:58:07 for Opus by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
Modified: websites/opus-codec.org/docs/html_api/group__libinfo.html
===================================================================
--- websites/opus-codec.org/docs/html_api/group__libinfo.html 2011-09-22 19:17:55 UTC (rev 18093)
+++ websites/opus-codec.org/docs/html_api/group__libinfo.html 2011-09-22 22:01:58 UTC (rev 18094)
@@ -19,7 +19,7 @@
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
- <div id="projectname">Opus <span id="projectnumber">0.9.6-149-g48069bf</span></div>
+ <div id="projectname">Opus <span id="projectnumber">0.9.6-157-g363924e</span></div>
<div id="projectbrief">IETFlow-delayaudiocodec</div>
</td>
</tr>
@@ -127,7 +127,7 @@
</iframe>
</div>
-<hr class="footer"/><address class="footer"><small>Generated on Fri Sep 16 2011 00:51:57 for Opus by 
+<hr class="footer"/><address class="footer"><small>Generated on Thu Sep 22 2011 17:58:07 for Opus by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
Modified: websites/opus-codec.org/docs/html_api/group__opusdecoder.html
===================================================================
--- websites/opus-codec.org/docs/html_api/group__opusdecoder.html 2011-09-22 19:17:55 UTC (rev 18093)
+++ websites/opus-codec.org/docs/html_api/group__opusdecoder.html 2011-09-22 22:01:58 UTC (rev 18094)
@@ -19,7 +19,7 @@
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
- <div id="projectname">Opus <span id="projectnumber">0.9.6-149-g48069bf</span></div>
+ <div id="projectname">Opus <span id="projectnumber">0.9.6-157-g363924e</span></div>
<div id="projectbrief">IETFlow-delayaudiocodec</div>
</td>
</tr>
@@ -58,6 +58,9 @@
<div class="title">Opus Decoder</div> </div>
</div>
<div class="contents">
+
+<p>The decoding process also starts with creating a decoder state.
+<a href="#details">More...</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="typedef-members"></a>
Typedefs</h2></td></tr>
@@ -92,6 +95,38 @@
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__opusdecoder.html#ga895fbdd007bab726ace70be21f88f13e">opus_decoder_get_nb_samples</a> (const <a class="el" href="group__opusdecoder.html#ga401d8579958d36094715a6b90cd159a6">OpusDecoder</a> *dec, const unsigned char packet[], int len)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the number of samples of an Opus packet. <a href="#ga895fbdd007bab726ace70be21f88f13e"></a><br/></td></tr>
</table>
+<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
+<p>The decoding process also starts with creating a decoder state. </p>
+<p>This can be done with: </p>
+<div class="fragment"><pre class="fragment"> <span class="keywordtype">int</span> error;
+ <a class="code" href="group__opusdecoder.html#ga401d8579958d36094715a6b90cd159a6" title="Opus decoder state.">OpusDecoder</a> *dec;
+ dec = <a class="code" href="group__opusdecoder.html#ga753f6fe0b699c81cfd47d70c8e15a0bd" title="Allocates and initializes a decoder state.">opus_decoder_create</a>(Fs, channels, &error);
+</pre></div><p> where </p>
+<ul>
+<li>Fs is the sampling rate and must be 8000, 12000, 16000, 24000, or 48000 </li>
+<li>channels is the number of channels (1 or 2) </li>
+<li>error will hold the error code in case or failure (or OPUS_OK on success) </li>
+<li>the return value is a newly created decoder state to be used for decoding</li>
+</ul>
+<p>While <a class="el" href="group__opusdecoder.html#ga753f6fe0b699c81cfd47d70c8e15a0bd" title="Allocates and initializes a decoder state.">opus_decoder_create()</a> allocates memory for the state, it's also possible to initialize pre-allocated memory: </p>
+<div class="fragment"><pre class="fragment"> <span class="keywordtype">int</span> size;
+ <span class="keywordtype">int</span> error;
+ <a class="code" href="group__opusdecoder.html#ga401d8579958d36094715a6b90cd159a6" title="Opus decoder state.">OpusDecoder</a> *dec;
+ size = <a class="code" href="group__opusdecoder.html#gac918415b2ee21add75b7f867ce235011" title="Gets the size of an OpusDecoder structure.">opus_decoder_get_size</a>(channels);
+ dec = malloc(size);
+ error = <a class="code" href="group__opusdecoder.html#ga939156d1f561c4273d5c62fa9c235a01" title="Initializes a previously allocated decoder state.">opus_decoder_init</a>(dec, Fs, channels);
+</pre></div><p> where <a class="el" href="group__opusdecoder.html#gac918415b2ee21add75b7f867ce235011" title="Gets the size of an OpusDecoder structure.">opus_decoder_get_size()</a> returns the required size for the decoder state. Note that future versions of this code may change the size, so no assuptions should be made about it.</p>
+<p>The decoder state is always continuous in memory and only a shallow copy is sufficient to copy it (e.g. memcpy())</p>
+<p>To decode a frame, <a class="el" href="group__opusdecoder.html#ga1a8b923c1041ad4976ceada237e117ba" title="Decode an Opus frame.">opus_decode()</a> or <a class="el" href="group__opusdecoder.html#ga53b7fd5621613c4d7fcc17000ff1c9ec" title="Decode an opus frame with floating point output.">opus_decode_float()</a> must be called with a packet of compressed audio data: </p>
+<div class="fragment"><pre class="fragment"> frame_size = <a class="code" href="group__opusdecoder.html#ga1a8b923c1041ad4976ceada237e117ba" title="Decode an Opus frame.">opus_decode</a>(enc, packet, len, decoded, max_size);
+</pre></div><p> where</p>
+<ul>
+<li>packet is the byte array containing the compressed data </li>
+<li>len is the exact number of bytes contained in the packet </li>
+<li>decoded is the decoded audio data in opus_int16 (or float for <a class="el" href="group__opusdecoder.html#ga53b7fd5621613c4d7fcc17000ff1c9ec" title="Decode an opus frame with floating point output.">opus_decode_float()</a>) </li>
+<li>max_size is the max duration of the frame in samples (per channel) that can fit into the decoded_frame array</li>
+</ul>
+<p><a class="el" href="group__opusdecoder.html#ga1a8b923c1041ad4976ceada237e117ba" title="Decode an Opus frame.">opus_decode()</a> and opus_decode_frame() return the number of samples ()per channel) decoded from the packet. If that value is negative, then an error has occured. This can occur if the packet is corrupted or if the audio buffer is too small to hold the decoded audio. </p>
<hr/><h2>Typedef Documentation</h2>
<a class="anchor" id="ga401d8579958d36094715a6b90cd159a6"></a><!-- doxytag: member="opus.h::OpusDecoder" ref="ga401d8579958d36094715a6b90cd159a6" args="" -->
<div class="memitem">
@@ -707,7 +742,7 @@
</iframe>
</div>
-<hr class="footer"/><address class="footer"><small>Generated on Fri Sep 16 2011 00:51:57 for Opus by 
+<hr class="footer"/><address class="footer"><small>Generated on Thu Sep 22 2011 17:58:07 for Opus by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
Modified: websites/opus-codec.org/docs/html_api/group__opusencoder.html
===================================================================
--- websites/opus-codec.org/docs/html_api/group__opusencoder.html 2011-09-22 19:17:55 UTC (rev 18093)
+++ websites/opus-codec.org/docs/html_api/group__opusencoder.html 2011-09-22 22:01:58 UTC (rev 18094)
@@ -19,7 +19,7 @@
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
- <div id="projectname">Opus <span id="projectnumber">0.9.6-149-g48069bf</span></div>
+ <div id="projectname">Opus <span id="projectnumber">0.9.6-157-g363924e</span></div>
<div id="projectbrief">IETFlow-delayaudiocodec</div>
</td>
</tr>
@@ -58,6 +58,9 @@
<div class="title">Opus Encoder</div> </div>
</div>
<div class="contents">
+
+<p>Since Opus is a stateful codec, the encoding process starts with creating an encoder state.
+<a href="#details">More...</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="typedef-members"></a>
Typedefs</h2></td></tr>
@@ -79,6 +82,65 @@
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__opusencoder.html#ga164cbb0425238961919adf1db67949df">opus_encoder_ctl</a> (<a class="el" href="group__opusencoder.html#gaf461a3ef2f10c2fe8b994a176f06c9bd">OpusEncoder</a> *st, int request,...)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Perform a CTL function on an Opus encoder. <a href="#ga164cbb0425238961919adf1db67949df"></a><br/></td></tr>
</table>
+<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
+<p>Since Opus is a stateful codec, the encoding process starts with creating an encoder state. </p>
+<p>This can be done with:</p>
+<div class="fragment"><pre class="fragment"> <span class="keywordtype">int</span> error;
+ <a class="code" href="group__opusencoder.html#gaf461a3ef2f10c2fe8b994a176f06c9bd" title="Opus encoder state.">OpusEncoder</a> *enc;
+ enc = <a class="code" href="group__opusencoder.html#gaa89264fd93c9da70362a0c9b96b9ca88" title="Allocates and initializes an encoder state.">opus_encoder_create</a>(Fs, channels, application, &error);
+</pre></div><p>where </p>
+<ul>
+<li>
+Fs is the sampling rate and must be 8000, 12000, 16000, 24000, or 48000 </li>
+<li>
+channels is the number of channels (1 or 2) </li>
+<li>
+application is either OPUS_APPLICATION_VOIP or OPUS_APPLICATION_AUDIO </li>
+<li>
+error will hold the error code in case or failure (or OPUS_OK on success) </li>
+<li>
+the return value is a newly created encoder state to be used for encoding </li>
+</ul>
+<p>While <a class="el" href="group__opusencoder.html#gaa89264fd93c9da70362a0c9b96b9ca88" title="Allocates and initializes an encoder state.">opus_encoder_create()</a> allocates memory for the state, it's also possible to initialize pre-allocated memory:</p>
+<div class="fragment"><pre class="fragment"> <span class="keywordtype">int</span> size;
+ <span class="keywordtype">int</span> error;
+ <a class="code" href="group__opusencoder.html#gaf461a3ef2f10c2fe8b994a176f06c9bd" title="Opus encoder state.">OpusEncoder</a> *enc;
+ size = <a class="code" href="group__opusencoder.html#gaefeb7dc1d6e3b59dea5ea674c86e9c18">opus_encoder_get_size</a>(channels);
+ enc = malloc(size);
+ error = <a class="code" href="group__opusencoder.html#ga515db1c267a7421dacaad3610f79eb79" title="Initializes a previously allocated encoder state The memory pointed to by st must be the size returne...">opus_encoder_init</a>(enc, Fs, channels, application);
+</pre></div><p>where <a class="el" href="group__opusencoder.html#gaefeb7dc1d6e3b59dea5ea674c86e9c18">opus_encoder_get_size()</a> returns the required size for the encoder state. Note that future versions of this code may change the size, so no assuptions should be made about it.</p>
+<p>The encoder state is always continuous in memory and only a shallow copy is sufficient to copy it (e.g. memcpy())</p>
+<p>It is possible to change some of the encoder's settings using the <a class="el" href="group__opusencoder.html#ga164cbb0425238961919adf1db67949df" title="Perform a CTL function on an Opus encoder.">opus_encoder_ctl()</a> interface. All these settings already default to the recommended value, so they should only be changed when necessary. The most common settings one may want to change are:</p>
+<div class="fragment"><pre class="fragment"> <a class="code" href="group__opusencoder.html#ga164cbb0425238961919adf1db67949df" title="Perform a CTL function on an Opus encoder.">opus_encoder_ctl</a>(enc, <a class="code" href="group__encoderctls.html#ga0bb51947e355b33d0cb358463b5101a7" title="Configures the bitrate in the encoder.">OPUS_SET_BITRATE</a>(bitrate));
+ <a class="code" href="group__opusencoder.html#ga164cbb0425238961919adf1db67949df" title="Perform a CTL function on an Opus encoder.">opus_encoder_ctl</a>(enc, <a class="code" href="group__encoderctls.html#ga3483877bf1687a75dd4a1de6f85f291c" title="Configures the encoder's computational complexity.">OPUS_SET_COMPLEXITY</a>(complexity));
+ <a class="code" href="group__opusencoder.html#ga164cbb0425238961919adf1db67949df" title="Perform a CTL function on an Opus encoder.">opus_encoder_ctl</a>(enc, <a class="code" href="group__encoderctls.html#gaaa87ccee4ae46aa6c9528e03c5122b89" title="Configures the type of signal being encoded.">OPUS_SET_SIGNAL</a>(signal_type));
+</pre></div><p>where </p>
+<ul>
+<li>
+bitrate is in bits per second (b/s) </li>
+<li>
+complexity is a value from 1 to 10 where 1 is the lowest complexity and 10 is the highest </li>
+<li>
+signal_type is either OPUS_AUTO (default), OPUS_SIGNAL_VOICE, or OPUS_SIGNAL_MUSIC </li>
+</ul>
+<p>See <a class="el" href="group__encoderctls.html">Encoder related CTLs</a> and <a class="el" href="group__genericctls.html">Generic CTLs</a> for a complete list of parameters that can be set or queried. Most parameters can be set or changed at any time during a stream.</p>
+<p>To encode a frame, <a class="el" href="group__opusencoder.html#ga88621a963b809ebfc27887f13518c966" title="Encodes an Opus frame.">opus_encode()</a> or <a class="el" href="group__opusencoder.html#gace941e4ef26ed844879fde342ffbe546" title="Encodes an Opus frame from floating point input.">opus_encode_float()</a> must be called with exactly one frame (2.5, 5, 10, 20, 40 or 60 ms) of audio data: </p>
+<div class="fragment"><pre class="fragment"> len = <a class="code" href="group__opusencoder.html#ga88621a963b809ebfc27887f13518c966" title="Encodes an Opus frame.">opus_encode</a>(enc, audio_frame, frame_size, packet, max_packet);
+</pre></div><p>where </p>
+<ul>
+<li>
+audio_frame is the audio data in opus_int16 (or float for <a class="el" href="group__opusencoder.html#gace941e4ef26ed844879fde342ffbe546" title="Encodes an Opus frame from floating point input.">opus_encode_float()</a>) </li>
+<li>
+frame_size is the duration of the frame in samples (per channel) </li>
+<li>
+packet is the byte array to which the compressed data is written </li>
+<li>
+max_packet is the maximum number of bytes that can be written in the packet (1276 bytes is recommended) </li>
+</ul>
+<p><a class="el" href="group__opusencoder.html#ga88621a963b809ebfc27887f13518c966" title="Encodes an Opus frame.">opus_encode()</a> and opus_encode_frame() return the number of bytes actually written to the packet. If that value is negative, then an error has occured. If the value is 1, then the packet does not need to be transmitted (DTX)</p>
+<p>Once the encoder state if no longer needed, it can be destroyed with</p>
+<div class="fragment"><pre class="fragment"> <a class="code" href="group__opusencoder.html#ga5f4c05b4b51cdffec5a55dbf17bbfa1c" title="Frees an OpusEncoder allocated by opus_encoder_create.">opus_encoder_destroy</a>(enc);
+</pre></div><p>If the encoder was created with <a class="el" href="group__opusencoder.html#ga515db1c267a7421dacaad3610f79eb79" title="Initializes a previously allocated encoder state The memory pointed to by st must be the size returne...">opus_encoder_init()</a> rather than <a class="el" href="group__opusencoder.html#gaa89264fd93c9da70362a0c9b96b9ca88" title="Allocates and initializes an encoder state.">opus_encoder_create()</a>, then no action is required aside from potentially freeing the memory that was manually allocated for it (calling free(enc) for the example above) </p>
<hr/><h2>Typedef Documentation</h2>
<a class="anchor" id="gaf461a3ef2f10c2fe8b994a176f06c9bd"></a><!-- doxytag: member="opus.h::OpusEncoder" ref="gaf461a3ef2f10c2fe8b994a176f06c9bd" args="" -->
<div class="memitem">
@@ -418,7 +480,7 @@
</iframe>
</div>
-<hr class="footer"/><address class="footer"><small>Generated on Fri Sep 16 2011 00:51:57 for Opus by 
+<hr class="footer"/><address class="footer"><small>Generated on Thu Sep 22 2011 17:58:07 for Opus by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
Modified: websites/opus-codec.org/docs/html_api/group__repacketizer.html
===================================================================
--- websites/opus-codec.org/docs/html_api/group__repacketizer.html 2011-09-22 19:17:55 UTC (rev 18093)
+++ websites/opus-codec.org/docs/html_api/group__repacketizer.html 2011-09-22 22:01:58 UTC (rev 18094)
@@ -19,7 +19,7 @@
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
- <div id="projectname">Opus <span id="projectnumber">0.9.6-149-g48069bf</span></div>
+ <div id="projectname">Opus <span id="projectnumber">0.9.6-157-g363924e</span></div>
<div id="projectbrief">IETFlow-delayaudiocodec</div>
</td>
</tr>
@@ -58,6 +58,9 @@
<div class="title">Repacketizer</div> </div>
</div>
<div class="contents">
+
+<p>The repacketizer can be used to merge multiple Opus packets into a single packet or alternatively to split Opus packets that have previously been merged.
+<a href="#details">More...</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="typedef-members"></a>
Typedefs</h2></td></tr>
@@ -73,6 +76,8 @@
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__repacketizer.html#ga2cad98d04458aafdf6bb9f22f34ea7c0">opus_repacketizer_get_nb_frames</a> (<a class="el" href="group__repacketizer.html#ga1f85070a64bcbf5bf24f5ccb80323e7b">OpusRepacketizer</a> *rp)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__repacketizer.html#ga4fbd54e95090558856376139d62008aa">opus_repacketizer_out</a> (<a class="el" href="group__repacketizer.html#ga1f85070a64bcbf5bf24f5ccb80323e7b">OpusRepacketizer</a> *rp, unsigned char *data, int maxlen)</td></tr>
</table>
+<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
+<p>The repacketizer can be used to merge multiple Opus packets into a single packet or alternatively to split Opus packets that have previously been merged. </p>
<hr/><h2>Typedef Documentation</h2>
<a class="anchor" id="ga1f85070a64bcbf5bf24f5ccb80323e7b"></a><!-- doxytag: member="opus.h::OpusRepacketizer" ref="ga1f85070a64bcbf5bf24f5ccb80323e7b" args="" -->
<div class="memitem">
@@ -299,7 +304,7 @@
</iframe>
</div>
-<hr class="footer"/><address class="footer"><small>Generated on Fri Sep 16 2011 00:51:57 for Opus by 
+<hr class="footer"/><address class="footer"><small>Generated on Thu Sep 22 2011 17:58:07 for Opus by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
Modified: websites/opus-codec.org/docs/html_api/index.html
===================================================================
--- websites/opus-codec.org/docs/html_api/index.html 2011-09-22 19:17:55 UTC (rev 18093)
+++ websites/opus-codec.org/docs/html_api/index.html 2011-09-22 22:01:58 UTC (rev 18094)
@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<title>Opus: Main Page</title>
+<title>Opus: Opus</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
@@ -19,7 +19,7 @@
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
- <div id="projectname">Opus <span id="projectnumber">0.9.6-149-g48069bf</span></div>
+ <div id="projectname">Opus <span id="projectnumber">0.9.6-157-g363924e</span></div>
<div id="projectbrief">IETFlow-delayaudiocodec</div>
</td>
</tr>
@@ -52,10 +52,30 @@
</div>
<div class="header">
<div class="headertitle">
-<div class="title">Opus Documentation</div> </div>
+<div class="title">Opus </div> </div>
</div>
<div class="contents">
-</div>
+<div class="textblock"><p>The Opus codec is designed for interactive speech and audio transmission over the Internet. It is designed by the IETF Codec Working Group and incorporates technology from Skype's SILK codec and Xiph.Org's CELT codec.</p>
+<p>The Opus codec is designed to handle a wide range of interactive audio applications, including Voice over IP, videoconferencing, in-game chat, and even remote live music performances. It can scale from low bit-rate narrowband speech to very high quality stereo music. Its main features are:</p>
+<ul>
+<li>Sampling rates from 8 to 48 kHz </li>
+<li>Bit-rates from 6 kb/s 510 kb/s </li>
+<li>Support for both constant bit-rate (CBR) and variable bit-rate (VBR) </li>
+<li>Audio bandwidth from narrowband to full-band </li>
+<li>Support for speech and music </li>
+<li>Support for mono and stereo </li>
+<li>Frame sizes from 2.5 ms to 60 ms </li>
+<li>Good loss robustness and packet loss concealment (PLC) </li>
+<li>Floating point and fixed-point implementation</li>
+</ul>
+<p>Documentation sections: </p>
+<ul>
+<li><a class="el" href="group__opusencoder.html">Opus Encoder</a> </li>
+<li><a class="el" href="group__opusdecoder.html">Opus Decoder</a> </li>
+<li><a class="el" href="group__repacketizer.html">Repacketizer</a> </li>
+<li><a class="el" href="group__libinfo.html">Opus library information functions</a> </li>
+</ul>
+</div></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
@@ -70,7 +90,7 @@
</iframe>
</div>
-<hr class="footer"/><address class="footer"><small>Generated on Fri Sep 16 2011 00:51:57 for Opus by 
+<hr class="footer"/><address class="footer"><small>Generated on Thu Sep 22 2011 17:58:07 for Opus by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
Modified: websites/opus-codec.org/docs/html_api/modules.html
===================================================================
--- websites/opus-codec.org/docs/html_api/modules.html 2011-09-22 19:17:55 UTC (rev 18093)
+++ websites/opus-codec.org/docs/html_api/modules.html 2011-09-22 22:01:58 UTC (rev 18094)
@@ -19,7 +19,7 @@
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
- <div id="projectname">Opus <span id="projectnumber">0.9.6-149-g48069bf</span></div>
+ <div id="projectname">Opus <span id="projectnumber">0.9.6-157-g363924e</span></div>
<div id="projectbrief">IETFlow-delayaudiocodec</div>
</td>
</tr>
@@ -79,7 +79,7 @@
</iframe>
</div>
-<hr class="footer"/><address class="footer"><small>Generated on Fri Sep 16 2011 00:51:57 for Opus by 
+<hr class="footer"/><address class="footer"><small>Generated on Thu Sep 22 2011 17:58:07 for Opus by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
Modified: websites/opus-codec.org/docs/html_api/opus_8h.html
===================================================================
--- websites/opus-codec.org/docs/html_api/opus_8h.html 2011-09-22 19:17:55 UTC (rev 18093)
+++ websites/opus-codec.org/docs/html_api/opus_8h.html 2011-09-22 22:01:58 UTC (rev 18094)
@@ -19,7 +19,7 @@
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
- <div id="projectname">Opus <span id="projectnumber">0.9.6-149-g48069bf</span></div>
+ <div id="projectname">Opus <span id="projectnumber">0.9.6-157-g363924e</span></div>
<div id="projectbrief">IETFlow-delayaudiocodec</div>
</td>
</tr>
@@ -146,7 +146,7 @@
</iframe>
</div>
-<hr class="footer"/><address class="footer"><small>Generated on Fri Sep 16 2011 00:51:57 for Opus by 
+<hr class="footer"/><address class="footer"><small>Generated on Thu Sep 22 2011 17:58:07 for Opus by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
Modified: websites/opus-codec.org/docs/html_api/opus_8h_source.html
===================================================================
--- websites/opus-codec.org/docs/html_api/opus_8h_source.html 2011-09-22 19:17:55 UTC (rev 18093)
+++ websites/opus-codec.org/docs/html_api/opus_8h_source.html 2011-09-22 22:01:58 UTC (rev 18094)
@@ -19,7 +19,7 @@
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
- <div id="projectname">Opus <span id="projectnumber">0.9.6-149-g48069bf</span></div>
+ <div id="projectname">Opus <span id="projectnumber">0.9.6-157-g363924e</span></div>
<div id="projectbrief">IETFlow-delayaudiocodec</div>
</td>
</tr>
@@ -97,122 +97,122 @@
<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
<a name="l00041"></a>00041 <span class="preprocessor">#endif</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span>
-<a name="l00052"></a><a class="code" href="group__opusencoder.html#gaf461a3ef2f10c2fe8b994a176f06c9bd">00052</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__opusencoder.html#gaf461a3ef2f10c2fe8b994a176f06c9bd" title="Opus encoder state.">OpusEncoder</a> <a class="code" href="group__opusencoder.html#gaf461a3ef2f10c2fe8b994a176f06c9bd" title="Opus encoder state.">OpusEncoder</a>;
-<a name="l00053"></a>00053
-<a name="l00054"></a>00054 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusencoder.html#gaefeb7dc1d6e3b59dea5ea674c86e9c18">opus_encoder_get_size</a>(<span class="keywordtype">int</span> channels);
-<a name="l00055"></a>00055
-<a name="l00079"></a>00079 OPUS_EXPORT <a class="code" href="group__opusencoder.html#gaf461a3ef2f10c2fe8b994a176f06c9bd" title="Opus encoder state.">OpusEncoder</a> *<a class="code" href="group__opusencoder.html#gaa89264fd93c9da70362a0c9b96b9ca88" title="Allocates and initializes an encoder state.">opus_encoder_create</a>(
-<a name="l00080"></a>00080 <a class="code" href="opus__types_8h.html#aa4d309d6f80b99dbabebc8f98879ab9a">opus_int32</a> Fs,
-<a name="l00081"></a>00081 <span class="keywordtype">int</span> channels,
-<a name="l00082"></a>00082 <span class="keywordtype">int</span> application,
-<a name="l00083"></a>00083 <span class="keywordtype">int</span> *error
-<a name="l00084"></a>00084 );
-<a name="l00085"></a>00085
-<a name="l00096"></a>00096 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusencoder.html#ga515db1c267a7421dacaad3610f79eb79" title="Initializes a previously allocated encoder state The memory pointed to by st must be the size returne...">opus_encoder_init</a>(
-<a name="l00097"></a>00097 <a class="code" href="group__opusencoder.html#gaf461a3ef2f10c2fe8b994a176f06c9bd" title="Opus encoder state.">OpusEncoder</a> *st,
-<a name="l00098"></a>00098 <a class="code" href="opus__types_8h.html#aa4d309d6f80b99dbabebc8f98879ab9a">opus_int32</a> Fs,
-<a name="l00099"></a>00099 <span class="keywordtype">int</span> channels,
-<a name="l00100"></a>00100 <span class="keywordtype">int</span> application
-<a name="l00101"></a>00101 );
-<a name="l00102"></a>00102
-<a name="l00115"></a>00115 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusencoder.html#ga88621a963b809ebfc27887f13518c966" title="Encodes an Opus frame.">opus_encode</a>(
-<a name="l00116"></a>00116 <a class="code" href="group__opusencoder.html#gaf461a3ef2f10c2fe8b994a176f06c9bd" title="Opus encoder state.">OpusEncoder</a> *st,
-<a name="l00117"></a>00117 <span class="keyword">const</span> <a class="code" href="opus__types_8h.html#acc9ed7cf60479eb81f9648c6ec27dc26">opus_int16</a> *pcm,
-<a name="l00118"></a>00118 <span class="keywordtype">int</span> frame_size,
-<a name="l00119"></a>00119 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data,
-<a name="l00120"></a>00120 <span class="keywordtype">int</span> max_data_bytes
-<a name="l00121"></a>00121 );
-<a name="l00122"></a>00122
-<a name="l00135"></a>00135 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusencoder.html#gace941e4ef26ed844879fde342ffbe546" title="Encodes an Opus frame from floating point input.">opus_encode_float</a>(
-<a name="l00136"></a>00136 <a class="code" href="group__opusencoder.html#gaf461a3ef2f10c2fe8b994a176f06c9bd" title="Opus encoder state.">OpusEncoder</a> *st,
-<a name="l00137"></a>00137 <span class="keyword">const</span> <span class="keywordtype">float</span> *pcm,
-<a name="l00138"></a>00138 <span class="keywordtype">int</span> frame_size,
-<a name="l00139"></a>00139 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data,
-<a name="l00140"></a>00140 <span class="keywordtype">int</span> max_data_bytes
-<a name="l00141"></a>00141 );
-<a name="l00142"></a>00142
-<a name="l00146"></a>00146 OPUS_EXPORT <span class="keywordtype">void</span> <a class="code" href="group__opusencoder.html#ga5f4c05b4b51cdffec5a55dbf17bbfa1c" title="Frees an OpusEncoder allocated by opus_encoder_create.">opus_encoder_destroy</a>(<a class="code" href="group__opusencoder.html#gaf461a3ef2f10c2fe8b994a176f06c9bd" title="Opus encoder state.">OpusEncoder</a> *st);
-<a name="l00147"></a>00147
-<a name="l00151"></a>00151 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusencoder.html#ga164cbb0425238961919adf1db67949df" title="Perform a CTL function on an Opus encoder.">opus_encoder_ctl</a>(<a class="code" href="group__opusencoder.html#gaf461a3ef2f10c2fe8b994a176f06c9bd" title="Opus encoder state.">OpusEncoder</a> *st, <span class="keywordtype">int</span> request, ...);
-<a name="l00163"></a><a class="code" href="group__opusdecoder.html#ga401d8579958d36094715a6b90cd159a6">00163</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__opusdecoder.html#ga401d8579958d36094715a6b90cd159a6" title="Opus decoder state.">OpusDecoder</a> <a class="code" href="group__opusdecoder.html#ga401d8579958d36094715a6b90cd159a6" title="Opus decoder state.">OpusDecoder</a>;
+<a name="l00163"></a><a class="code" href="group__opusencoder.html#gaf461a3ef2f10c2fe8b994a176f06c9bd">00163</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__opusencoder.html#gaf461a3ef2f10c2fe8b994a176f06c9bd" title="Opus encoder state.">OpusEncoder</a> <a class="code" href="group__opusencoder.html#gaf461a3ef2f10c2fe8b994a176f06c9bd" title="Opus encoder state.">OpusEncoder</a>;
<a name="l00164"></a>00164
-<a name="l00169"></a>00169 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusdecoder.html#gac918415b2ee21add75b7f867ce235011" title="Gets the size of an OpusDecoder structure.">opus_decoder_get_size</a>(<span class="keywordtype">int</span> channels);
-<a name="l00170"></a>00170
-<a name="l00176"></a>00176 OPUS_EXPORT <a class="code" href="group__opusdecoder.html#ga401d8579958d36094715a6b90cd159a6" title="Opus decoder state.">OpusDecoder</a> *<a class="code" href="group__opusdecoder.html#ga753f6fe0b699c81cfd47d70c8e15a0bd" title="Allocates and initializes a decoder state.">opus_decoder_create</a>(
-<a name="l00177"></a>00177 <a class="code" href="opus__types_8h.html#aa4d309d6f80b99dbabebc8f98879ab9a">opus_int32</a> Fs,
-<a name="l00178"></a>00178 <span class="keywordtype">int</span> channels,
-<a name="l00179"></a>00179 <span class="keywordtype">int</span> *error
-<a name="l00180"></a>00180 );
-<a name="l00181"></a>00181
-<a name="l00191"></a>00191 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusdecoder.html#ga939156d1f561c4273d5c62fa9c235a01" title="Initializes a previously allocated decoder state.">opus_decoder_init</a>(
-<a name="l00192"></a>00192 <a class="code" href="group__opusdecoder.html#ga401d8579958d36094715a6b90cd159a6" title="Opus decoder state.">OpusDecoder</a> *st,
-<a name="l00193"></a>00193 <a class="code" href="opus__types_8h.html#aa4d309d6f80b99dbabebc8f98879ab9a">opus_int32</a> Fs,
-<a name="l00194"></a>00194 <span class="keywordtype">int</span> channels
+<a name="l00165"></a>00165 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusencoder.html#gaefeb7dc1d6e3b59dea5ea674c86e9c18">opus_encoder_get_size</a>(<span class="keywordtype">int</span> channels);
+<a name="l00166"></a>00166
+<a name="l00190"></a>00190 OPUS_EXPORT <a class="code" href="group__opusencoder.html#gaf461a3ef2f10c2fe8b994a176f06c9bd" title="Opus encoder state.">OpusEncoder</a> *<a class="code" href="group__opusencoder.html#gaa89264fd93c9da70362a0c9b96b9ca88" title="Allocates and initializes an encoder state.">opus_encoder_create</a>(
+<a name="l00191"></a>00191 <a class="code" href="opus__types_8h.html#aa4d309d6f80b99dbabebc8f98879ab9a">opus_int32</a> Fs,
+<a name="l00192"></a>00192 <span class="keywordtype">int</span> channels,
+<a name="l00193"></a>00193 <span class="keywordtype">int</span> application,
+<a name="l00194"></a>00194 <span class="keywordtype">int</span> *error
<a name="l00195"></a>00195 );
<a name="l00196"></a>00196
-<a name="l00209"></a>00209 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusdecoder.html#ga1a8b923c1041ad4976ceada237e117ba" title="Decode an Opus frame.">opus_decode</a>(
-<a name="l00210"></a>00210 <a class="code" href="group__opusdecoder.html#ga401d8579958d36094715a6b90cd159a6" title="Opus decoder state.">OpusDecoder</a> *st,
-<a name="l00211"></a>00211 <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data,
-<a name="l00212"></a>00212 <span class="keywordtype">int</span> len,
-<a name="l00213"></a>00213 <a class="code" href="opus__types_8h.html#acc9ed7cf60479eb81f9648c6ec27dc26">opus_int16</a> *pcm,
-<a name="l00214"></a>00214 <span class="keywordtype">int</span> frame_size,
-<a name="l00215"></a>00215 <span class="keywordtype">int</span> decode_fec
-<a name="l00216"></a>00216 );
-<a name="l00217"></a>00217
-<a name="l00230"></a>00230 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusdecoder.html#ga53b7fd5621613c4d7fcc17000ff1c9ec" title="Decode an opus frame with floating point output.">opus_decode_float</a>(
-<a name="l00231"></a>00231 <a class="code" href="group__opusdecoder.html#ga401d8579958d36094715a6b90cd159a6" title="Opus decoder state.">OpusDecoder</a> *st,
-<a name="l00232"></a>00232 <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data,
-<a name="l00233"></a>00233 <span class="keywordtype">int</span> len,
-<a name="l00234"></a>00234 <span class="keywordtype">float</span> *pcm,
-<a name="l00235"></a>00235 <span class="keywordtype">int</span> frame_size,
-<a name="l00236"></a>00236 <span class="keywordtype">int</span> decode_fec
-<a name="l00237"></a>00237 );
-<a name="l00238"></a>00238
-<a name="l00242"></a>00242 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusdecoder.html#ga2d492844b4f66e7f34d85870f13d4846" title="Perform a CTL function on an Opus decoder.">opus_decoder_ctl</a>(<a class="code" href="group__opusdecoder.html#ga401d8579958d36094715a6b90cd159a6" title="Opus decoder state.">OpusDecoder</a> *st, <span class="keywordtype">int</span> request, ...);
-<a name="l00243"></a>00243
-<a name="l00247"></a>00247 OPUS_EXPORT <span class="keywordtype">void</span> <a class="code" href="group__opusdecoder.html#gafebf4cb3c29c9317cac385446a76e36e" title="Frees an OpusDecoder allocated by opus_decoder_create.">opus_decoder_destroy</a>(<a class="code" href="group__opusdecoder.html#ga401d8579958d36094715a6b90cd159a6" title="Opus decoder state.">OpusDecoder</a> *st);
-<a name="l00248"></a>00248
-<a name="l00262"></a>00262 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusdecoder.html#gab25a4df8111a9b6342b1f085f848cba9" title="Parse an opus packet into one or more frames.">opus_packet_parse</a>(
-<a name="l00263"></a>00263 <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data,
-<a name="l00264"></a>00264 <span class="keywordtype">int</span> len,
-<a name="l00265"></a>00265 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *out_toc,
-<a name="l00266"></a>00266 <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *frames[48],
-<a name="l00267"></a>00267 <span class="keywordtype">short</span> size[48],
-<a name="l00268"></a>00268 <span class="keywordtype">int</span> *payload_offset
-<a name="l00269"></a>00269 );
-<a name="l00270"></a>00270
-<a name="l00280"></a>00280 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusdecoder.html#ga89b9375b6ff5e15f07fdc5d0cf4f0053" title="Gets the bandwidth of an Opus packet.">opus_packet_get_bandwidth</a>(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data);
-<a name="l00281"></a>00281
-<a name="l00288"></a>00288 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusdecoder.html#gab2a955acced631c6cb7876bbdc7953d4" title="Gets the number of samples per frame from an Opus packet.">opus_packet_get_samples_per_frame</a>(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data, <a class="code" href="opus__types_8h.html#aa4d309d6f80b99dbabebc8f98879ab9a">opus_int32</a> Fs);
-<a name="l00289"></a>00289
-<a name="l00295"></a>00295 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusdecoder.html#ga4209376ddf8cc3379767e1749e1ef26d" title="Gets the number of channels from an Opus packet.">opus_packet_get_nb_channels</a>(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data);
-<a name="l00296"></a>00296
-<a name="l00303"></a>00303 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusdecoder.html#gaca454596b9deceb6449662c1287d9f90" title="Gets the number of frame in an Opus packet.">opus_packet_get_nb_frames</a>(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> packet[], <span class="keywordtype">int</span> len);
-<a name="l00304"></a>00304
-<a name="l00312"></a>00312 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusdecoder.html#ga895fbdd007bab726ace70be21f88f13e" title="Gets the number of samples of an Opus packet.">opus_decoder_get_nb_samples</a>(<span class="keyword">const</span> <a class="code" href="group__opusdecoder.html#ga401d8579958d36094715a6b90cd159a6" title="Opus decoder state.">OpusDecoder</a> *dec, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> packet[], <span class="keywordtype">int</span> len);
-<a name="l00319"></a><a class="code" href="group__repacketizer.html#ga1f85070a64bcbf5bf24f5ccb80323e7b">00319</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__repacketizer.html#ga1f85070a64bcbf5bf24f5ccb80323e7b">OpusRepacketizer</a> <a class="code" href="group__repacketizer.html#ga1f85070a64bcbf5bf24f5ccb80323e7b">OpusRepacketizer</a>;
-<a name="l00320"></a>00320
-<a name="l00321"></a>00321 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__repacketizer.html#ga35c8fc05764748d187c62fc50e812d06">opus_repacketizer_get_size</a>(<span class="keywordtype">void</span>);
-<a name="l00322"></a>00322
-<a name="l00323"></a>00323 OPUS_EXPORT <a class="code" href="group__repacketizer.html#ga1f85070a64bcbf5bf24f5ccb80323e7b">OpusRepacketizer</a> *<a class="code" href="group__repacketizer.html#gab42ff7c3f8a49ff5029fcf60f3b853f0">opus_repacketizer_init</a>(<a class="code" href="group__repacketizer.html#ga1f85070a64bcbf5bf24f5ccb80323e7b">OpusRepacketizer</a> *rp);
-<a name="l00324"></a>00324
-<a name="l00325"></a>00325 OPUS_EXPORT <a class="code" href="group__repacketizer.html#ga1f85070a64bcbf5bf24f5ccb80323e7b">OpusRepacketizer</a> *<a class="code" href="group__repacketizer.html#ga6f8813666ef851550ecf8658a731ff7d">opus_repacketizer_create</a>(<span class="keywordtype">void</span>);
-<a name="l00326"></a>00326
-<a name="l00327"></a>00327 OPUS_EXPORT <span class="keywordtype">void</span> <a class="code" href="group__repacketizer.html#gadb08b25d2a29a559c35774cfe2a1b886">opus_repacketizer_destroy</a>(<a class="code" href="group__repacketizer.html#ga1f85070a64bcbf5bf24f5ccb80323e7b">OpusRepacketizer</a> *rp);
-<a name="l00328"></a>00328
-<a name="l00329"></a>00329 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__repacketizer.html#gae81b8d237be0777a18e4a0f0247dd050">opus_repacketizer_cat</a>(<a class="code" href="group__repacketizer.html#ga1f85070a64bcbf5bf24f5ccb80323e7b">OpusRepacketizer</a> *rp, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data, <span class="keywordtype">int</span> len);
-<a name="l00330"></a>00330
-<a name="l00331"></a>00331 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__repacketizer.html#ga31a032d3b3fd2b08c07af808e060060f">opus_repacketizer_out_range</a>(<a class="code" href="group__repacketizer.html#ga1f85070a64bcbf5bf24f5ccb80323e7b">OpusRepacketizer</a> *rp, <span class="keywordtype">int</span> begin, <span class="keywordtype">int</span> end, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data, <span class="keywordtype">int</span> maxlen);
-<a name="l00332"></a>00332
-<a name="l00333"></a>00333 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__repacketizer.html#ga2cad98d04458aafdf6bb9f22f34ea7c0">opus_repacketizer_get_nb_frames</a>(<a class="code" href="group__repacketizer.html#ga1f85070a64bcbf5bf24f5ccb80323e7b">OpusRepacketizer</a> *rp);
-<a name="l00334"></a>00334
-<a name="l00335"></a>00335 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__repacketizer.html#ga4fbd54e95090558856376139d62008aa">opus_repacketizer_out</a>(<a class="code" href="group__repacketizer.html#ga1f85070a64bcbf5bf24f5ccb80323e7b">OpusRepacketizer</a> *rp, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data, <span class="keywordtype">int</span> maxlen);
-<a name="l00336"></a>00336
-<a name="l00339"></a>00339 <span class="preprocessor">#ifdef __cplusplus</span>
-<a name="l00340"></a>00340 <span class="preprocessor"></span>}
-<a name="l00341"></a>00341 <span class="preprocessor">#endif</span>
-<a name="l00342"></a>00342 <span class="preprocessor"></span>
-<a name="l00343"></a>00343 <span class="preprocessor">#endif </span><span class="comment">/* OPUS_H */</span>
+<a name="l00207"></a>00207 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusencoder.html#ga515db1c267a7421dacaad3610f79eb79" title="Initializes a previously allocated encoder state The memory pointed to by st must be the size returne...">opus_encoder_init</a>(
+<a name="l00208"></a>00208 <a class="code" href="group__opusencoder.html#gaf461a3ef2f10c2fe8b994a176f06c9bd" title="Opus encoder state.">OpusEncoder</a> *st,
+<a name="l00209"></a>00209 <a class="code" href="opus__types_8h.html#aa4d309d6f80b99dbabebc8f98879ab9a">opus_int32</a> Fs,
+<a name="l00210"></a>00210 <span class="keywordtype">int</span> channels,
+<a name="l00211"></a>00211 <span class="keywordtype">int</span> application
+<a name="l00212"></a>00212 );
+<a name="l00213"></a>00213
+<a name="l00226"></a>00226 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusencoder.html#ga88621a963b809ebfc27887f13518c966" title="Encodes an Opus frame.">opus_encode</a>(
+<a name="l00227"></a>00227 <a class="code" href="group__opusencoder.html#gaf461a3ef2f10c2fe8b994a176f06c9bd" title="Opus encoder state.">OpusEncoder</a> *st,
+<a name="l00228"></a>00228 <span class="keyword">const</span> <a class="code" href="opus__types_8h.html#acc9ed7cf60479eb81f9648c6ec27dc26">opus_int16</a> *pcm,
+<a name="l00229"></a>00229 <span class="keywordtype">int</span> frame_size,
+<a name="l00230"></a>00230 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data,
+<a name="l00231"></a>00231 <span class="keywordtype">int</span> max_data_bytes
+<a name="l00232"></a>00232 );
+<a name="l00233"></a>00233
+<a name="l00246"></a>00246 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusencoder.html#gace941e4ef26ed844879fde342ffbe546" title="Encodes an Opus frame from floating point input.">opus_encode_float</a>(
+<a name="l00247"></a>00247 <a class="code" href="group__opusencoder.html#gaf461a3ef2f10c2fe8b994a176f06c9bd" title="Opus encoder state.">OpusEncoder</a> *st,
+<a name="l00248"></a>00248 <span class="keyword">const</span> <span class="keywordtype">float</span> *pcm,
+<a name="l00249"></a>00249 <span class="keywordtype">int</span> frame_size,
+<a name="l00250"></a>00250 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data,
+<a name="l00251"></a>00251 <span class="keywordtype">int</span> max_data_bytes
+<a name="l00252"></a>00252 );
+<a name="l00253"></a>00253
+<a name="l00257"></a>00257 OPUS_EXPORT <span class="keywordtype">void</span> <a class="code" href="group__opusencoder.html#ga5f4c05b4b51cdffec5a55dbf17bbfa1c" title="Frees an OpusEncoder allocated by opus_encoder_create.">opus_encoder_destroy</a>(<a class="code" href="group__opusencoder.html#gaf461a3ef2f10c2fe8b994a176f06c9bd" title="Opus encoder state.">OpusEncoder</a> *st);
+<a name="l00258"></a>00258
+<a name="l00262"></a>00262 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusencoder.html#ga164cbb0425238961919adf1db67949df" title="Perform a CTL function on an Opus encoder.">opus_encoder_ctl</a>(<a class="code" href="group__opusencoder.html#gaf461a3ef2f10c2fe8b994a176f06c9bd" title="Opus encoder state.">OpusEncoder</a> *st, <span class="keywordtype">int</span> request, ...);
+<a name="l00320"></a><a class="code" href="group__opusdecoder.html#ga401d8579958d36094715a6b90cd159a6">00320</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__opusdecoder.html#ga401d8579958d36094715a6b90cd159a6" title="Opus decoder state.">OpusDecoder</a> <a class="code" href="group__opusdecoder.html#ga401d8579958d36094715a6b90cd159a6" title="Opus decoder state.">OpusDecoder</a>;
+<a name="l00321"></a>00321
+<a name="l00326"></a>00326 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusdecoder.html#gac918415b2ee21add75b7f867ce235011" title="Gets the size of an OpusDecoder structure.">opus_decoder_get_size</a>(<span class="keywordtype">int</span> channels);
+<a name="l00327"></a>00327
+<a name="l00333"></a>00333 OPUS_EXPORT <a class="code" href="group__opusdecoder.html#ga401d8579958d36094715a6b90cd159a6" title="Opus decoder state.">OpusDecoder</a> *<a class="code" href="group__opusdecoder.html#ga753f6fe0b699c81cfd47d70c8e15a0bd" title="Allocates and initializes a decoder state.">opus_decoder_create</a>(
+<a name="l00334"></a>00334 <a class="code" href="opus__types_8h.html#aa4d309d6f80b99dbabebc8f98879ab9a">opus_int32</a> Fs,
+<a name="l00335"></a>00335 <span class="keywordtype">int</span> channels,
+<a name="l00336"></a>00336 <span class="keywordtype">int</span> *error
+<a name="l00337"></a>00337 );
+<a name="l00338"></a>00338
+<a name="l00348"></a>00348 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusdecoder.html#ga939156d1f561c4273d5c62fa9c235a01" title="Initializes a previously allocated decoder state.">opus_decoder_init</a>(
+<a name="l00349"></a>00349 <a class="code" href="group__opusdecoder.html#ga401d8579958d36094715a6b90cd159a6" title="Opus decoder state.">OpusDecoder</a> *st,
+<a name="l00350"></a>00350 <a class="code" href="opus__types_8h.html#aa4d309d6f80b99dbabebc8f98879ab9a">opus_int32</a> Fs,
+<a name="l00351"></a>00351 <span class="keywordtype">int</span> channels
+<a name="l00352"></a>00352 );
+<a name="l00353"></a>00353
+<a name="l00366"></a>00366 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusdecoder.html#ga1a8b923c1041ad4976ceada237e117ba" title="Decode an Opus frame.">opus_decode</a>(
+<a name="l00367"></a>00367 <a class="code" href="group__opusdecoder.html#ga401d8579958d36094715a6b90cd159a6" title="Opus decoder state.">OpusDecoder</a> *st,
+<a name="l00368"></a>00368 <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data,
+<a name="l00369"></a>00369 <span class="keywordtype">int</span> len,
+<a name="l00370"></a>00370 <a class="code" href="opus__types_8h.html#acc9ed7cf60479eb81f9648c6ec27dc26">opus_int16</a> *pcm,
+<a name="l00371"></a>00371 <span class="keywordtype">int</span> frame_size,
+<a name="l00372"></a>00372 <span class="keywordtype">int</span> decode_fec
+<a name="l00373"></a>00373 );
+<a name="l00374"></a>00374
+<a name="l00387"></a>00387 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusdecoder.html#ga53b7fd5621613c4d7fcc17000ff1c9ec" title="Decode an opus frame with floating point output.">opus_decode_float</a>(
+<a name="l00388"></a>00388 <a class="code" href="group__opusdecoder.html#ga401d8579958d36094715a6b90cd159a6" title="Opus decoder state.">OpusDecoder</a> *st,
+<a name="l00389"></a>00389 <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data,
+<a name="l00390"></a>00390 <span class="keywordtype">int</span> len,
+<a name="l00391"></a>00391 <span class="keywordtype">float</span> *pcm,
+<a name="l00392"></a>00392 <span class="keywordtype">int</span> frame_size,
+<a name="l00393"></a>00393 <span class="keywordtype">int</span> decode_fec
+<a name="l00394"></a>00394 );
+<a name="l00395"></a>00395
+<a name="l00399"></a>00399 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusdecoder.html#ga2d492844b4f66e7f34d85870f13d4846" title="Perform a CTL function on an Opus decoder.">opus_decoder_ctl</a>(<a class="code" href="group__opusdecoder.html#ga401d8579958d36094715a6b90cd159a6" title="Opus decoder state.">OpusDecoder</a> *st, <span class="keywordtype">int</span> request, ...);
+<a name="l00400"></a>00400
+<a name="l00404"></a>00404 OPUS_EXPORT <span class="keywordtype">void</span> <a class="code" href="group__opusdecoder.html#gafebf4cb3c29c9317cac385446a76e36e" title="Frees an OpusDecoder allocated by opus_decoder_create.">opus_decoder_destroy</a>(<a class="code" href="group__opusdecoder.html#ga401d8579958d36094715a6b90cd159a6" title="Opus decoder state.">OpusDecoder</a> *st);
+<a name="l00405"></a>00405
+<a name="l00419"></a>00419 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusdecoder.html#gab25a4df8111a9b6342b1f085f848cba9" title="Parse an opus packet into one or more frames.">opus_packet_parse</a>(
+<a name="l00420"></a>00420 <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data,
+<a name="l00421"></a>00421 <span class="keywordtype">int</span> len,
+<a name="l00422"></a>00422 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *out_toc,
+<a name="l00423"></a>00423 <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *frames[48],
+<a name="l00424"></a>00424 <span class="keywordtype">short</span> size[48],
+<a name="l00425"></a>00425 <span class="keywordtype">int</span> *payload_offset
+<a name="l00426"></a>00426 );
+<a name="l00427"></a>00427
+<a name="l00437"></a>00437 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusdecoder.html#ga89b9375b6ff5e15f07fdc5d0cf4f0053" title="Gets the bandwidth of an Opus packet.">opus_packet_get_bandwidth</a>(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data);
+<a name="l00438"></a>00438
+<a name="l00445"></a>00445 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusdecoder.html#gab2a955acced631c6cb7876bbdc7953d4" title="Gets the number of samples per frame from an Opus packet.">opus_packet_get_samples_per_frame</a>(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data, <a class="code" href="opus__types_8h.html#aa4d309d6f80b99dbabebc8f98879ab9a">opus_int32</a> Fs);
+<a name="l00446"></a>00446
+<a name="l00452"></a>00452 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusdecoder.html#ga4209376ddf8cc3379767e1749e1ef26d" title="Gets the number of channels from an Opus packet.">opus_packet_get_nb_channels</a>(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data);
+<a name="l00453"></a>00453
+<a name="l00460"></a>00460 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusdecoder.html#gaca454596b9deceb6449662c1287d9f90" title="Gets the number of frame in an Opus packet.">opus_packet_get_nb_frames</a>(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> packet[], <span class="keywordtype">int</span> len);
+<a name="l00461"></a>00461
+<a name="l00469"></a>00469 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__opusdecoder.html#ga895fbdd007bab726ace70be21f88f13e" title="Gets the number of samples of an Opus packet.">opus_decoder_get_nb_samples</a>(<span class="keyword">const</span> <a class="code" href="group__opusdecoder.html#ga401d8579958d36094715a6b90cd159a6" title="Opus decoder state.">OpusDecoder</a> *dec, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> packet[], <span class="keywordtype">int</span> len);
+<a name="l00480"></a><a class="code" href="group__repacketizer.html#ga1f85070a64bcbf5bf24f5ccb80323e7b">00480</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__repacketizer.html#ga1f85070a64bcbf5bf24f5ccb80323e7b">OpusRepacketizer</a> <a class="code" href="group__repacketizer.html#ga1f85070a64bcbf5bf24f5ccb80323e7b">OpusRepacketizer</a>;
+<a name="l00481"></a>00481
+<a name="l00482"></a>00482 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__repacketizer.html#ga35c8fc05764748d187c62fc50e812d06">opus_repacketizer_get_size</a>(<span class="keywordtype">void</span>);
+<a name="l00483"></a>00483
+<a name="l00484"></a>00484 OPUS_EXPORT <a class="code" href="group__repacketizer.html#ga1f85070a64bcbf5bf24f5ccb80323e7b">OpusRepacketizer</a> *<a class="code" href="group__repacketizer.html#gab42ff7c3f8a49ff5029fcf60f3b853f0">opus_repacketizer_init</a>(<a class="code" href="group__repacketizer.html#ga1f85070a64bcbf5bf24f5ccb80323e7b">OpusRepacketizer</a> *rp);
+<a name="l00485"></a>00485
+<a name="l00486"></a>00486 OPUS_EXPORT <a class="code" href="group__repacketizer.html#ga1f85070a64bcbf5bf24f5ccb80323e7b">OpusRepacketizer</a> *<a class="code" href="group__repacketizer.html#ga6f8813666ef851550ecf8658a731ff7d">opus_repacketizer_create</a>(<span class="keywordtype">void</span>);
+<a name="l00487"></a>00487
+<a name="l00488"></a>00488 OPUS_EXPORT <span class="keywordtype">void</span> <a class="code" href="group__repacketizer.html#gadb08b25d2a29a559c35774cfe2a1b886">opus_repacketizer_destroy</a>(<a class="code" href="group__repacketizer.html#ga1f85070a64bcbf5bf24f5ccb80323e7b">OpusRepacketizer</a> *rp);
+<a name="l00489"></a>00489
+<a name="l00490"></a>00490 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__repacketizer.html#gae81b8d237be0777a18e4a0f0247dd050">opus_repacketizer_cat</a>(<a class="code" href="group__repacketizer.html#ga1f85070a64bcbf5bf24f5ccb80323e7b">OpusRepacketizer</a> *rp, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data, <span class="keywordtype">int</span> len);
+<a name="l00491"></a>00491
+<a name="l00492"></a>00492 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__repacketizer.html#ga31a032d3b3fd2b08c07af808e060060f">opus_repacketizer_out_range</a>(<a class="code" href="group__repacketizer.html#ga1f85070a64bcbf5bf24f5ccb80323e7b">OpusRepacketizer</a> *rp, <span class="keywordtype">int</span> begin, <span class="keywordtype">int</span> end, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data, <span class="keywordtype">int</span> maxlen);
+<a name="l00493"></a>00493
+<a name="l00494"></a>00494 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__repacketizer.html#ga2cad98d04458aafdf6bb9f22f34ea7c0">opus_repacketizer_get_nb_frames</a>(<a class="code" href="group__repacketizer.html#ga1f85070a64bcbf5bf24f5ccb80323e7b">OpusRepacketizer</a> *rp);
+<a name="l00495"></a>00495
+<a name="l00496"></a>00496 OPUS_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__repacketizer.html#ga4fbd54e95090558856376139d62008aa">opus_repacketizer_out</a>(<a class="code" href="group__repacketizer.html#ga1f85070a64bcbf5bf24f5ccb80323e7b">OpusRepacketizer</a> *rp, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *data, <span class="keywordtype">int</span> maxlen);
+<a name="l00497"></a>00497
+<a name="l00500"></a>00500 <span class="preprocessor">#ifdef __cplusplus</span>
+<a name="l00501"></a>00501 <span class="preprocessor"></span>}
+<a name="l00502"></a>00502 <span class="preprocessor">#endif</span>
+<a name="l00503"></a>00503 <span class="preprocessor"></span>
+<a name="l00504"></a>00504 <span class="preprocessor">#endif </span><span class="comment">/* OPUS_H */</span>
</pre></div></div>
</div>
<!-- window showing the filter options -->
@@ -229,7 +229,7 @@
</iframe>
</div>
-<hr class="footer"/><address class="footer"><small>Generated on Fri Sep 16 2011 00:51:57 for Opus by 
+<hr class="footer"/><address class="footer"><small>Generated on Thu Sep 22 2011 17:58:07 for Opus by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
Modified: websites/opus-codec.org/docs/html_api/opus__defines_8h.html
===================================================================
--- websites/opus-codec.org/docs/html_api/opus__defines_8h.html 2011-09-22 19:17:55 UTC (rev 18093)
+++ websites/opus-codec.org/docs/html_api/opus__defines_8h.html 2011-09-22 22:01:58 UTC (rev 18094)
@@ -19,7 +19,7 @@
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
- <div id="projectname">Opus <span id="projectnumber">0.9.6-149-g48069bf</span></div>
+ <div id="projectname">Opus <span id="projectnumber">0.9.6-157-g363924e</span></div>
<div id="projectbrief">IETFlow-delayaudiocodec</div>
</td>
</tr>
@@ -173,7 +173,7 @@
</iframe>
</div>
-<hr class="footer"/><address class="footer"><small>Generated on Fri Sep 16 2011 00:51:57 for Opus by 
+<hr class="footer"/><address class="footer"><small>Generated on Thu Sep 22 2011 17:58:07 for Opus by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
Modified: websites/opus-codec.org/docs/html_api/opus__defines_8h_source.html
===================================================================
--- websites/opus-codec.org/docs/html_api/opus__defines_8h_source.html 2011-09-22 19:17:55 UTC (rev 18093)
+++ websites/opus-codec.org/docs/html_api/opus__defines_8h_source.html 2011-09-22 22:01:58 UTC (rev 18094)
@@ -19,7 +19,7 @@
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
- <div id="projectname">Opus <span id="projectnumber">0.9.6-149-g48069bf</span></div>
+ <div id="projectname">Opus <span id="projectnumber">0.9.6-157-g363924e</span></div>
<div id="projectbrief">IETFlow-delayaudiocodec</div>
</td>
</tr>
@@ -255,7 +255,7 @@
</iframe>
</div>
-<hr class="footer"/><address class="footer"><small>Generated on Fri Sep 16 2011 00:51:57 for Opus by 
+<hr class="footer"/><address class="footer"><small>Generated on Thu Sep 22 2011 17:58:07 for Opus by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
Modified: websites/opus-codec.org/docs/html_api/opus__multistream_8h.html
===================================================================
--- websites/opus-codec.org/docs/html_api/opus__multistream_8h.html 2011-09-22 19:17:55 UTC (rev 18093)
+++ websites/opus-codec.org/docs/html_api/opus__multistream_8h.html 2011-09-22 22:01:58 UTC (rev 18094)
@@ -19,7 +19,7 @@
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
- <div id="projectname">Opus <span id="projectnumber">0.9.6-149-g48069bf</span></div>
+ <div id="projectname">Opus <span id="projectnumber">0.9.6-157-g363924e</span></div>
<div id="projectbrief">IETFlow-delayaudiocodec</div>
</td>
</tr>
@@ -893,7 +893,7 @@
</iframe>
</div>
-<hr class="footer"/><address class="footer"><small>Generated on Fri Sep 16 2011 00:51:57 for Opus by 
+<hr class="footer"/><address class="footer"><small>Generated on Thu Sep 22 2011 17:58:07 for Opus by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
Modified: websites/opus-codec.org/docs/html_api/opus__multistream_8h_source.html
===================================================================
--- websites/opus-codec.org/docs/html_api/opus__multistream_8h_source.html 2011-09-22 19:17:55 UTC (rev 18093)
+++ websites/opus-codec.org/docs/html_api/opus__multistream_8h_source.html 2011-09-22 22:01:58 UTC (rev 18094)
@@ -19,7 +19,7 @@
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
- <div id="projectname">Opus <span id="projectnumber">0.9.6-149-g48069bf</span></div>
+ <div id="projectname">Opus <span id="projectnumber">0.9.6-157-g363924e</span></div>
<div id="projectbrief">IETFlow-delayaudiocodec</div>
</td>
</tr>
@@ -202,7 +202,7 @@
</iframe>
</div>
-<hr class="footer"/><address class="footer"><small>Generated on Fri Sep 16 2011 00:51:57 for Opus by 
+<hr class="footer"/><address class="footer"><small>Generated on Thu Sep 22 2011 17:58:07 for Opus by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
Modified: websites/opus-codec.org/docs/html_api/opus__types_8h.html
===================================================================
--- websites/opus-codec.org/docs/html_api/opus__types_8h.html 2011-09-22 19:17:55 UTC (rev 18093)
+++ websites/opus-codec.org/docs/html_api/opus__types_8h.html 2011-09-22 22:01:58 UTC (rev 18094)
@@ -19,7 +19,7 @@
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
- <div id="projectname">Opus <span id="projectnumber">0.9.6-149-g48069bf</span></div>
+ <div id="projectname">Opus <span id="projectnumber">0.9.6-157-g363924e</span></div>
<div id="projectbrief">IETFlow-delayaudiocodec</div>
</td>
</tr>
@@ -234,7 +234,7 @@
</iframe>
</div>
-<hr class="footer"/><address class="footer"><small>Generated on Fri Sep 16 2011 00:51:57 for Opus by 
+<hr class="footer"/><address class="footer"><small>Generated on Thu Sep 22 2011 17:58:07 for Opus by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
Modified: websites/opus-codec.org/docs/html_api/opus__types_8h_source.html
===================================================================
--- websites/opus-codec.org/docs/html_api/opus__types_8h_source.html 2011-09-22 19:17:55 UTC (rev 18093)
+++ websites/opus-codec.org/docs/html_api/opus__types_8h_source.html 2011-09-22 22:01:58 UTC (rev 18094)
@@ -19,7 +19,7 @@
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
- <div id="projectname">Opus <span id="projectnumber">0.9.6-149-g48069bf</span></div>
+ <div id="projectname">Opus <span id="projectnumber">0.9.6-157-g363924e</span></div>
<div id="projectbrief">IETFlow-delayaudiocodec</div>
</td>
</tr>
@@ -231,7 +231,7 @@
</iframe>
</div>
-<hr class="footer"/><address class="footer"><small>Generated on Fri Sep 16 2011 00:51:57 for Opus by 
+<hr class="footer"/><address class="footer"><small>Generated on Thu Sep 22 2011 17:58:07 for Opus by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
Modified: websites/opus-codec.org/docs/opus_api.pdf
===================================================================
(Binary files differ)
More information about the commits
mailing list