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.
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // Mda\Common\Audio.hrh
    15 // 
    16 //
    17 
    18 
    19 #ifndef __MDA_COMMON_AUDIO_HRH__
    20 #define __MDA_COMMON_AUDIO_HRH__
    21 
    22 
    23 //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
    24 //note that the codec uids are no longer used as uids - they are simply provided for backwards compatibiltiy with the media server packages
    25 
    26 #define KUidMdaClipLocationMaxWriteLengthDefine	268457517
    27 
    28 #define KUidMdaMediaTypeAudioDefine				268450136
    29 #define KUidMdaPrioritySettingsDefine			268457514
    30 
    31 #define KUidMdaLocalSoundDeviceDefine			268450137
    32 
    33 #define KUidMdaClipFormatWavDefine				268450138
    34 #define KUidMdaClipFormatAuDefine				268450141
    35 #define KUidMdaClipFormatRawAudioDefine			268450142
    36 
    37 #define KUidMdaEpocWveCodecDefine				268450143
    38 
    39 
    40 #define KUidMdaWavCodecDefine					268450146
    41 #define KUidMdaWavPcmCodecDefine				268450147
    42 #define KUidMdaWavAlawCodecDefine				268450148
    43 #define KUidMdaWavMulawCodecDefine				268450149
    44 #define KUidMdaWavImaAdpcmCodecDefine			268450150
    45 
    46 #define KMdaWavFormatTypePcmData				{1,0} // Little endian
    47 #define KMdaWavFormatTypeAlawData				{6,0} // "
    48 #define KMdaWavFormatTypeMulawData				{7,0} // "
    49 #define KMdaWavFormatTypeImaAdpcmData			{17,0}// "
    50 #define KMdaWavFormatTypePcm					1
    51 #define KMdaWavFormatTypeAlaw					6
    52 #define KMdaWavFormatTypeMulaw					7
    53 #define KMdaWavFormatTypeImaAdpcm				17
    54 
    55 #define KUidMdaAuCodecDefine					268450151
    56 #define KUidMdaAuMulawCodecDefine				268450152
    57 #define KUidMdaAu8PcmCodecDefine				268450153
    58 #define KUidMdaAu16PcmCodecDefine				268450154
    59 #define KUidMdaAuAlawCodecDefine				268450155
    60 
    61 #define KMdaAuFormatTypeMulawData				{0,0,0,1} // Big endian
    62 #define KMdaAuFormatType8PcmData				{0,0,0,2} // "
    63 #define KMdaAuFormatType16PcmData				{0,0,0,3} // "
    64 #define KMdaAuFormatTypeAlawData				{0,0,0,27}// "
    65 #define KMdaAuFormatTypeMulaw					1 
    66 #define KMdaAuFormatType8Pcm					2
    67 #define KMdaAuFormatType16Pcm					3
    68 #define KMdaAuFormatTypeAlaw					27
    69 
    70 #define KUidMdaRawAudioCodecDefine				268450156
    71 #define KUidMdaRawAudioMulawCodecDefine			268450157
    72 #define KUidMdaRawAudioAlawCodecDefine			268450158
    73 #define KUidMdaRawAudioS8PcmCodecDefine			268450159
    74 #define KUidMdaRawAudioU8PcmCodecDefine			268450160
    75 #define KUidMdaRawAudioSL16PcmCodecDefine		268450161
    76 #define KUidMdaRawAudioSB16PcmCodecDefine		268450162
    77 #define KUidMdaRawAudioUL16PcmCodecDefine		268450163
    78 #define KUidMdaRawAudioUB16PcmCodecDefine		268450164
    79 
    80 #define KUidMdaClipFormatRawAmrDefine 268437992 // Raw AMR Clip Format object
    81 #define KUidMdaRawAmrCodecDefine      268437991 // AMR Codec object
    82 
    83 #define KUidMdaTelephonySoundDeviceDefine		268450187
    84 #define KUidMdaClientPCMSoundDeviceDefine		268450188
    85 
    86 #define KUidMdaTelephonyStateQueryDefine		268450205
    87 
    88 #define KUidMdaToneGeneratorDeviceDefine		268457494
    89 
    90 #define KUidMdaAudioStreamVolumeRampDefine		268457498
    91 
    92 #define KUidMdaDataTypeSettingsDefine		268450121
    93 
    94 
    95 
    96 #endif