vorbis_synthesis_init.html 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <html>
  2. <head>
  3. <title>libvorbis - function - vorbis_synthesis_init</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_init</h1>
  14. <p><i>declared in "vorbis/codec.h";</i></p>
  15. <p>This function initializes a
  16. <a href="vorbis_dsp_state.html">vorbis_dsp_state</a> structure for
  17. decoding and allocates internal storage for it.</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_init(vorbis_dsp_state *v,vorbis_info *vi);
  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> to initialize
  31. for decoding.</dd>
  32. <dt><i>vi</i></dt>
  33. <dd>The <a href="vorbis_info.html">vorbis_info</a> structure
  34. for the stream. The vorbis_info structure must have had <a
  35. href="vorbis_synthesis_headerin.html">vorbis_synthesis_headerin</a>
  36. called on it for each header packet in the stream.</dd>
  37. </dl>
  38. <h3>Return Values</h3>
  39. <blockquote>
  40. <li>0 on success.</li>
  41. <li>1 on error.</li>
  42. </blockquote>
  43. <p>
  44. <br><br>
  45. <hr noshade>
  46. <table border=0 width=100%>
  47. <tr valign=top>
  48. <td><p class=tiny>copyright &copy; 2010 Xiph.Org</p></td>
  49. <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/index.html">Ogg Vorbis</a></p></td>
  50. </tr><tr>
  51. <td><p class=tiny>libvorbis documentation</p></td>
  52. <td align=right><p class=tiny>libvorbis version 1.3.2 - 20101101</p></td>
  53. </tr>
  54. </table>
  55. </body>
  56. </html>