vorbis_block_init.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <html>
  2. <head>
  3. <title>libvorbis - function - vorbis_block_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_block_init</h1>
  14. <p><i>declared in "vorbis/codec.h";</i></p>
  15. <p>This function initializes a vorbis_block structure and allocates its
  16. internal storage. A vorbis_block is used to represent a particular block
  17. of input audio which can be analyzed and coded as a unit.
  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_block_init(vorbis_dsp_state *v, vorbis_block *vb);
  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 an initialized vorbis_dsp_state with which to associate the new block.</dd>
  32. <dt><i>vb</i></dt>
  33. <dd>Pointer to a vorbis_block struct to be initialized.</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>