1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 3<title>FLAC: FLAC__StreamMetadata Struct Reference</title> 4<link href="doxygen.css" rel="stylesheet" type="text/css"> 5</head><body> 6<!-- Generated by Doxygen 1.4.2 --> 7<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> 8<h1>FLAC__StreamMetadata Struct Reference<br> 9<small> 10[<a class="el" href="group__flac__format.html">FLAC/format.h: format components</a>]</small> 11</h1><code>#include <<a class="el" href="format_8h-source.html">format.h</a>></code> 12<p> 13<a href="structFLAC____StreamMetadata-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> 14FLAC metadata block structure. (c.f. <a href="../format.html#metadata_block">format specification</a>) 15<p> 16<table border="0" cellpadding="0" cellspacing="0"> 17<tr><td></td></tr> 18<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> 19<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__flac__format.html#ga113">FLAC__MetadataType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structFLAC____StreamMetadata.html#FLAC____StreamMetadatao0">type</a></td></tr> 20 21<tr><td class="memItemLeft" nowrap align="right" valign="top">FLAC__bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structFLAC____StreamMetadata.html#FLAC____StreamMetadatao1">is_last</a></td></tr> 22 23<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="structFLAC____StreamMetadata.html#FLAC____StreamMetadatao2">length</a></td></tr> 24 25<tr><td class="memItemLeft" nowrap>union {</td></tr> 26 27<tr><td class="memItemLeft" nowrap> <a class="el" href="structFLAC____StreamMetadata__StreamInfo.html">FLAC__StreamMetadata_StreamInfo</a> <b>stream_info</b></td></tr> 28 29<tr><td class="memItemLeft" nowrap> <a class="el" href="structFLAC____StreamMetadata__Padding.html">FLAC__StreamMetadata_Padding</a> <b>padding</b></td></tr> 30 31<tr><td class="memItemLeft" nowrap> <a class="el" href="structFLAC____StreamMetadata__Application.html">FLAC__StreamMetadata_Application</a> <b>application</b></td></tr> 32 33<tr><td class="memItemLeft" nowrap> <a class="el" href="structFLAC____StreamMetadata__SeekTable.html">FLAC__StreamMetadata_SeekTable</a> <b>seek_table</b></td></tr> 34 35<tr><td class="memItemLeft" nowrap> <a class="el" href="structFLAC____StreamMetadata__VorbisComment.html">FLAC__StreamMetadata_VorbisComment</a> <b>vorbis_comment</b></td></tr> 36 37<tr><td class="memItemLeft" nowrap> <a class="el" href="structFLAC____StreamMetadata__CueSheet.html">FLAC__StreamMetadata_CueSheet</a> <b>cue_sheet</b></td></tr> 38 39<tr><td class="memItemLeft" nowrap> <a class="el" href="structFLAC____StreamMetadata__Picture.html">FLAC__StreamMetadata_Picture</a> <b>picture</b></td></tr> 40 41<tr><td class="memItemLeft" nowrap> <a class="el" href="structFLAC____StreamMetadata__Unknown.html">FLAC__StreamMetadata_Unknown</a> <b>unknown</b></td></tr> 42 43<tr><td class="memItemLeft" nowrap valign="top">} </td><td class="memItemRight" valign="bottom"><a class="el" href="structFLAC____StreamMetadata.html#FLAC____StreamMetadatao11">data</a></td></tr> 44 45</table> 46<hr><h2>Member Data Documentation</h2> 47<a class="anchor" name="FLAC____StreamMetadatao0" doxytag="FLAC__StreamMetadata::type"></a><p> 48<table class="mdTable" cellpadding="2" cellspacing="0"> 49 <tr> 50 <td class="mdRow"> 51 <table cellpadding="0" cellspacing="0" border="0"> 52 <tr> 53 <td class="md" nowrap valign="top"><a class="el" href="group__flac__format.html#ga113">FLAC__MetadataType</a> <a class="el" href="structFLAC____StreamMetadata.html#FLAC____StreamMetadatao0">FLAC__StreamMetadata::type</a> </td> 54 </tr> 55 </table> 56 </td> 57 </tr> 58</table> 59<table cellspacing="5" cellpadding="0" border="0"> 60 <tr> 61 <td> 62 63 </td> 64 <td> 65 66<p> 67The type of the metadata block; used determine which member of the <em>data</em> union to dereference. If type >= FLAC__METADATA_TYPE_UNDEFINED then <em>data.unknown</em> must be used. </td> 68 </tr> 69</table> 70<a class="anchor" name="FLAC____StreamMetadatao1" doxytag="FLAC__StreamMetadata::is_last"></a><p> 71<table class="mdTable" cellpadding="2" cellspacing="0"> 72 <tr> 73 <td class="mdRow"> 74 <table cellpadding="0" cellspacing="0" border="0"> 75 <tr> 76 <td class="md" nowrap valign="top">FLAC__bool <a class="el" href="structFLAC____StreamMetadata.html#FLAC____StreamMetadatao1">FLAC__StreamMetadata::is_last</a> </td> 77 </tr> 78 </table> 79 </td> 80 </tr> 81</table> 82<table cellspacing="5" cellpadding="0" border="0"> 83 <tr> 84 <td> 85 86 </td> 87 <td> 88 89<p> 90<code>true</code> if this metadata block is the last, else <em>false</em> </td> 91 </tr> 92</table> 93<a class="anchor" name="FLAC____StreamMetadatao2" doxytag="FLAC__StreamMetadata::length"></a><p> 94<table class="mdTable" cellpadding="2" cellspacing="0"> 95 <tr> 96 <td class="mdRow"> 97 <table cellpadding="0" cellspacing="0" border="0"> 98 <tr> 99 <td class="md" nowrap valign="top">unsigned <a class="el" href="structFLAC____StreamMetadata.html#FLAC____StreamMetadatao2">FLAC__StreamMetadata::length</a> </td> 100 </tr> 101 </table> 102 </td> 103 </tr> 104</table> 105<table cellspacing="5" cellpadding="0" border="0"> 106 <tr> 107 <td> 108 109 </td> 110 <td> 111 112<p> 113Length, in bytes, of the block data as it appears in the stream. </td> 114 </tr> 115</table> 116<a class="anchor" name="FLAC____StreamMetadatao11" doxytag="FLAC__StreamMetadata::data"></a><p> 117<table class="mdTable" cellpadding="2" cellspacing="0"> 118 <tr> 119 <td class="mdRow"> 120 <table cellpadding="0" cellspacing="0" border="0"> 121 <tr> 122 <td class="md" nowrap valign="top">union { ... } <a class="el" href="structFLAC____StreamMetadata.html#FLAC____StreamMetadatao11">FLAC__StreamMetadata::data</a> </td> 123 </tr> 124 </table> 125 </td> 126 </tr> 127</table> 128<table cellspacing="5" cellpadding="0" border="0"> 129 <tr> 130 <td> 131 132 </td> 133 <td> 134 135<p> 136Polymorphic block data; use the <em>type</em> value to determine which to use. </td> 137 </tr> 138</table> 139<hr>The documentation for this struct was generated from the following file:<ul> 140<li>include/FLAC/<a class="el" href="format_8h-source.html">format.h</a></ul> 141 142<hr size="1"> 143<div class="copyright"> 144 <!-- @@@ oh so hacky --> 145 <table> 146 <tr> 147 <td align="left"> 148 Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson 149 </td> 150 <td width="1%" align="right"> 151 <a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=13478&type=1" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a> 152 </td> 153 </tr> 154 </table> 155</div> 156<!-- Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson --> 157<!-- Permission is granted to copy, distribute and/or modify this document --> 158<!-- under the terms of the GNU Free Documentation License, Version 1.1 --> 159<!-- or any later version published by the Free Software Foundation; --> 160<!-- with no invariant sections. --> 161<!-- A copy of the license can be found at http://www.gnu.org/copyleft/fdl.html --> 162</body> 163</html> 164