khronosfws/openmax_al/src/gst_adaptation/xaequalizeritfadaptation.h
author hgs
Fri, 14 May 2010 18:19:45 -0500
changeset 20 b67dd1fc57c5
parent 19 4a629bc82c5e
permissions -rw-r--r--
201019

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*
*/

#ifndef XAEQUALIZERITFADAPTATION_H
#define XAEQUALIZERITFADAPTATION_H

#include "xaadaptationgst.h"
#include "xathreadsafety.h"

/* MACROS */
#define EQUALIZER_NUM_OF_BANDS 10
#define EQUALIZER_DEFAULT_BAND_LEVEL 0

/* FUNCTIONS */
XAresult XAEqualizerItfAdapt_GetBandLevelRange(XAAdaptationGstCtx *bCtx,
                                               XAmillibel *pMin,
                                               XAmillibel *pMax);

XAresult XAEqualizerItfAdapt_SetBandLevel(XAAdaptationGstCtx *bCtx,
                                          XAuint16 band,
                                          XAmillibel level);

XAresult XAEqualizerItfAdapt_GetCenterFreq(XAAdaptationGstCtx *bCtx,
                                           XAuint16 band,
                                           XAmilliHertz *pCenter);

XAresult XAEqualizerItfAdapt_GetBandFreqRange(XAAdaptationGstCtx *bCtx,
                                              XAuint16 band,
                                              XAmilliHertz *pMin,
                                              XAmilliHertz *pMax);

XAresult XAEqualizerItfAdapt_GetBand(XAAdaptationGstCtx *bCtx,
                                     XAmilliHertz frequency,
                                     XAuint16 *pBand);

XAresult XAEqualizerItfAdapt_GetDefaultBandLevel(XAAdaptationGstCtx *bCtx,
                                                 XAuint16 index,
                                                 XAint16 *pLevel);

#endif /* XAEQUALIZERITFADAPTATION_H */