mmserv/tms/tmscallserver/inc/tmscsuplink.h
changeset 21 2ed61feeead6
parent 19 4a629bc82c5e
child 53 eabc8c503852
--- a/mmserv/tms/tmscallserver/inc/tmscsuplink.h	Fri May 14 18:19:45 2010 -0500
+++ b/mmserv/tms/tmscallserver/inc/tmscsuplink.h	Fri May 28 19:26:28 2010 -0500
@@ -24,14 +24,15 @@
 namespace TMS {
 
 /**
- *  Provides uplink functionality.
+ *  Provides Uplink stream functionality.
  *
  */
-NONSHARABLE_CLASS(TMSCSUplink) : public TMSCSPDevSound
+NONSHARABLE_CLASS(TMSCSUplink) : public TMSCSDevSound
     {
 public:
 
-    static TMSCSUplink* NewL(TMSCSPDevSoundObserver& aObserver);
+    static TMSCSUplink* NewL(TMSCSDevSoundObserver& observer,
+            const gint retrytime);
 
     virtual ~TMSCSUplink();
 
@@ -40,22 +41,12 @@
      *
      * @return ETrue - mic is muted, EFalse - mic is not muted.
      */
-    TBool IsMuted();
-
-    /**
-     * Set mic muted.
-     */
-    void SetMuted();
-
-    /**
-     * Set mic unmuted.
-     */
-    void SetUnmuted();
+    gboolean IsMuted();
 
     /**
      * Set mic gain.
      */
-    void SetGain(gint aGain);
+    void SetGain(gint gain);
 
     /**
      * Get mic muted.
@@ -70,33 +61,30 @@
     // from base class MDevSoundObserver
 
     /**
-     * From MDevSoundObserver
-     * Notification from Devsound that stream (mic) is
-     * activated successfully.
+     * From MDevSoundObserver.
+     * Indication from the devsound that Uplink has been activated
+     * successfully.
      */
     void BufferToBeEmptied(CMMFBuffer* aBuffer);
 
     /**
      * From MDevSoundObserver
-     * Notification from devsound that downstream(mic) activation
-     * feiled.
+     * Indication from devsound that Uplink activation has failed.
      */
     void RecordError(TInt aError);
 
 private:
 
-    // from base class MCSPDevSound
-
     /**
-     * From MCSPDevSound.
+     * From TMSCSDevSound.
      * Tries to activate the mic stream.
      */
     void DoActivateL();
 
 protected:
 
-    TMSCSUplink(TMSCSPDevSoundObserver& aObserver);
-    void ConstructL();
+    TMSCSUplink(TMSCSDevSoundObserver& aObserver);
+    void ConstructL(const gint retrytime);
     };
 
 } //namespace TMS