1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/mmlibs/mmfw/inc/Mda/Common/Audio.hrh Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,96 @@
1.4 +// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// Mda\Common\Audio.hrh
1.18 +//
1.19 +//
1.20 +
1.21 +
1.22 +#ifndef __MDA_COMMON_AUDIO_HRH__
1.23 +#define __MDA_COMMON_AUDIO_HRH__
1.24 +
1.25 +
1.26 +//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
1.27 +//note that the codec uids are no longer used as uids - they are simply provided for backwards compatibiltiy with the media server packages
1.28 +
1.29 +#define KUidMdaClipLocationMaxWriteLengthDefine 268457517
1.30 +
1.31 +#define KUidMdaMediaTypeAudioDefine 268450136
1.32 +#define KUidMdaPrioritySettingsDefine 268457514
1.33 +
1.34 +#define KUidMdaLocalSoundDeviceDefine 268450137
1.35 +
1.36 +#define KUidMdaClipFormatWavDefine 268450138
1.37 +#define KUidMdaClipFormatAuDefine 268450141
1.38 +#define KUidMdaClipFormatRawAudioDefine 268450142
1.39 +
1.40 +#define KUidMdaEpocWveCodecDefine 268450143
1.41 +
1.42 +
1.43 +#define KUidMdaWavCodecDefine 268450146
1.44 +#define KUidMdaWavPcmCodecDefine 268450147
1.45 +#define KUidMdaWavAlawCodecDefine 268450148
1.46 +#define KUidMdaWavMulawCodecDefine 268450149
1.47 +#define KUidMdaWavImaAdpcmCodecDefine 268450150
1.48 +
1.49 +#define KMdaWavFormatTypePcmData {1,0} // Little endian
1.50 +#define KMdaWavFormatTypeAlawData {6,0} // "
1.51 +#define KMdaWavFormatTypeMulawData {7,0} // "
1.52 +#define KMdaWavFormatTypeImaAdpcmData {17,0}// "
1.53 +#define KMdaWavFormatTypePcm 1
1.54 +#define KMdaWavFormatTypeAlaw 6
1.55 +#define KMdaWavFormatTypeMulaw 7
1.56 +#define KMdaWavFormatTypeImaAdpcm 17
1.57 +
1.58 +#define KUidMdaAuCodecDefine 268450151
1.59 +#define KUidMdaAuMulawCodecDefine 268450152
1.60 +#define KUidMdaAu8PcmCodecDefine 268450153
1.61 +#define KUidMdaAu16PcmCodecDefine 268450154
1.62 +#define KUidMdaAuAlawCodecDefine 268450155
1.63 +
1.64 +#define KMdaAuFormatTypeMulawData {0,0,0,1} // Big endian
1.65 +#define KMdaAuFormatType8PcmData {0,0,0,2} // "
1.66 +#define KMdaAuFormatType16PcmData {0,0,0,3} // "
1.67 +#define KMdaAuFormatTypeAlawData {0,0,0,27}// "
1.68 +#define KMdaAuFormatTypeMulaw 1
1.69 +#define KMdaAuFormatType8Pcm 2
1.70 +#define KMdaAuFormatType16Pcm 3
1.71 +#define KMdaAuFormatTypeAlaw 27
1.72 +
1.73 +#define KUidMdaRawAudioCodecDefine 268450156
1.74 +#define KUidMdaRawAudioMulawCodecDefine 268450157
1.75 +#define KUidMdaRawAudioAlawCodecDefine 268450158
1.76 +#define KUidMdaRawAudioS8PcmCodecDefine 268450159
1.77 +#define KUidMdaRawAudioU8PcmCodecDefine 268450160
1.78 +#define KUidMdaRawAudioSL16PcmCodecDefine 268450161
1.79 +#define KUidMdaRawAudioSB16PcmCodecDefine 268450162
1.80 +#define KUidMdaRawAudioUL16PcmCodecDefine 268450163
1.81 +#define KUidMdaRawAudioUB16PcmCodecDefine 268450164
1.82 +
1.83 +#define KUidMdaClipFormatRawAmrDefine 268437992 // Raw AMR Clip Format object
1.84 +#define KUidMdaRawAmrCodecDefine 268437991 // AMR Codec object
1.85 +
1.86 +#define KUidMdaTelephonySoundDeviceDefine 268450187
1.87 +#define KUidMdaClientPCMSoundDeviceDefine 268450188
1.88 +
1.89 +#define KUidMdaTelephonyStateQueryDefine 268450205
1.90 +
1.91 +#define KUidMdaToneGeneratorDeviceDefine 268457494
1.92 +
1.93 +#define KUidMdaAudioStreamVolumeRampDefine 268457498
1.94 +
1.95 +#define KUidMdaDataTypeSettingsDefine 268450121
1.96 +
1.97 +
1.98 +
1.99 +#endif