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 23ba26cabf
commit 60b69ab3e7
2 changed files with 7 additions and 0 deletions

View File

@ -348,6 +348,10 @@ Where N equals to CStreamInfo::frameSize .
#include "genericStds.h"
#define AACDECODER_LIB_VL0 2
#define AACDECODER_LIB_VL1 5
#define AACDECODER_LIB_VL2 17
/**
* \brief AAC decoder error codes.
*/

View File

@ -705,6 +705,9 @@ the encoder deactivates PNS calculation internally.
#include "machine_type.h"
#include "FDK_audio.h"
#define AACENCODER_LIB_VL0 3
#define AACENCODER_LIB_VL1 4
#define AACENCODER_LIB_VL2 22
/**
* AAC encoder error codes.