Include the library versions in the publicly installed headers

This allows callers to conditionally use new API features without
breaking compatibility with the earlier versions of the library.
This commit is contained in:
Martin Storsjo 2013-11-01 12:06:46 +02:00
parent 1e1eca7c3f
commit 68e7a95519
2 changed files with 9 additions and 0 deletions

View File

@ -457,6 +457,11 @@ Where N equals to CStreamInfo::frameSize .
#include "FDK_audio.h" #include "FDK_audio.h"
#include "genericStds.h" #include "genericStds.h"
#define AACDECODER_LIB_VL0 3
#define AACDECODER_LIB_VL1 0
#define AACDECODER_LIB_VL2 0
/** /**
* \brief AAC decoder error codes. * \brief AAC decoder error codes.
*/ */

View File

@ -1025,6 +1025,10 @@ internally.
#include "machine_type.h" #include "machine_type.h"
#include "FDK_audio.h" #include "FDK_audio.h"
#define AACENCODER_LIB_VL0 4
#define AACENCODER_LIB_VL1 0
#define AACENCODER_LIB_VL2 0
/** /**
* AAC encoder error codes. * AAC encoder error codes.
*/ */