mmserv/tms/tmscallserver/inc/tmscalladpt.h
changeset 22 128eb6a32b84
parent 14 80975da52420
child 21 2ed61feeead6
--- a/mmserv/tms/tmscallserver/inc/tmscalladpt.h	Fri May 14 16:22:35 2010 +0300
+++ b/mmserv/tms/tmscallserver/inc/tmscalladpt.h	Thu May 27 13:20:50 2010 +0300
@@ -29,11 +29,12 @@
 public:
     static gint CreateCallL(gint callType, TMSCallAdpt*& callAdpt);
     virtual ~TMSCallAdpt();
+
+    // From TMSStream
     virtual gint CreateStream(TMSCallType callType,
             TMSStreamType strmType, gint& outStrmId) = 0;
-    virtual gint InitStreamL(TMSCallType callType,
-            TMSStreamType strmType, gint strmId, TMSFormatType frmtType,
-            const RMessage2& aMessage) = 0;
+    virtual gint InitStream(TMSCallType callType, TMSStreamType strmType,
+            gint strmId, TMSFormatType frmtType, const RMessage2& aMessage) = 0;
     virtual gint StartStream(TMSCallType callType,
             TMSStreamType strmType, gint strmId) = 0;
     virtual gint PauseStream(TMSCallType callType,
@@ -52,6 +53,7 @@
             const TMSStreamType strmType, const gint strmId,
             const guint32 key, RChunk& chunk) = 0;
 
+    // From TMS effects
     virtual gint GetMaxVolume(guint& volume) = 0;
     virtual gint SetVolume(const guint volume) = 0;
     virtual gint GetVolume(guint& volume) = 0;
@@ -65,6 +67,7 @@
     virtual gint SetGlobalGain(const guint gain) = 0;
     virtual gint GetGlobalGain(guint& gain) = 0;
 
+    // From TMS formats
     virtual gint GetCodecMode(const TMSFormatType fmttype,
             const TMSStreamType strmtype, gint& mode) = 0;
     virtual gint SetCodecMode(const TMSFormatType fmttype,
@@ -79,11 +82,15 @@
     virtual gint SetCNG(const TMSFormatType fmttype, const gboolean cng) = 0;
     virtual gint GetPlc(const TMSFormatType fmttype, gboolean& plc) = 0;
     virtual gint SetPlc(const TMSFormatType fmttype, const gboolean plc) = 0;
+
+    // From TMS routing
     virtual gint SetOutput(TMSAudioOutput output) = 0;
     virtual gint GetOutput(TMSAudioOutput& output) = 0;
     virtual gint GetPreviousOutput(TMSAudioOutput& output) = 0;
     virtual gint GetAvailableOutputsL(gint& count,
             CBufFlat*& outputsbuffer) = 0;
+
+    // From TMSDTMF
     virtual gint StartDTMF(TMSStreamType streamtype, TDes& dtmfstring) = 0;
     virtual gint StopDTMF(TMSStreamType streamtype) = 0;
     virtual gint ContinueDTMF(TBool continuesending) = 0;