vorbis_synthesis.html 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <html>
  2. <head>
  3. <title>libvorbis - function - vorbis_synthesis</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</h1>
  14. <p><i>declared in "vorbis/codec.h";</i></p>
  15. <p>This function decodes a Vorbis packet into a block of data. The
  16. <a href="vorbis_block.html">vorbis_block</a> should then be submitted
  17. to the <a href="vorbis_dsp_state.html">vorbis_dsp_state</a>
  18. for the decoder instance using
  19. <a href="vorbis_synthesis_blockin.html">vorbis_synthesis_blockin</a>
  20. to be assembled into the final decoded audio.</p>
  21. <table border=0 color=black cellspacing=0 cellpadding=7>
  22. <tr bgcolor=#cccccc>
  23. <td>
  24. <pre><b>
  25. extern int vorbis_synthesis(vorbis_block *vb,ogg_packet *op);
  26. </b></pre>
  27. </td>
  28. </tr>
  29. </table>
  30. <h3>Parameters</h3>
  31. <dl>
  32. <dt><i>vb</i></dt>
  33. <dd>The <a href="vorbis_block.html">vorbis_block</a> to decode the
  34. packet into.</dd>
  35. <dt><i>op</i></dt>
  36. <dd>The ogg_packet to decode.</dd>
  37. </dl>
  38. <h3>Return Values</h3>
  39. <blockquote>
  40. <li>0 on success.</li>
  41. <li>OV_ENOTAUDIO if the packet is not an audio packet.</li>
  42. <li>OV_EBADPACKET if there was an error in the packet.</li>
  43. </blockquote>
  44. <p>
  45. <br><br>
  46. <hr noshade>
  47. <table border=0 width=100%>
  48. <tr valign=top>
  49. <td><p class=tiny>copyright &copy; 2010 Xiph.Org</p></td>
  50. <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/index.html">Ogg Vorbis</a></p></td>
  51. </tr><tr>
  52. <td><p class=tiny>libvorbis documentation</p></td>
  53. <td align=right><p class=tiny>libvorbis version 1.3.2 - 20101101</p></td>
  54. </tr>
  55. </table>
  56. </body>
  57. </html>