cannam@86
|
1 <html>
|
cannam@86
|
2
|
cannam@86
|
3 <head>
|
cannam@86
|
4 <title>libvorbis - function - vorbis_synthesis</title>
|
cannam@86
|
5 <link rel=stylesheet href="style.css" type="text/css">
|
cannam@86
|
6 </head>
|
cannam@86
|
7
|
cannam@86
|
8 <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
|
cannam@86
|
9 <table border=0 width=100%>
|
cannam@86
|
10 <tr>
|
cannam@86
|
11 <td><p class=tiny>libvorbis documentation</p></td>
|
cannam@86
|
12 <td align=right><p class=tiny>libvorbis version 1.3.2 - 20101101</p></td>
|
cannam@86
|
13 </tr>
|
cannam@86
|
14 </table>
|
cannam@86
|
15
|
cannam@86
|
16 <h1>vorbis_synthesis</h1>
|
cannam@86
|
17
|
cannam@86
|
18 <p><i>declared in "vorbis/codec.h";</i></p>
|
cannam@86
|
19
|
cannam@86
|
20 <p>This function decodes a Vorbis packet into a block of data. The
|
cannam@86
|
21 <a href="vorbis_block.html">vorbis_block</a> should then be submitted
|
cannam@86
|
22 to the <a href="vorbis_dsp_state.html">vorbis_dsp_state</a>
|
cannam@86
|
23 for the decoder instance using
|
cannam@86
|
24 <a href="vorbis_synthesis_blockin.html">vorbis_synthesis_blockin</a>
|
cannam@86
|
25 to be assembled into the final decoded audio.</p>
|
cannam@86
|
26
|
cannam@86
|
27 <table border=0 color=black cellspacing=0 cellpadding=7>
|
cannam@86
|
28 <tr bgcolor=#cccccc>
|
cannam@86
|
29 <td>
|
cannam@86
|
30 <pre><b>
|
cannam@86
|
31 extern int vorbis_synthesis(vorbis_block *vb,ogg_packet *op);
|
cannam@86
|
32 </b></pre>
|
cannam@86
|
33 </td>
|
cannam@86
|
34 </tr>
|
cannam@86
|
35 </table>
|
cannam@86
|
36
|
cannam@86
|
37 <h3>Parameters</h3>
|
cannam@86
|
38 <dl>
|
cannam@86
|
39 <dt><i>vb</i></dt>
|
cannam@86
|
40 <dd>The <a href="vorbis_block.html">vorbis_block</a> to decode the
|
cannam@86
|
41 packet into.</dd>
|
cannam@86
|
42 <dt><i>op</i></dt>
|
cannam@86
|
43 <dd>The ogg_packet to decode.</dd>
|
cannam@86
|
44 </dl>
|
cannam@86
|
45
|
cannam@86
|
46
|
cannam@86
|
47 <h3>Return Values</h3>
|
cannam@86
|
48 <blockquote>
|
cannam@86
|
49 <li>0 on success.</li>
|
cannam@86
|
50 <li>OV_ENOTAUDIO if the packet is not an audio packet.</li>
|
cannam@86
|
51 <li>OV_EBADPACKET if there was an error in the packet.</li>
|
cannam@86
|
52 </blockquote>
|
cannam@86
|
53 <p>
|
cannam@86
|
54
|
cannam@86
|
55 <br><br>
|
cannam@86
|
56 <hr noshade>
|
cannam@86
|
57 <table border=0 width=100%>
|
cannam@86
|
58 <tr valign=top>
|
cannam@86
|
59 <td><p class=tiny>copyright © 2010 Xiph.Org</p></td>
|
cannam@86
|
60 <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/index.html">Ogg Vorbis</a></p></td>
|
cannam@86
|
61 </tr><tr>
|
cannam@86
|
62 <td><p class=tiny>libvorbis documentation</p></td>
|
cannam@86
|
63 <td align=right><p class=tiny>libvorbis version 1.3.2 - 20101101</p></td>
|
cannam@86
|
64 </tr>
|
cannam@86
|
65 </table>
|
cannam@86
|
66
|
cannam@86
|
67
|
cannam@86
|
68 </body>
|
cannam@86
|
69
|
cannam@86
|
70 </html>
|