voicerecorder/group/VoiceRecorderInternalCRKeys.h
branchRCL_3
changeset 21 c6bafb5162d8
parent 0 845549f293a7
equal deleted inserted replaced
20:072a5fa0c63b 21:c6bafb5162d8
       
     1 /*
       
     2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Voice Recorder internal Central Repository keys
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef VOICERECORDERINTERNALCRKEYS_H
       
    21 #define VOICERECORDERINTERNALCRKEYS_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32std.h>
       
    25 
       
    26 // CONSTANTS
       
    27 
       
    28 /******************************************************************************
       
    29 * Voice Recorder Settings CentRep API
       
    30 * Keys under this category are used in defining telephony
       
    31 * variant configuration.
       
    32 */
       
    33 const TUid KCRUidVoiceRecorder = {0x101F87A3};
       
    34 
       
    35 /**
       
    36  * To allow or prohibit in-call recording.
       
    37  *
       
    38  * Possible values are 0 (no), 1 (yes).
       
    39  * Default value is 1.
       
    40  */
       
    41 const TUint32 KVRAllowInCallRecording 		= 0x00000000;
       
    42 
       
    43 /**
       
    44  * This key determines which audio format should be used as a default for
       
    45  * recording.
       
    46  *
       
    47  * Possible values = 0 (AMR), 1 (wav) and 2 (mp4)
       
    48  * Default value is 0.
       
    49  */
       
    50 const TUint32 KVRDefaultAudioFormat 		= 0x00000001;
       
    51 
       
    52 /**
       
    53  * Determines which speaker is used, when sound files are played by Voice
       
    54  * Recorder.
       
    55  *
       
    56  * Possible values are 0 ( ESpeakerEarPiece ) and 1 ( ESpeakerIhf )
       
    57  * Default value is 1.
       
    58  */
       
    59 const TUint32 KVRDefaultSpeaker				= 0x00000002;
       
    60 
       
    61 /**
       
    62  * Tells where to store music files recorder by Voice Recorder.
       
    63  *
       
    64  * Possible values are 0 ( EMemoStorePhoneMemory ) and 1 ( EMemoStoreMMC  )
       
    65  * Default value is 0.
       
    66  */
       
    67 const TUint32 KVRMemoStore					= 0x00000003;
       
    68 
       
    69 /**
       
    70  * Volume setting for the ear piece. Loaded on startup and saved when closing VR.
       
    71  *
       
    72  * Possible values are currently 0 to 10
       
    73  * Default value is 4.
       
    74  */
       
    75 const TUint32 KVREarPieceVolume				= 0x00000004;
       
    76 
       
    77 /**
       
    78  * Volume setting for the IHF. Loaded on startup and saved when closing VR.
       
    79  *
       
    80  * Possible values are currently 0 to 10
       
    81  * Default value is 4.
       
    82  */
       
    83 const TUint32 KVRIHFVolume					= 0x00000005;
       
    84 
       
    85 /**
       
    86  * Quality setting for recorded memos.
       
    87  *
       
    88  * Possible values are 0 (EQualityMMSOptimized), 1 (EQualityHigh AAC-LC supported, or EqualityNormal AAC-LC not supported ), 2 (only when AAC-LC is supported)
       
    89  */
       
    90 const TUint32 KVRQuality					= 0x00000006;
       
    91 
       
    92 /**
       
    93  * Maximum recording time for memo in minutes. Only used if no stricter
       
    94  * limit is set runtime (eg. file size limitation)
       
    95  */
       
    96 const TUint32 KVRMaxRecordTime				= 0x00000007;
       
    97 
       
    98 /**
       
    99 * Bitmask specifying the elements that should be variated on or off in a
       
   100 * release. See VoiceRecorderLocalVariation.txt for description of specific bit.
       
   101 */
       
   102 const TUint32 KVRVariationFlags				= 0x00000008;
       
   103 
       
   104 /**
       
   105 * Count of recorded memos. This number is used in name of memo, eg. "Memo(25).amr"
       
   106 */
       
   107 const TUint32 KVRMemoCount	    			= 0x00000009;
       
   108 
       
   109 /**
       
   110 * Bitrate used in AMR-NB recording
       
   111 *
       
   112 * Possible values: 4750, 5150, 5900, 6700, 7400, 7950, 10200, 12200
       
   113 * Note that selected bitrate may not be supported by codec. In this case,
       
   114 * the default bitrate of 12200 is used.
       
   115 */
       
   116 const TUint32 KVRBitrateAmr	    			= 0x00000010;
       
   117 
       
   118 /**
       
   119 * Bitrate used in AAC-LC recording
       
   120 *
       
   121 * Possible values: 8000 - 288000
       
   122 * Note that selected bitrate may not be supported by codec. In this case,
       
   123 * the default bitrate of 32000 is used.
       
   124 */
       
   125 const TUint32 KVRBitrateAac	    			= 0x00000011;
       
   126 
       
   127 /**
       
   128 * Sampling rate used in AAC-LC recording
       
   129 *
       
   130 * Possible values: 8, 11.025, 12, 16, 22.05, 24, 32, 44.1 and 48kHz
       
   131 * Note that selected bitrate may not be supported by codec. In this case,
       
   132 * the default sampling rate of 48 is used.
       
   133 */
       
   134 const TUint32 KVRSamplerateAac   		= 0x00000012;
       
   135 
       
   136 /**
       
   137 * Audio mode (mono or stereo) flag
       
   138 *
       
   139 * Possible values:  1 (mono) and 2 (stereo)
       
   140 * the default is 1.
       
   141 */
       
   142 const TUint32 KVRStereoMonoFlag  		= 0x00000013;
       
   143 
       
   144 /**
       
   145 * AAC-LC recording Length
       
   146 *
       
   147 * Possible values: to be determined
       
   148 * the default is 60 minutes.
       
   149 */
       
   150 const TUint32 KVRAacRecordLength		= 0x00000014;
       
   151 
       
   152 
       
   153 
       
   154 
       
   155 #endif      // VOICERECORDERINTERNALCRKEYS_H
       
   156 
       
   157 // End of File