vorbis_synthesis_read.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <html>
  2. <head>
  3. <title>libvorbis - function - vorbis_synthesis_read</title>
  4. <link rel=stylesheet href="style.css" type="text/css">
  5. </head>
  6. <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
  7. <table border=0 width=100%>
  8. <tr>
  9. <td><p class=tiny>libvorbis documentation</p></td>
  10. <td align=right><p class=tiny>libvorbis version 1.3.2 - 20101101</p></td>
  11. </tr>
  12. </table>
  13. <h1>vorbis_synthesis_read</h1>
  14. <p><i>declared in "vorbis/codec.h";</i></p>
  15. <p>This function informs the Vorbis decoder of how many
  16. samples the application used from the last buffer output by
  17. <a href="vorbis_synthesis_pcmout.html">vorbis_synthesis_pcmout</a>.</p>
  18. <table border=0 color=black cellspacing=0 cellpadding=7>
  19. <tr bgcolor=#cccccc>
  20. <td>
  21. <pre><b>
  22. extern int vorbis_synthesis_read(vorbis_dsp_state *v,int samples);
  23. </b></pre>
  24. </td>
  25. </tr>
  26. </table>
  27. <h3>Parameters</h3>
  28. <dl>
  29. <dt><i>v</i></dt>
  30. <dd>The <a href="vorbis_dsp_state.html">vorbis_dsp_state</a> for the
  31. decoder instance.</dd>
  32. <dt><i>samples</i></dt>
  33. <dd>The number of samples the application has used.</dd>
  34. </dl>
  35. <h3>Return Values</h3>
  36. <blockquote>
  37. <li>0 on success.</li>
  38. <li>OV_EINVAL if <i>samples</i> is greater than the number of remaining
  39. samples in the buffer.</li>
  40. </blockquote>
  41. <p>
  42. <br><br>
  43. <hr noshade>
  44. <table border=0 width=100%>
  45. <tr valign=top>
  46. <td><p class=tiny>copyright &copy; 2010 Xiph.Org</p></td>
  47. <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/index.html">Ogg Vorbis</a></p></td>
  48. </tr><tr>
  49. <td><p class=tiny>libvorbis documentation</p></td>
  50. <td align=right><p class=tiny>libvorbis version 1.3.2 - 20101101</p></td>
  51. </tr>
  52. </table>
  53. </body>
  54. </html>