Update contrib.
2 * Copyright (c) 2004-2009 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.
20 #ifndef RESOURCEAUDIOENUMS_HRH
21 #define RESOURCEAUDIOENUMS_HRH
26 * Sample rates supported by MMF.
30 EMMFSampleRate8000Hz = 0x00000001,
31 EMMFSampleRate11025Hz = 0x00000002,
32 EMMFSampleRate16000Hz = 0x00000004,
33 EMMFSampleRate22050Hz = 0x00000008,
34 EMMFSampleRate32000Hz = 0x00000010,
35 EMMFSampleRate44100Hz = 0x00000020,
36 EMMFSampleRate48000Hz = 0x00000040,
37 EMMFSampleRate88200Hz = 0x00000080,
38 EMMFSampleRate96000Hz = 0x00000100,
39 EMMFSampleRate12000Hz = 0x00000200,
40 EMMFSampleRate24000Hz = 0x00000400
44 * Mono / stereo supported by MMF.
48 EMMFMono = 0x00000001,
49 EMMFStereo = 0x00000002
53 * Sound encodings supported by MMF.
55 enum TMMFSoundEncoding
57 EMMFSoundEncoding8BitPCM = 0x00000001,
58 EMMFSoundEncoding16BitPCM = 0x00000002,
59 EMMFSoundEncoding8BitALaw = 0x00000004,
60 EMMFSoundEncoding8BitMuLaw = 0x00000008
64 * Stereo types supported by MMF.
66 enum TMMFStereoSupport
68 EMMFNone = 0x00000000,
69 EMMFInterleavedOnly = 0x00000001,
70 EMMFNonInterleavedOnly = 0x00000002,
71 EMMFBothNonAndInterleaved = 0x00000003
79 /** The MMF is currently playing.
82 /** The MMF is playing a tone.
85 /** The MMF is currently playing tone.
88 /** The MMF is playing and recording.
90 EMMFStatePlayingRecording,
91 /** The MMF is converting data.
96 // Taken from dspbridge.h.
98 enum TDMSConnectionType
106 * Stream Transfer type
107 * This enumeration defines the transfer modes supported:
108 * 1. Processor copy mode (ETransferCpuCopy) and
109 * 2. Single copy DSP DMA (ETransferRemoteDma)
110 * 3. Zero-Copy mode (ETransferZeroCopy)
112 * Taken from dspbridge.h
114 enum TDMSTransferType
116 ETransferTypeCpuCopy,
117 ETransferTypeRemoteDma,
118 ETransferTypeZeroCopy
121 enum EnableTrueOrFalse
127 #endif // RESOURCEAUDIOENUMS_HRH