As far as I know one and only one SREAMINFO should be present at the beginning of the file: <a href="http://flac.sourceforge.net/format.html#stream">http://flac.sourceforge.net/format.html</a><div><br></div><div><a href="http://flac.sourceforge.net/format.html#stream"></a><div>
"<span class="Apple-style-span" style="font-family: lucida, verdana, helvetica, arial, sans-serif; ">A FLAC bitstream consists of the "fLaC" marker at the beginning of the stream, followed by a mandatory metadata block (called the STREAMINFO block), any number of other metadata blocks, then the audio frames."</span></div>
<div><span class="Apple-style-span" style="font-family: lucida, verdana, helvetica, arial, sans-serif; "><br></span></div><div><span class="Apple-style-span" style="font-family: lucida, verdana, helvetica, arial, sans-serif; ">Lorenzo</span></div>
<div><br></div><div><div class="gmail_quote">2010/11/16 Brian Waters <span dir="ltr"><<a href="mailto:brianmwaters@gmail.com">brianmwaters@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I'm writing a program that plays FLAC files using the libFLAC API's.<br>
Is there a specific way I'm supposed to handle multiple STREAMINFO<br>
metadata blocks?<br>
<br>
For example, should I ignore all but the first, or all but the last?<br>
<br>
The format spec doesn't mention anything.<br>
<br>
Thanks,<br>
<font color="#888888"><br>
- Brian Waters<br>
_______________________________________________<br>
Flac-dev mailing list<br>
<a href="mailto:Flac-dev@xiph.org">Flac-dev@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/flac-dev" target="_blank">http://lists.xiph.org/mailman/listinfo/flac-dev</a><br>
</font></blockquote></div><br></div></div>