--- a/mmserv/tms/tmscallserver/inc/tmscalladpt.h Thu Aug 19 10:26:11 2010 +0300
+++ b/mmserv/tms/tmscallserver/inc/tmscalladpt.h Tue Aug 31 15:43:02 2010 +0300
@@ -26,6 +26,14 @@
// TMSCallAdpt class
class TMSCallAdpt
{
+protected:
+ enum TMSStreamState
+ {
+ EIdle = 0,
+ EInitialized,
+ EActivated
+ };
+
public:
static gint CreateCallL(gint callType, TMSCallAdpt*& callAdpt);
virtual ~TMSCallAdpt();
@@ -35,9 +43,11 @@
const TMSStreamType strmType, gint& outStrmId) = 0;
virtual gint InitStream(const TMSCallType callType,
const TMSStreamType strmType, const gint strmId,
- const TMSFormatType frmtType, const RMessage2& aMessage) = 0;
+ const TMSFormatType frmtType, const gint retrytime,
+ const RMessage2& aMessage) = 0;
virtual gint StartStream(const TMSCallType callType,
- const TMSStreamType strmType, const gint strmId) = 0;
+ const TMSStreamType strmType, const gint strmId,
+ const gint retrytime) = 0;
virtual gint PauseStream(const TMSCallType callType,
const TMSStreamType strmType, const gint strmId) = 0;
virtual gint StopStream(const TMSCallType callType,
@@ -91,6 +101,9 @@
virtual gint GetPreviousOutput(TMSAudioOutput& output) = 0;
virtual gint GetAvailableOutputsL(gint& count, CBufFlat*& outputsbuf) = 0;
+ void GetCallType(TMSCallType& callType);
+ gboolean IsUplActivated();
+
protected:
TMSCallAdpt();
virtual gint PostConstruct() = 0;
@@ -98,10 +111,12 @@
protected:
gint iGlobalVol;
gint iGlobalGain;
+ TMSStreamState iUplState;
+ TMSStreamState iDnlState;
+ gint iCallType;
};
} //namespace TMS
#endif // CALLADPT_H
-// End of file