mmserv/tms/inc/tmsshared.h
branchRCL_3
changeset 3 4f62049db6ac
parent 0 71ca22bcf22a
child 7 3d8c721bf319
equal deleted inserted replaced
0:71ca22bcf22a 3:4f62049db6ac
    25 #include "tmsgstreamer.h"
    25 #include "tmsgstreamer.h"
    26 
    26 
    27 namespace TMS {
    27 namespace TMS {
    28 
    28 
    29 // CONSTANTS
    29 // CONSTANTS
    30 const TUint KQueueCreateWaitTime = 10; //10ms
    30 const guint KQueueCreateWaitTime = 10; //10ms
    31 
    31 
    32 const TUint KTMSG711FrameLen10ms = 82; //10ms ->  80 + 2 for header
    32 const guint KTMSG711FrameLen10ms = 82;  //10ms ->  80 + 2 for header
    33 const TUint KTMSG711FrameLen20ms = 162; //20ms -> 160 + 2 for header
    33 const guint KTMSG711FrameLen20ms = 162; //20ms -> 160 + 2 for header
    34 
    34 
    35 const TInt KTMSAMRNBFrameLen   = 14; //frame-mode OFF
    35 const gint KTMSAMRNBFrameLen   = 14; //frame-mode OFF
    36 const TInt KTMSAMRNBFrameLenFM = 32; //frame-mode ON
    36 const gint KTMSAMRNBFrameLenFM = 32; //frame-mode ON
    37 
    37 
    38 const TInt KTMSILBCFrameLen20ms = 40; //20ms
    38 const gint KTMSILBCFrameLen20ms = 40; //20ms
    39 const TInt KTMSILBCFrameLen30ms = 52; //30ms
    39 const gint KTMSILBCFrameLen30ms = 52; //30ms
    40 
    40 
    41 const TInt KTMSG729FrameLen   = 24; //10 octets + 2 for header
    41 const gint KTMSG729FrameLen   = 24; //10 octets + 2 for header
    42 const TUint KTMSPCM16FrameLen = 4096;
    42 const guint KTMSPCM16FrameLen = 4096;
    43 
    43 
    44 // ENUMERATIONS
    44 // ENUMERATIONS
    45 
    45 
    46 // ITC communication commands between the threads
    46 // ITC communication commands between the threads
    47 enum TUserCommand
    47 enum TUserCommand
   148     gboolean iCng;
   148     gboolean iCng;
   149     gboolean iPlc;
   149     gboolean iPlc;
   150     gboolean iFrameMode;
   150     gboolean iFrameMode;
   151     gboolean iFrameModeReqForEC;
   151     gboolean iFrameModeReqForEC;
   152     guint iBitrate;
   152     guint iBitrate;
   153     RArray<TUint> iArrBitrates;
   153     RArray<guint> iArrBitrates;
   154     };
   154     };
   155 
   155 
   156 // -----------------------------------------------------------------------------
   156 // -----------------------------------------------------------------------------
   157 //  Class Name:  TSharedData
   157 //  Class Name:  TSharedData
   158 //
   158 //