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