khronosfws/openmax_al/src/gst_adaptation/xaequalizeritfadaptation.h
changeset 33 5e8b14bae8c3
parent 28 ebf79c79991a
child 36 73253677b50a
equal deleted inserted replaced
28:ebf79c79991a 33:5e8b14bae8c3
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef XAEQUALIZERITFADAPTATION_H
       
    19 #define XAEQUALIZERITFADAPTATION_H
       
    20 
       
    21 #include "xaadaptationgst.h"
       
    22 #include "xathreadsafety.h"
       
    23 
       
    24 /* MACROS */
       
    25 #define EQUALIZER_NUM_OF_BANDS 10
       
    26 #define EQUALIZER_DEFAULT_BAND_LEVEL 0
       
    27 
       
    28 /* FUNCTIONS */
       
    29 XAresult XAEqualizerItfAdapt_GetBandLevelRange(XAAdaptationGstCtx *bCtx,
       
    30                                                XAmillibel *pMin,
       
    31                                                XAmillibel *pMax);
       
    32 
       
    33 XAresult XAEqualizerItfAdapt_SetBandLevel(XAAdaptationGstCtx *bCtx,
       
    34                                           XAuint16 band,
       
    35                                           XAmillibel level);
       
    36 
       
    37 XAresult XAEqualizerItfAdapt_GetCenterFreq(XAAdaptationGstCtx *bCtx,
       
    38                                            XAuint16 band,
       
    39                                            XAmilliHertz *pCenter);
       
    40 
       
    41 XAresult XAEqualizerItfAdapt_GetBandFreqRange(XAAdaptationGstCtx *bCtx,
       
    42                                               XAuint16 band,
       
    43                                               XAmilliHertz *pMin,
       
    44                                               XAmilliHertz *pMax);
       
    45 
       
    46 XAresult XAEqualizerItfAdapt_GetBand(XAAdaptationGstCtx *bCtx,
       
    47                                      XAmilliHertz frequency,
       
    48                                      XAuint16 *pBand);
       
    49 
       
    50 XAresult XAEqualizerItfAdapt_GetDefaultBandLevel(XAAdaptationGstCtx *bCtx,
       
    51                                                  XAuint16 index,
       
    52                                                  XAint16 *pLevel);
       
    53 
       
    54 #endif /* XAEQUALIZERITFADAPTATION_H */