4 <title>libvorbis - function - vorbis_packet_blocksize</title>
5 <link rel=stylesheet href="style.css" type="text/css">
8 <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
9 <table border=0 width=100%>
11 <td><p class=tiny>libvorbis documentation</p></td>
12 <td align=right><p class=tiny>libvorbis version 1.3.2 - 20101101</p></td>
16 <h1>vorbis_packet_blocksize</h1>
18 <p><i>declared in "vorbis/codec.h";</i></p>
20 <p>This function gets the size of the block that would result from
21 decoding a Vorbis packet but does not actually decode the packet.</p>
23 <table border=0 color=black cellspacing=0 cellpadding=7>
27 extern long vorbis_packet_blocksize(vorbis_info *vi,ogg_packet *op);
36 <dd>The <a href="vorbis_info.html">vorbis_info</a> structure for the
37 stream the packet is from.</dd>
39 <dd>The packet to get the block size of.</dd>
43 <h3>Return Values</h3>
45 <li>The block size on success.</li>
46 <li>OV_ENOTAUDIO if the packet is not an audio packet.</li>
47 <li>OV_EBADPACKET if there was an error in the packet.</li>
53 <table border=0 width=100%>
55 <td><p class=tiny>copyright © 2010 Xiph.Org</p></td>
56 <td align=right><p class=tiny><a href="https://xiph.org/vorbis/">Ogg Vorbis</a></p></td>
58 <td><p class=tiny>libvorbis documentation</p></td>
59 <td align=right><p class=tiny>libvorbis version 1.3.2 - 20101101</p></td>