From 32c697660d9d4d525133322f9d061d42a43e1756 Mon Sep 17 00:00:00 2001 From: Martin Storsjo Date: Fri, 1 Nov 2013 12:06:46 +0200 Subject: [PATCH] Include the encoder library version in the publicly installed header This allows callers to conditionally use new API features without breaking compatibility with the earlier versions of the library. Bug: 261048742 Test: atest android.media.encoder.cts.EncoderTest Change-Id: Icdf18317e120caf8be750a839ae75a6ac8eba142 --- libAACenc/include/aacenc_lib.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libAACenc/include/aacenc_lib.h b/libAACenc/include/aacenc_lib.h index f0f23b4..22c07c0 100644 --- a/libAACenc/include/aacenc_lib.h +++ b/libAACenc/include/aacenc_lib.h @@ -1005,6 +1005,10 @@ internally. #include "machine_type.h" #include "FDK_audio.h" +#define AACENCODER_LIB_VL0 3 +#define AACENCODER_LIB_VL1 4 +#define AACENCODER_LIB_VL2 12 + /** * AAC encoder error codes. */