sl@0: // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // Mda\Common\Audio.hrh sl@0: // sl@0: // sl@0: sl@0: sl@0: #ifndef __MDA_COMMON_AUDIO_HRH__ sl@0: #define __MDA_COMMON_AUDIO_HRH__ sl@0: sl@0: sl@0: //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 sl@0: //note that the codec uids are no longer used as uids - they are simply provided for backwards compatibiltiy with the media server packages sl@0: sl@0: #define KUidMdaClipLocationMaxWriteLengthDefine 268457517 sl@0: sl@0: #define KUidMdaMediaTypeAudioDefine 268450136 sl@0: #define KUidMdaPrioritySettingsDefine 268457514 sl@0: sl@0: #define KUidMdaLocalSoundDeviceDefine 268450137 sl@0: sl@0: #define KUidMdaClipFormatWavDefine 268450138 sl@0: #define KUidMdaClipFormatAuDefine 268450141 sl@0: #define KUidMdaClipFormatRawAudioDefine 268450142 sl@0: sl@0: #define KUidMdaEpocWveCodecDefine 268450143 sl@0: sl@0: sl@0: #define KUidMdaWavCodecDefine 268450146 sl@0: #define KUidMdaWavPcmCodecDefine 268450147 sl@0: #define KUidMdaWavAlawCodecDefine 268450148 sl@0: #define KUidMdaWavMulawCodecDefine 268450149 sl@0: #define KUidMdaWavImaAdpcmCodecDefine 268450150 sl@0: sl@0: #define KMdaWavFormatTypePcmData {1,0} // Little endian sl@0: #define KMdaWavFormatTypeAlawData {6,0} // " sl@0: #define KMdaWavFormatTypeMulawData {7,0} // " sl@0: #define KMdaWavFormatTypeImaAdpcmData {17,0}// " sl@0: #define KMdaWavFormatTypePcm 1 sl@0: #define KMdaWavFormatTypeAlaw 6 sl@0: #define KMdaWavFormatTypeMulaw 7 sl@0: #define KMdaWavFormatTypeImaAdpcm 17 sl@0: sl@0: #define KUidMdaAuCodecDefine 268450151 sl@0: #define KUidMdaAuMulawCodecDefine 268450152 sl@0: #define KUidMdaAu8PcmCodecDefine 268450153 sl@0: #define KUidMdaAu16PcmCodecDefine 268450154 sl@0: #define KUidMdaAuAlawCodecDefine 268450155 sl@0: sl@0: #define KMdaAuFormatTypeMulawData {0,0,0,1} // Big endian sl@0: #define KMdaAuFormatType8PcmData {0,0,0,2} // " sl@0: #define KMdaAuFormatType16PcmData {0,0,0,3} // " sl@0: #define KMdaAuFormatTypeAlawData {0,0,0,27}// " sl@0: #define KMdaAuFormatTypeMulaw 1 sl@0: #define KMdaAuFormatType8Pcm 2 sl@0: #define KMdaAuFormatType16Pcm 3 sl@0: #define KMdaAuFormatTypeAlaw 27 sl@0: sl@0: #define KUidMdaRawAudioCodecDefine 268450156 sl@0: #define KUidMdaRawAudioMulawCodecDefine 268450157 sl@0: #define KUidMdaRawAudioAlawCodecDefine 268450158 sl@0: #define KUidMdaRawAudioS8PcmCodecDefine 268450159 sl@0: #define KUidMdaRawAudioU8PcmCodecDefine 268450160 sl@0: #define KUidMdaRawAudioSL16PcmCodecDefine 268450161 sl@0: #define KUidMdaRawAudioSB16PcmCodecDefine 268450162 sl@0: #define KUidMdaRawAudioUL16PcmCodecDefine 268450163 sl@0: #define KUidMdaRawAudioUB16PcmCodecDefine 268450164 sl@0: sl@0: #define KUidMdaClipFormatRawAmrDefine 268437992 // Raw AMR Clip Format object sl@0: #define KUidMdaRawAmrCodecDefine 268437991 // AMR Codec object sl@0: sl@0: #define KUidMdaTelephonySoundDeviceDefine 268450187 sl@0: #define KUidMdaClientPCMSoundDeviceDefine 268450188 sl@0: sl@0: #define KUidMdaTelephonyStateQueryDefine 268450205 sl@0: sl@0: #define KUidMdaToneGeneratorDeviceDefine 268457494 sl@0: sl@0: #define KUidMdaAudioStreamVolumeRampDefine 268457498 sl@0: sl@0: #define KUidMdaDataTypeSettingsDefine 268450121 sl@0: sl@0: sl@0: sl@0: #endif