epoc32/include/mda/common/audio.hrh
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h) This is the epoc32/include tree with the "platform" subtrees removed, and all but a selected few mbg and rsg files removed.

// 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 "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.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