diff -r 80975da52420 -r 43d09473c595 khronosfws/openmax_al/src/gst_adaptation/xaequalizeritfadaptation.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/khronosfws/openmax_al/src/gst_adaptation/xaequalizeritfadaptation.h Fri May 14 16:22:35 2010 +0300 @@ -0,0 +1,54 @@ +/* +* 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 */