equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006-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 |
|
19 |
|
20 #ifndef MGAINHELPER_H |
|
21 #define MGAINHELPER_H |
|
22 |
|
23 #include <a3f/a3fbase.h> |
|
24 |
|
25 /** |
|
26 */ |
|
27 class MGainHelper |
|
28 { |
|
29 public: |
|
30 |
|
31 // Allows retrieve the gain applied to low level adaptation |
|
32 virtual TInt GetGain(TInt& aGain) const = 0; |
|
33 |
|
34 // Set the gain to the low level adaptation |
|
35 virtual TInt SetGain(RArray<TAudioChannelGain>& aChannels) = 0; |
|
36 |
|
37 //Select the ramp operation and the volump ramp duration. |
|
38 virtual TInt ConfigureRamp(TUid aRampOperation, const TTimeIntervalMicroSeconds& aRampDuration) = 0; |
|
39 }; |
|
40 |
|
41 #endif // MGAINHELPER_H |