vorbis_synthesis_trackonly.html 1.8 KB

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