On Tue, Oct 6, 2009 at 1:57 PM, Martin Leese <[email protected]> wrote:
> Perhaps I have misunderstood your problem, > but is this not what magic numbers are for? I know there is a "fLaC" at the beginning of the FLAC file, and I can easily look for that, but my design sense was that it's better to have the FLAC API vet the file type rather than having my code do it. > For Ogg Vorbis and Ogg FLAC, see: > http://wiki.xiph.org/index.php/MIMETypesCodecs#Codecs_Parameter Isn't this meta information used in e.g. email and HTML? I don't think it will help vet a standalone file. In any case, I already have a solution with the OGG API's. Shayne _______________________________________________ Flac-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/flac-dev
