ogg_stream_reset_serialno.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <html>
  2. <head>
  3. <title>libogg - function - ogg_stream_reset_serialno</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>libogg documentation</p></td>
  10. <td align=right><p class=tiny>libogg release 1.3.4 - 20190830</p></td>
  11. </tr>
  12. </table>
  13. <h1>ogg_stream_reset</h1>
  14. <p><i>declared in "ogg/ogg.h";</i></p>
  15. <p>This function reinitializes the values in the
  16. <a href="ogg_stream_state.html">ogg_stream_state</a>,
  17. just like <a href="ogg_stream_reset.html">ogg_stream_reset()</a>.
  18. Additionally, it sets the stream serial number to the given value.</p>
  19. <br><br>
  20. <table border=0 color=black cellspacing=0 cellpadding=7>
  21. <tr bgcolor=#cccccc>
  22. <td>
  23. <pre><b>
  24. int ogg_stream_reset_serialno(ogg_stream_state *os, int serialno);
  25. </b></pre>
  26. </td>
  27. </tr>
  28. </table>
  29. <h3>Parameters</h3>
  30. <dl>
  31. <dt><i>os</i></dt>
  32. <dd>Pointer to the ogg_stream_state struct to be reset.</dd>
  33. <dt><i>serialno</i></dt>
  34. <dd>New stream serial number to use</dd>
  35. </dl>
  36. <h3>Return Values</h3>
  37. <blockquote>
  38. <li>
  39. 0 indicates success. nonzero is returned on internal error.</li>
  40. </blockquote>
  41. <p>
  42. <br><br>
  43. <hr noshade>
  44. <table border=0 width=100%>
  45. <tr valign=top>
  46. <td><p class=tiny>copyright &copy; 2000-2019 Xiph.Org Foundation</p></td>
  47. <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/">Ogg Container Format</a></p></td>
  48. </tr><tr>
  49. <td><p class=tiny>libogg documentation</p></td>
  50. <td align=right><p class=tiny>libogg release 1.3.4 - 20190830</p></td>
  51. </tr>
  52. </table>
  53. </body>
  54. </html>