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