vorbis_analysis_init.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <html>
  2. <head>
  3. <title>libvorbis - function - vorbis_analysis_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_analysis_init</h1>
  14. <p><i>declared in "vorbis/codec.h";</i></p>
  15. <p>This function allocates and initializes the encoder's analysis state
  16. inside a is vorbis_dsp_state, based on the configuration in a vorbis_info
  17. struct.
  18. </p>
  19. <table border=0 color=black cellspacing=0 cellpadding=7>
  20. <tr bgcolor=#cccccc>
  21. <td>
  22. <pre><b>
  23. extern int vorbis_analysis_init(vorbis_dsp_state *v,vorbis_info *vi);
  24. </b></pre>
  25. </td>
  26. </tr>
  27. </table>
  28. <h3>Parameters</h3>
  29. <dl>
  30. <dt><i>v</i</dt>
  31. <dd>Pointer to the vorbis_dsp_state structure to be initialized for encoding.</dd>
  32. <dt><i>vi</i></dt>
  33. <dd>Pointer to an initialized <a href="vorbis_info.html">vorbis_info</a> struct describing the encoder configuration.</dd>
  34. </dl>
  35. <h3>Return Values</h3>
  36. <blockquote>
  37. <li>
  38. 0 for success</li>
  39. </blockquote>
  40. <p>
  41. <br><br>
  42. <hr noshade>
  43. <table border=0 width=100%>
  44. <tr valign=top>
  45. <td><p class=tiny>copyright &copy; 2010 Xiph.Org</p></td>
  46. <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/index.html">Ogg Vorbis</a></p></td>
  47. </tr><tr>
  48. <td><p class=tiny>libvorbis documentation</p></td>
  49. <td align=right><p class=tiny>libvorbis version 1.3.2 - 20101101</p></td>
  50. </tr>
  51. </table>
  52. </body>
  53. </html>