Home | History | Annotate | Download | only in aacdec
      1 /* ------------------------------------------------------------------
      2  * Copyright (C) 1998-2009 PacketVideo
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
     13  * express or implied.
     14  * See the License for the specific language governing permissions
     15  * and limitations under the License.
     16  * -------------------------------------------------------------------
     17  */
     18 /*
     19 
     20  Pathname: ./include/e_ADIF_Const.h
     21 
     22 ------------------------------------------------------------------------------
     23  REVISION HISTORY
     24 
     25  Who:                       Date:
     26  Description:
     27 
     28 ------------------------------------------------------------------------------
     29  INCLUDE DESCRIPTION
     30 
     31  enum for ADIF header related constants
     32 
     33 ------------------------------------------------------------------------------
     34 */
     35 
     36 /*----------------------------------------------------------------------------
     37 ; CONTINUE ONLY IF NOT ALREADY DEFINED
     38 ----------------------------------------------------------------------------*/
     39 #ifndef E_ADIF_CONST_H
     40 #define E_ADIF_CONST_H
     41 
     42 /*----------------------------------------------------------------------------
     43 ; INCLUDES
     44 ----------------------------------------------------------------------------*/
     45 
     46 /*----------------------------------------------------------------------------
     47 ; MACROS
     48 ; Define module specific macros here
     49 ----------------------------------------------------------------------------*/
     50 
     51 /*----------------------------------------------------------------------------
     52 ; DEFINES
     53 ; Include all pre-processor statements here.
     54 ----------------------------------------------------------------------------*/
     55 
     56 /*----------------------------------------------------------------------------
     57 ; EXTERNAL VARIABLES REFERENCES
     58 ; Declare variables used in this module but defined elsewhere
     59 ----------------------------------------------------------------------------*/
     60 
     61 /*----------------------------------------------------------------------------
     62 ; SIMPLE TYPEDEF'S
     63 ----------------------------------------------------------------------------*/
     64 
     65 /*----------------------------------------------------------------------------
     66 ; ENUMERATED TYPEDEF'S
     67 ----------------------------------------------------------------------------*/
     68 typedef enum
     69 {
     70     /*
     71      * audio data interchange format header
     72      */
     73     LEN_ADIF_ID     = (32 / 8),
     74     LEN_COPYRT_PRES = 1,
     75     LEN_COPYRT_ID   = (72 / 8),
     76     LEN_ORIG        = 1,
     77     LEN_HOME        = 1,
     78     LEN_BS_TYPE     = 1,
     79     LEN_BIT_RATE    = 23,
     80     LEN_NUM_PCE     = 4,
     81     LEN_ADIF_BF     = 20
     82 
     83 } eADIF_Const;
     84 
     85 /*----------------------------------------------------------------------------
     86 ; STRUCTURES TYPEDEF'S
     87 ----------------------------------------------------------------------------*/
     88 
     89 /*----------------------------------------------------------------------------
     90 ; GLOBAL FUNCTION DEFINITIONS
     91 ; Function Prototype declaration
     92 ----------------------------------------------------------------------------*/
     93 
     94 /*----------------------------------------------------------------------------
     95 ; END
     96 ----------------------------------------------------------------------------*/
     97 #endif
     98