4 <title>libvorbis - function - vorbis_synthesis</title>
5 <link rel=stylesheet href="style.css" type="text/css">
8 <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
9 <table border=0 width=100%>
11 <td><p class=tiny>libvorbis documentation</p></td>
12 <td align=right><p class=tiny>libvorbis version 1.3.2 - 20101101</p></td>
16 <h1>vorbis_synthesis</h1>
18 <p><i>declared in "vorbis/codec.h";</i></p>
20 <p>This function decodes a Vorbis packet into a block of data. The
21 <a href="vorbis_block.html">vorbis_block</a> should then be submitted
22 to the <a href="vorbis_dsp_state.html">vorbis_dsp_state</a>
23 for the decoder instance using
24 <a href="vorbis_synthesis_blockin.html">vorbis_synthesis_blockin</a>
25 to be assembled into the final decoded audio.</p>
27 <table border=0 color=black cellspacing=0 cellpadding=7>
31 extern int vorbis_synthesis(vorbis_block *vb,ogg_packet *op);
40 <dd>The <a href="vorbis_block.html">vorbis_block</a> to decode the
43 <dd>The ogg_packet to decode.</dd>
47 <h3>Return Values</h3>
49 <li>0 on success.</li>
50 <li>OV_ENOTAUDIO if the packet is not an audio packet.</li>
51 <li>OV_EBADPACKET if there was an error in the packet.</li>
57 <table border=0 width=100%>
59 <td><p class=tiny>copyright © 2010 Xiph.Org</p></td>
60 <td align=right><p class=tiny><a href="https://xiph.org/vorbis/">Ogg Vorbis</a></p></td>
62 <td><p class=tiny>libvorbis documentation</p></td>
63 <td align=right><p class=tiny>libvorbis version 1.3.2 - 20101101</p></td>