4 <title>libvorbis - function - vorbis_synthesis_read</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_read</h1>
18 <p><i>declared in "vorbis/codec.h";</i></p>
20 <p>This function informs the Vorbis decoder of how many
21 samples the application used from the last buffer output by
22 <a href="vorbis_synthesis_pcmout.html">vorbis_synthesis_pcmout</a>.</p>
24 <table border=0 color=black cellspacing=0 cellpadding=7>
28 extern int vorbis_synthesis_read(vorbis_dsp_state *v,int samples);
37 <dd>The <a href="vorbis_dsp_state.html">vorbis_dsp_state</a> for the
38 decoder instance.</dd>
39 <dt><i>samples</i></dt>
40 <dd>The number of samples the application has used.</dd>
44 <h3>Return Values</h3>
46 <li>0 on success.</li>
47 <li>OV_EINVAL if <i>samples</i> is greater than the number of remaining
48 samples in the buffer.</li>
54 <table border=0 width=100%>
56 <td><p class=tiny>copyright © 2010 Xiph.Org</p></td>
57 <td align=right><p class=tiny><a href="https://xiph.org/vorbis/">Ogg Vorbis</a></p></td>
59 <td><p class=tiny>libvorbis documentation</p></td>
60 <td align=right><p class=tiny>libvorbis version 1.3.2 - 20101101</p></td>