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 "XAAdaptationContextBase.h" |
|
22 #include "XADebug.h" |
|
23 #include "XAThreadSafety.h" |
|
24 /* MACROS */ |
|
25 #define EQUALIZER_NUM_OF_BANDS 10 |
|
26 #define EQUALIZER_DEFAULT_BAND_LEVEL 0 |
|
27 |
|
28 /* FUNCTIONS */ |
|
29 XAresult XAEqualizerItfAdapt_GetBandLevelRange(XAAdaptationBaseCtx *bCtx, |
|
30 XAmillibel *pMin, |
|
31 XAmillibel *pMax); |
|
32 |
|
33 XAresult XAEqualizerItfAdapt_SetBandLevel(XAAdaptationBaseCtx *bCtx, |
|
34 XAuint16 band, |
|
35 XAmillibel level); |
|
36 |
|
37 XAresult XAEqualizerItfAdapt_GetCenterFreq(XAAdaptationBaseCtx *bCtx, |
|
38 XAuint16 band, |
|
39 XAmilliHertz *pCenter); |
|
40 |
|
41 XAresult XAEqualizerItfAdapt_GetBandFreqRange(XAAdaptationBaseCtx *bCtx, |
|
42 XAuint16 band, |
|
43 XAmilliHertz *pMin, |
|
44 XAmilliHertz *pMax); |
|
45 |
|
46 XAresult XAEqualizerItfAdapt_GetBand(XAAdaptationBaseCtx *bCtx, |
|
47 XAmilliHertz frequency, |
|
48 XAuint16 *pBand); |
|
49 |
|
50 XAresult XAEqualizerItfAdapt_GetDefaultBandLevel(XAAdaptationBaseCtx *bCtx, |
|
51 XAuint16 index, |
|
52 XAint16 *pLevel); |
|
53 XAresult XAEqualizerItfAdapt_ThreadEntry(XAAdaptationBaseCtx *adaptCtx); |
|
54 XAresult XAEqualizerItfAdapt_ThreadExit(XAAdaptationBaseCtx *adaptCtx); |
|
55 #endif /* XAEQUALIZERITFADAPTATION_H */ |
|