Update contrib.
2 * Copyright (c) 2002-2003 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
18 #ifndef __MMF_TMMFAUDIO_DATA_SETTINGS_H__
19 #define __MMF_TMMFAUDIO_DATA_SETTINGS_H__
23 * Generic Audio Parameters
25 * class TMMFAudioDataSettings
28 class TMMFAudioDataSettings
33 // Sampled audio capabilities
34 ESampleRateFixed = 0x00000001,
35 ESampleRateAnyInRange = 0x00000002,
36 ESampleRate8000Hz = 0x00000010,
37 ESampleRate11025Hz = 0x00000040,
38 ESampleRate12000Hz = 0x00000080,
39 ESampleRate16000Hz = 0x00000100,
40 ESampleRate22050Hz = 0x00000400,
41 ESampleRate24000Hz = 0x00000800,
42 ESampleRate32000Hz = 0x00001000,
43 ESampleRate44100Hz = 0x00004000,
44 ESampleRate48000Hz = 0x00010000,
45 ESampleRate96000Hz = 0x00020000,
46 ESampleRate64000Hz = 0x00040000,
47 // Channel related - applies to sampled
48 EChannelsMono = 0x02000000,
49 EChannelsStereo = 0x04000000,
51 ERoutingControl = 0x08000000,
52 // True if data flow is synchronised with real time (e.g. stream)
53 ERealTime = 0x10000000
57 ENoLocalRouting = 0x00000001,
58 ENoNetworkRouting = 0x00000002
61 inline TMMFAudioDataSettings();
62 inline void Query(); // Call this when you just want to have caps and maxvolume filled
64 // Fixed values - must be queried
66 TInt iMaxVolume; // One means fixed volume (zero not valid)
74 #endif //__MMF_TMMFAUDIO_DATA_SETTINGS_H__