From 99dede6f8bd67492e50e608583cc7b1204909884 Mon Sep 17 00:00:00 2001 From: Christophe Massiot Date: Sun, 15 Nov 2015 16:14:52 +0100 Subject: [PATCH] aac: add enumerations --- mpeg/aac.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mpeg/aac.h b/mpeg/aac.h index 767efc7..c238881 100644 --- a/mpeg/aac.h +++ b/mpeg/aac.h @@ -46,7 +46,11 @@ extern "C" * ADTS header *****************************************************************************/ #define ADTS_HEADER_SIZE 7 +#define ADTS_CRC_SIZE 2 #define ADTS_SAMPLES_PER_BLOCK 1024 +#define ADTS_PROFILE_MAIN 0 +#define ADTS_PROFILE_LC 1 +#define ADTS_PROFILE_SSR 2 /* fixed header */ static inline void adts_set_sync(uint8_t *p_adts) @@ -197,6 +201,13 @@ static inline bool adts_sync_compare_formats(const uint8_t *p_adts1, const uint8 (p_adts1[3] & 0xc0) == (p_adts2[3] & 0xc0); } +/***************************************************************************** + * AudioSpecificConfig + *****************************************************************************/ +#define ASC_TYPE_MAIN 1 +#define ASC_TYPE_LC 2 +#define ASC_TYPE_SSR 3 + #ifdef __cplusplus } #endif