FLAC
1.4.3
Free Lossless Audio Codec
|
Macros | |
#define | FLAC_API |
#define | FLAC_API_VERSION_CURRENT 13 |
#define | FLAC_API_VERSION_REVISION 0 |
#define | FLAC_API_VERSION_AGE 1 |
Variables | |
int | FLAC_API_SUPPORTS_OGG_FLAC |
This module contains #defines and symbols for exporting function calls, and providing version information and compiled-in features.
If you are compiling for Windows (with Visual Studio or MinGW for example) and will link to the static library (libFLAC++.lib) you should define FLAC__NO_DLL in your project to make sure the symbols are exported properly.
#define FLAC_API |
This #define is used internally in libFLAC and its headers to make sure the correct symbols are exported when working with shared libraries. On Windows, this #define is set to __declspec(dllexport) when compiling libFLAC into a library and to __declspec(dllimport) when the headers are used to link to that DLL. On non-Windows systems it is used to set symbol visibility.
Because of this, the define FLAC__NO_DLL must be defined when linking to libFLAC statically or linking will fail.
#define FLAC_API_VERSION_CURRENT 13 |
These #defines will mirror the libtool-based library version number, see http://www.gnu.org/software/libtool/manual/libtool.html#Libtool-versioning
#define FLAC_API_VERSION_REVISION 0 |
see above
#define FLAC_API_VERSION_AGE 1 |
see above
|
extern |
1
if the library has been compiled with support for Ogg FLAC, else 0
.