epoc32/include/mda/common/audio.hrh
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
--- a/epoc32/include/mda/common/audio.hrh	Tue Nov 24 13:55:44 2009 +0000
+++ b/epoc32/include/mda/common/audio.hrh	Tue Mar 16 16:12:26 2010 +0000
@@ -1,1 +1,96 @@
-audio.hrh
+// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
+// which accompanies this distribution, and is available
+// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Mda\Common\Audio.hrh
+// 
+//
+
+
+#ifndef __MDA_COMMON_AUDIO_HRH__
+#define __MDA_COMMON_AUDIO_HRH__
+
+
+//for mfad the media server uids have been replaced with the codec fourCC codes - otherwise a mapping table would be required to convert the uids to fourCC
+//note that the codec uids are no longer used as uids - they are simply provided for backwards compatibiltiy with the media server packages
+
+#define KUidMdaClipLocationMaxWriteLengthDefine	268457517
+
+#define KUidMdaMediaTypeAudioDefine				268450136
+#define KUidMdaPrioritySettingsDefine			268457514
+
+#define KUidMdaLocalSoundDeviceDefine			268450137
+
+#define KUidMdaClipFormatWavDefine				268450138
+#define KUidMdaClipFormatAuDefine				268450141
+#define KUidMdaClipFormatRawAudioDefine			268450142
+
+#define KUidMdaEpocWveCodecDefine				268450143
+
+
+#define KUidMdaWavCodecDefine					268450146
+#define KUidMdaWavPcmCodecDefine				268450147
+#define KUidMdaWavAlawCodecDefine				268450148
+#define KUidMdaWavMulawCodecDefine				268450149
+#define KUidMdaWavImaAdpcmCodecDefine			268450150
+
+#define KMdaWavFormatTypePcmData				{1,0} // Little endian
+#define KMdaWavFormatTypeAlawData				{6,0} // "
+#define KMdaWavFormatTypeMulawData				{7,0} // "
+#define KMdaWavFormatTypeImaAdpcmData			{17,0}// "
+#define KMdaWavFormatTypePcm					1
+#define KMdaWavFormatTypeAlaw					6
+#define KMdaWavFormatTypeMulaw					7
+#define KMdaWavFormatTypeImaAdpcm				17
+
+#define KUidMdaAuCodecDefine					268450151
+#define KUidMdaAuMulawCodecDefine				268450152
+#define KUidMdaAu8PcmCodecDefine				268450153
+#define KUidMdaAu16PcmCodecDefine				268450154
+#define KUidMdaAuAlawCodecDefine				268450155
+
+#define KMdaAuFormatTypeMulawData				{0,0,0,1} // Big endian
+#define KMdaAuFormatType8PcmData				{0,0,0,2} // "
+#define KMdaAuFormatType16PcmData				{0,0,0,3} // "
+#define KMdaAuFormatTypeAlawData				{0,0,0,27}// "
+#define KMdaAuFormatTypeMulaw					1 
+#define KMdaAuFormatType8Pcm					2
+#define KMdaAuFormatType16Pcm					3
+#define KMdaAuFormatTypeAlaw					27
+
+#define KUidMdaRawAudioCodecDefine				268450156
+#define KUidMdaRawAudioMulawCodecDefine			268450157
+#define KUidMdaRawAudioAlawCodecDefine			268450158
+#define KUidMdaRawAudioS8PcmCodecDefine			268450159
+#define KUidMdaRawAudioU8PcmCodecDefine			268450160
+#define KUidMdaRawAudioSL16PcmCodecDefine		268450161
+#define KUidMdaRawAudioSB16PcmCodecDefine		268450162
+#define KUidMdaRawAudioUL16PcmCodecDefine		268450163
+#define KUidMdaRawAudioUB16PcmCodecDefine		268450164
+
+#define KUidMdaClipFormatRawAmrDefine 268437992 // Raw AMR Clip Format object
+#define KUidMdaRawAmrCodecDefine      268437991 // AMR Codec object
+
+#define KUidMdaTelephonySoundDeviceDefine		268450187
+#define KUidMdaClientPCMSoundDeviceDefine		268450188
+
+#define KUidMdaTelephonyStateQueryDefine		268450205
+
+#define KUidMdaToneGeneratorDeviceDefine		268457494
+
+#define KUidMdaAudioStreamVolumeRampDefine		268457498
+
+#define KUidMdaDataTypeSettingsDefine		268450121
+
+
+
+#endif