mmserv/tms/tmscallserver/inc/calladpt.h
branchRCL_3
changeset 3 4f62049db6ac
parent 0 71ca22bcf22a
equal deleted inserted replaced
0:71ca22bcf22a 3:4f62049db6ac
    21 #include <e32base.h>
    21 #include <e32base.h>
    22 #include <tms.h>
    22 #include <tms.h>
    23 
    23 
    24 namespace TMS {
    24 namespace TMS {
    25 
    25 
    26 // CallAdpt class
    26 // TMSCallAdpt class
    27 class CallAdpt
    27 class TMSCallAdpt
    28     {
    28     {
    29 public:
    29 public:
    30     static gint CreateCallL(gint callType, CallAdpt*& callAdpt);
    30     static gint CreateCallL(gint callType, TMSCallAdpt*& callAdpt);
    31     virtual ~CallAdpt();
    31     virtual ~TMSCallAdpt();
    32     virtual gint CreateStream(TMSCallType callType,
    32     virtual gint CreateStream(TMSCallType callType,
    33             TMSStreamType strmType, gint& outStrmId) = 0;
    33             TMSStreamType strmType, gint& outStrmId) = 0;
    34     virtual gint InitStreamL(TMSCallType callType,
    34     virtual gint InitStreamL(TMSCallType callType,
    35             TMSStreamType strmType, gint strmId, TMSFormatType frmtType,
    35             TMSStreamType strmType, gint strmId, TMSFormatType frmtType,
    36             const RMessage2& aMessage) = 0;
    36             const RMessage2& aMessage) = 0;
    84     virtual gint GetPreviousOutput(TMSAudioOutput& output) = 0;
    84     virtual gint GetPreviousOutput(TMSAudioOutput& output) = 0;
    85     virtual gint GetAvailableOutputsL(gint& count,
    85     virtual gint GetAvailableOutputsL(gint& count,
    86             CBufFlat*& outputsbuffer) = 0;
    86             CBufFlat*& outputsbuffer) = 0;
    87 
    87 
    88 protected:
    88 protected:
    89     CallAdpt();
    89     TMSCallAdpt();
    90     virtual gint PostConstruct();
    90     virtual gint PostConstruct();
    91 
    91 
    92 protected:
    92 protected:
    93     gint iGlobalVol;
    93     gint iGlobalVol;
    94     gint iGlobalGain;
    94     gint iGlobalGain;