0
|
1 |
// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
//
|
|
15 |
|
|
16 |
#ifndef MDEVSOUNDADAPTATIONINFOOBSERVER_H
|
|
17 |
#define MDEVSOUNDADAPTATIONINFOOBSERVER_H
|
|
18 |
|
|
19 |
/**
|
|
20 |
@publishedPartner
|
|
21 |
@file
|
|
22 |
@released
|
|
23 |
*/
|
|
24 |
|
|
25 |
#include <e32base.h>
|
|
26 |
#include <a3f/a3fbase.h>
|
|
27 |
|
|
28 |
|
|
29 |
/**
|
|
30 |
* An interface to a set of A3FDevSoundAdaptationInfo callback functions.
|
|
31 |
*
|
|
32 |
* This serves as the method of communication between the A3FDevSoundAdaptationInfo
|
|
33 |
* and the client
|
|
34 |
*
|
|
35 |
*/
|
|
36 |
class MA3FDevSoundAdaptationInfoObserver
|
|
37 |
{
|
|
38 |
public:
|
|
39 |
/**
|
|
40 |
* Notifies the observer of the max gain supported
|
|
41 |
*
|
|
42 |
* @param aCodecType the UID passed to the original RequestMaxGain() call
|
|
43 |
* @param aError an standard symbian error code. KErrNone if succesful
|
|
44 |
* @param aResult the supported MaxGain/MaxVolume value, if aError==KErrNone
|
|
45 |
*/
|
|
46 |
virtual void RequestMaxGainComplete (TUid aCodecType, TInt aError, TInt aResult)=0;
|
|
47 |
|
|
48 |
|
|
49 |
/**
|
|
50 |
* Notifies the observer that the max ramp time supported by the gain
|
|
51 |
* control has changed.
|
|
52 |
*
|
|
53 |
* @param aCodecType the UID passed to the original RequestSupportedForamts() call
|
|
54 |
* @param aError an standard symbian error code. KErrNone if succesful
|
|
55 |
*/
|
|
56 |
virtual void RequestSupportedFormatsComplete(TUid aCodecType, TInt aError)=0;
|
|
57 |
|
|
58 |
};
|
|
59 |
|
|
60 |
#endif //MDEVSOUNDADAPTATIONINFOOBSERVER_H
|