Chris@1
|
1 <html>
|
Chris@1
|
2
|
Chris@1
|
3 <head>
|
Chris@1
|
4 <title>libvorbis - function - vorbis_synthesis_lapout</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_lapout</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 retrieves buffers containing decoded audio samples, similarly
|
Chris@1
|
21 to <a href="vorbis_synthesis_pcmout.html">vorbis_synthesis_pcmout</a>.
|
Chris@1
|
22 However, it includes some extra samples extrapolated from the end of
|
Chris@1
|
23 the audio, suitable for crosslapping with other blocks. This exists mainly
|
Chris@1
|
24 for <a href="../vorbisfile/index.html">libvorbisfile</a> to use for
|
Chris@1
|
25 handling chained bitstreams and bitstreams with holes.</p>
|
Chris@1
|
26
|
Chris@1
|
27 <table border=0 color=black cellspacing=0 cellpadding=7>
|
Chris@1
|
28 <tr bgcolor=#cccccc>
|
Chris@1
|
29 <td>
|
Chris@1
|
30 <pre><b>
|
Chris@1
|
31 extern int vorbis_synthesis_lapout(vorbis_dsp_state *v,float ***pcm);
|
Chris@1
|
32 </b></pre>
|
Chris@1
|
33 </td>
|
Chris@1
|
34 </tr>
|
Chris@1
|
35 </table>
|
Chris@1
|
36
|
Chris@1
|
37 <h3>Parameters</h3>
|
Chris@1
|
38 <dl>
|
Chris@1
|
39 <dt><i>v</i></dt>
|
Chris@1
|
40 <dd>The <a href="vorbis_dsp_state.html">vorbis_dsp_state</a> for the
|
Chris@1
|
41 decoder instance.</dd>
|
Chris@1
|
42 <dt><i>pcm</i></dt>
|
Chris@1
|
43 <dd>A pointer to a float** which will be made to point to an array of
|
Chris@1
|
44 pointers to the decoded samples for each channel. The memory is owned
|
Chris@1
|
45 by the decoder instance and will be freed when the application continues
|
Chris@1
|
46 decoding or destroys the decoder instance. This can be NULL, in which
|
Chris@1
|
47 case the return value gives the number of samples that would be returned
|
Chris@1
|
48 if this function were called with a non-NULL pointer here.</dd>
|
Chris@1
|
49 </dl>
|
Chris@1
|
50
|
Chris@1
|
51
|
Chris@1
|
52 <h3>Return Values</h3>
|
Chris@1
|
53 <blockquote>
|
Chris@1
|
54 <li>The number of samples available in the output buffer.</li>
|
Chris@1
|
55 <li>0 if no more samples are currently available.</li>
|
Chris@1
|
56 </blockquote>
|
Chris@1
|
57 <p>
|
Chris@1
|
58
|
Chris@1
|
59 <br><br>
|
Chris@1
|
60 <hr noshade>
|
Chris@1
|
61 <table border=0 width=100%>
|
Chris@1
|
62 <tr valign=top>
|
Chris@1
|
63 <td><p class=tiny>copyright © 2010 Xiph.Org</p></td>
|
Chris@1
|
64 <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/index.html">Ogg Vorbis</a></p></td>
|
Chris@1
|
65 </tr><tr>
|
Chris@1
|
66 <td><p class=tiny>libvorbis documentation</p></td>
|
Chris@1
|
67 <td align=right><p class=tiny>libvorbis version 1.3.2 - 20101101</p></td>
|
Chris@1
|
68 </tr>
|
Chris@1
|
69 </table>
|
Chris@1
|
70
|
Chris@1
|
71
|
Chris@1
|
72 </body>
|
Chris@1
|
73
|
Chris@1
|
74 </html>
|