Home | History | Annotate | Download | only in include
      1 /******************************************************************************
      2  *
      3  *  Copyright 2000-2012 Broadcom Corporation
      4  *
      5  *  Licensed under the Apache License, Version 2.0 (the "License");
      6  *  you may not use this file except in compliance with the License.
      7  *  You may obtain a copy of the License at:
      8  *
      9  *  http://www.apache.org/licenses/LICENSE-2.0
     10  *
     11  *  Unless required by applicable law or agreed to in writing, software
     12  *  distributed under the License is distributed on an "AS IS" BASIS,
     13  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14  *  See the License for the specific language governing permissions and
     15  *  limitations under the License.
     16  *
     17  ******************************************************************************/
     18 
     19 //
     20 // A2DP constants defined by the Profile Specification
     21 //
     22 
     23 #ifndef A2DP_CONSTANTS_H
     24 #define A2DP_CONSTANTS_H
     25 
     26 #include <inttypes.h>
     27 
     28 /* Profile supported features */
     29 #define A2DP_SUPF_PLAYER 0x0001
     30 #define A2DP_SUPF_MIC 0x0002
     31 #define A2DP_SUPF_TUNER 0x0004
     32 #define A2DP_SUPF_MIXER 0x0008
     33 
     34 #define A2DP_SUPF_HEADPHONE 0x0001
     35 #define A2DP_SUPF_SPEAKER 0x0002
     36 #define A2DP_SUPF_RECORDER 0x0004
     37 #define A2DP_SUPF_AMP 0x0008
     38 
     39 /* AV Media Codec Types (Audio Codec ID) */
     40 #define A2DP_MEDIA_CT_SBC 0x00 /* SBC media codec type */
     41 #define A2DP_MEDIA_CT_AAC 0x02 /* AAC media codec type */
     42 /* Non-A2DP media codec type (vendor-specific codec) */
     43 #define A2DP_MEDIA_CT_NON_A2DP 0xFF
     44 
     45 typedef uint8_t tA2DP_CODEC_TYPE; /* A2DP Codec type: A2DP_MEDIA_CT_* */
     46 
     47 #endif  // A2DP_CONSTANTS_H
     48