1/*--------------------------------------------------------------------------
2Copyright (c) 2009, The Linux Foundation. All rights reserved.
3
4Redistribution and use in source and binary forms, with or without
5modification, are permitted provided that the following conditions are met:
6    * Redistributions of source code must retain the above copyright
7      notice, this list of conditions and the following disclaimer.
8    * Redistributions in binary form must reproduce the above copyright
9      notice, this list of conditions and the following disclaimer in the
10      documentation and/or other materials provided with the distribution.
11    * Neither the name of The Linux Foundation nor
12      the names of its contributors may be used to endorse or promote
13      products derived from this software without specific prior written
14      permission.
15
16THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19NON-INFRINGEMENT ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
20CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
21EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
22PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
23OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
25OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
26ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27--------------------------------------------------------------------------*/
28/*============================================================================
29                            O p e n M A X   w r a p p e r s
30                             O p e n  M A X   C o r e
31
32*//** @file QOMX_AudioIndexExtensions.h
33  This module contains the index extensions for Audio
34
35*//*========================================================================*/
36
37
38#ifndef __H_QOMX_AUDIOINDEXEXTENSIONS_H__
39#define __H_QOMX_AUDIOINDEXEXTENSIONS_H__
40
41/*========================================================================
42
43                     INCLUDE FILES FOR MODULE
44
45========================================================================== */
46#include <OMX_Core.h>
47
48/*========================================================================
49
50                      DEFINITIONS AND DECLARATIONS
51
52========================================================================== */
53
54#if defined( __cplusplus )
55extern "C"
56{
57#endif /* end of macro __cplusplus */
58
59/**
60 * Enumeration used to define Qualcomm's vendor extensions for
61 * audio. The audio extensions occupy a range of
62 * 0x7F100000-0x7F1FFFFF, inclusive.
63 */
64typedef enum QOMX_AUDIO_EXTENSIONS_INDEXTYPE
65{
66    QOMX_IndexParamAudioAmrWbPlus       = 0x7F200000, /**< "OMX.Qualcomm.index.audio.amrwbplus" */
67    QOMX_IndexParamAudioWma10Pro        = 0x7F200001, /**< "OMX.Qualcomm.index.audio.wma10pro" */
68    QOMX_IndexParamAudioSessionId       = 0x7F200002, /**< "OMX.Qualcomm.index.audio.sessionId" */
69    QOMX_IndexParamAudioVoiceRecord     = 0x7F200003, /**< "OMX.Qualcomm.index.audio.VoiceRecord" */
70    QOMX_IndexParamAudioUnused          = 0x7F2FFFFF
71} QOMX_AUDIO_EXTENSIONS_INDEXTYPE;
72
73#if defined( __cplusplus )
74}
75#endif /* end of macro __cplusplus */
76
77#endif /* end of macro __H_QOMX_AUDIOINDEXEXTENSIONS_H__ */
78