GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||
GeezerVison is showing xiph.org — FLAC: Porting Guide for New Versions
Porting Guide for New Versions
Detailed DescriptionThis module describes differences in the library interfaces from version to version. It assists in the porting of code that uses the libraries to newer versions of FLAC. One simple facility for making porting easier that has been added in FLAC 1.1.3 is a set of #defines in #if !defined(FLAC_API_VERSION_CURRENT) || FLAC_API_VERSION_CURRENT <= 7
legacy code
#else
new code
#endif
The source will work for multiple versions and the legacy code can easily be removed when the transition is complete. Another available symbol is FLAC_API_SUPPORTS_OGG_FLAC (defined in include/FLAC/export.h), which can be used to determine whether or not the library has been compiled with support for Ogg FLAC. This is simpler than trying to call an Ogg init function and catching the error. Copyright (c) 2000-2009 Josh Coalson Copyright (c) 2011-2025 Xiph.Org Foundation | |||||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. | |||||||||||||||||||||||