annotate src/libvorbis-1.3.3/doc/libvorbis/vorbis_synthesis_headerin.html @ 1:05aa0afa9217

Bring in flac, ogg, vorbis
author Chris Cannam
date Tue, 19 Mar 2013 17:37:49 +0000
parents
children
rev   line source
Chris@1 1 <html>
Chris@1 2
Chris@1 3 <head>
Chris@1 4 <title>libvorbis - function - vorbis_synthesis_headerin</title>
Chris@1 5 <link rel=stylesheet href="style.css" type="text/css">
Chris@1 6 </head>
Chris@1 7
Chris@1 8 <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
Chris@1 9 <table border=0 width=100%>
Chris@1 10 <tr>
Chris@1 11 <td><p class=tiny>libvorbis documentation</p></td>
Chris@1 12 <td align=right><p class=tiny>libvorbis version 1.3.2 - 20101101</p></td>
Chris@1 13 </tr>
Chris@1 14 </table>
Chris@1 15
Chris@1 16 <h1>vorbis_synthesis_headerin</h1>
Chris@1 17
Chris@1 18 <p><i>declared in "vorbis/codec.h";</i></p>
Chris@1 19
Chris@1 20 <p>This function decodes a header packet from a Vorbis stream and applies
Chris@1 21 the contents to the given <a href="vorbis_info.html">vorbis_info</a>
Chris@1 22 structure (to provide codec parameters to the decoder) and
Chris@1 23 <a href="vorbis_comment.html">vorbis_comment</a> structure (to provide
Chris@1 24 access to the embedded Vorbis comments).</p>
Chris@1 25
Chris@1 26 <p>Once the three Vorbis header packets (info, comments,
Chris@1 27 and codebooks, in that order) have been passed to this
Chris@1 28 function, the <a href="vorbis_info.html">vorbis_info</a>
Chris@1 29 structure is ready to be used in a call to
Chris@1 30 <a href="vorbis_synthesis_init.html">vorbis_synthesis_init</a>.</p>
Chris@1 31
Chris@1 32 <table border=0 color=black cellspacing=0 cellpadding=7>
Chris@1 33 <tr bgcolor=#cccccc>
Chris@1 34 <td>
Chris@1 35 <pre><b>
Chris@1 36 extern int vorbis_synthesis_headerin(vorbis_info *vi,vorbis_comment *vc,
Chris@1 37 ogg_packet *op);
Chris@1 38 </b></pre>
Chris@1 39 </td>
Chris@1 40 </tr>
Chris@1 41 </table>
Chris@1 42
Chris@1 43 <h3>Parameters</h3>
Chris@1 44 <dl>
Chris@1 45 <dt><i>vi</i></dt>
Chris@1 46 <dd>The <a href="vorbis_info.html">vorbis_info</a> structure to apply
Chris@1 47 the decoded information to.</dd>
Chris@1 48 <dt><i>vc</i></dt>
Chris@1 49 <dd>The <a href="vorbis_comment.html">vorbis_comment</a> structure to
Chris@1 50 apply the decoded comments to.</dd>
Chris@1 51 <dt><i>op</i></dt>
Chris@1 52 <dd>The ogg_packet to decode.</dd>
Chris@1 53 </dl>
Chris@1 54
Chris@1 55
Chris@1 56 <h3>Return Values</h3>
Chris@1 57 <blockquote>
Chris@1 58 <li>0 on success.</li>
Chris@1 59 <li>OV_ENOTVORBIS if the packet is not a Vorbis header packet.</li>
Chris@1 60 <li>OV_EBADHEADER if there was an error interpreting the packet.</li>
Chris@1 61 <li>OV_EFAULT on internal error.</li>
Chris@1 62 </blockquote>
Chris@1 63 <p>
Chris@1 64
Chris@1 65 <br><br>
Chris@1 66 <hr noshade>
Chris@1 67 <table border=0 width=100%>
Chris@1 68 <tr valign=top>
Chris@1 69 <td><p class=tiny>copyright &copy; 2010 Xiph.Org</p></td>
Chris@1 70 <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/index.html">Ogg Vorbis</a></p></td>
Chris@1 71 </tr><tr>
Chris@1 72 <td><p class=tiny>libvorbis documentation</p></td>
Chris@1 73 <td align=right><p class=tiny>libvorbis version 1.3.2 - 20101101</p></td>
Chris@1 74 </tr>
Chris@1 75 </table>
Chris@1 76
Chris@1 77
Chris@1 78 </body>
Chris@1 79
Chris@1 80 </html>