mmserv/tms/tmscallserver/src/tmscallcsadpt.cpp
changeset 55 e267340986c9
parent 42 1fa3fb47b1e3
--- a/mmserv/tms/tmscallserver/src/tmscallcsadpt.cpp	Fri Sep 17 08:33:15 2010 +0300
+++ b/mmserv/tms/tmscallserver/src/tmscallcsadpt.cpp	Mon Oct 04 00:51:56 2010 +0300
@@ -457,162 +457,6 @@
     }
 
 // -----------------------------------------------------------------------------
-// TMSCallCSAdpt::DataXferBufferEmptied
-//
-// -----------------------------------------------------------------------------
-//
-gint TMSCallCSAdpt::DataXferBufferEmptied(const TMSCallType /*callType*/,
-        const TMSStreamType /*strmType*/, const gint /*strmId*/)
-    {
-    TRACE_PRN_FN_ENT;
-    gint status(TMS_RESULT_FEATURE_NOT_SUPPORTED);
-    TRACE_PRN_FN_EXT;
-    return status;
-    }
-
-// -----------------------------------------------------------------------------
-// TMSCallCSAdpt::DataXferBufferFilled
-//
-// -----------------------------------------------------------------------------
-//
-gint TMSCallCSAdpt::DataXferBufferFilled(const TMSCallType /*callType*/,
-        const TMSStreamType /*strmType*/, const gint /*strmId*/,
-        const guint /*datasize*/)
-    {
-    TRACE_PRN_FN_ENT;
-    gint status(TMS_RESULT_FEATURE_NOT_SUPPORTED);
-    TRACE_PRN_FN_EXT;
-    return status;
-    }
-
-// -----------------------------------------------------------------------------
-// TMSCallCSAdpt::GetDataXferBufferHndl
-//
-// -----------------------------------------------------------------------------
-//
-gint TMSCallCSAdpt::GetDataXferBufferHndl(const TMSCallType /*callType*/,
-        const TMSStreamType /*strmType*/, const gint /*strmId*/,
-        const guint32 /*key*/, RChunk& /*chunk*/)
-    {
-    TRACE_PRN_FN_ENT;
-    gint status(TMS_RESULT_FEATURE_NOT_SUPPORTED);
-    TRACE_PRN_FN_EXT;
-    return status;
-    }
-
-// -----------------------------------------------------------------------------
-// TMSCallCSAdpt::GetMaxVolume
-//
-// -----------------------------------------------------------------------------
-//
-gint TMSCallCSAdpt::GetMaxVolume(guint& volume)
-    {
-    TRACE_PRN_FN_ENT;
-    gint status(TMS_RESULT_INVALID_STATE);
-    if (iCSDownlink && iDnlState != EIdle)
-        {
-        volume = iCSDownlink->MaxVolume();
-        status = TMS_RESULT_SUCCESS;
-        TRACE_PRN_N1(_L("TMS->TMSCallCSAdpt: GetMaxVolume [%d]"), volume);
-        }
-    TRACE_PRN_FN_EXT;
-    return status;
-    }
-
-// -----------------------------------------------------------------------------
-// TMSCallCSAdpt::SetVolume
-//
-// -----------------------------------------------------------------------------
-//
-gint TMSCallCSAdpt::SetVolume(const guint volume)
-    {
-    TRACE_PRN_FN_ENT;
-    gint status(TMS_RESULT_INVALID_STATE);
-    if (iCSDownlink && iDnlState != EIdle)
-        {
-        iCSDownlink->SetVolume(volume);
-        status = TMS_RESULT_SUCCESS;
-        NotifyClient(iDnlinkStreamId, ECmdSetVolume, status);
-        }
-    TRACE_PRN_FN_EXT;
-    return status;
-    }
-
-// -----------------------------------------------------------------------------
-// TMSCallCSAdpt::GetVolume
-//
-// -----------------------------------------------------------------------------
-//
-gint TMSCallCSAdpt::GetVolume(guint& volume)
-    {
-    TRACE_PRN_FN_ENT;
-    gint status(TMS_RESULT_INVALID_STATE);
-    if (iCSDownlink && iDnlState != EIdle)
-        {
-        volume = iCSDownlink->Volume();
-        status = TMS_RESULT_SUCCESS;
-        }
-    TRACE_PRN_FN_EXT;
-    return status;
-    }
-
-// -----------------------------------------------------------------------------
-// TMSCallCSAdpt::GetMaxGain
-//
-// -----------------------------------------------------------------------------
-//
-gint TMSCallCSAdpt::GetMaxGain(guint& gain)
-    {
-    TRACE_PRN_FN_ENT;
-    gint status(TMS_RESULT_INVALID_STATE);
-    if (iCSUplink && iUplState != EIdle)
-        {
-        gain = iCSUplink->MaxGain();
-        status = TMS_RESULT_SUCCESS;
-        TRACE_PRN_N1(_L("TMS->TMSCallCSAdpt::GetMaxGain [%d]"), gain);
-        }
-    TRACE_PRN_FN_EXT;
-    return status;
-    }
-
-// -----------------------------------------------------------------------------
-// TMSCallCSAdpt::SetGain
-//
-// -----------------------------------------------------------------------------
-//
-gint TMSCallCSAdpt::SetGain(const guint gain)
-    {
-    TRACE_PRN_FN_ENT;
-    gint status(TMS_RESULT_INVALID_STATE);
-    if (iCSUplink && iUplState != EIdle)
-        {
-        iCSUplink->SetGain(gain);
-        status = TMS_RESULT_SUCCESS;
-        NotifyClient(iUplinkStreamId, ECmdSetGain, status);
-        }
-    TRACE_PRN_FN_EXT;
-    return status;
-    }
-
-// -----------------------------------------------------------------------------
-// TMSCallCSAdpt::GetGain
-//
-// -----------------------------------------------------------------------------
-//
-gint TMSCallCSAdpt::GetGain(guint& gain)
-    {
-    TRACE_PRN_FN_ENT;
-    gint status(TMS_RESULT_INVALID_STATE);
-    if (iCSUplink && iUplState != EIdle)
-        {
-        gain = iCSUplink->Gain();
-        status = TMS_RESULT_SUCCESS;
-        }
-    TRACE_PRN_FN_EXT;
-    return status;
-    }
-
-// -----------------------------------------------------------------------------
 // TMSCallCSAdpt::GetGlobalMaxVolume
 //
 // -----------------------------------------------------------------------------
@@ -724,166 +568,6 @@
     return status;
     }
 
-// -----------------------------------------------------------------------------
-// TMSCallCSAdpt::GetCodecMode
-// No codec format in CS call
-// -----------------------------------------------------------------------------
-//
-gint TMSCallCSAdpt::GetCodecMode(const TMSFormatType /*fmttype*/,
-        const TMSStreamType /*strmtype*/, gint& /*mode*/)
-    {
-    TRACE_PRN_FN_ENT;
-    gint status(TMS_RESULT_FEATURE_NOT_SUPPORTED);
-    TRACE_PRN_FN_EXT;
-    return status;
-    }
-
-// -----------------------------------------------------------------------------
-// TMSCallCSAdpt::SetCodecMode
-// No codec format in CS call
-// -----------------------------------------------------------------------------
-//
-gint TMSCallCSAdpt::SetCodecMode(const TMSFormatType /*fmttype*/,
-        const TMSStreamType /*strmtype*/, const gint /*mode*/)
-    {
-    TRACE_PRN_FN_ENT;
-    gint status(TMS_RESULT_FEATURE_NOT_SUPPORTED);
-    TRACE_PRN_FN_EXT;
-    return status;
-    }
-
-// -----------------------------------------------------------------------------
-// TMSCallCSAdpt::GetSupportedBitRatesCount
-// No codec format in CS call
-// -----------------------------------------------------------------------------
-//
-gint TMSCallCSAdpt::GetSupportedBitRatesCount(guint& /*count*/)
-    {
-    TRACE_PRN_FN_ENT;
-    gint status(TMS_RESULT_FEATURE_NOT_SUPPORTED);
-    TRACE_PRN_FN_EXT;
-    return status;
-    }
-
-// -----------------------------------------------------------------------------
-// TMSCallCSAdpt::GetSupportedBitRates
-//
-// -----------------------------------------------------------------------------
-//
-gint TMSCallCSAdpt::GetSupportedBitRates(CBufFlat*& /*brbuffer*/)
-    {
-    TRACE_PRN_FN_ENT;
-    gint status(TMS_RESULT_FEATURE_NOT_SUPPORTED);
-    TRACE_PRN_FN_EXT;
-    return status;
-    }
-
-// -----------------------------------------------------------------------------
-// TMSCallCSAdpt::GetBitRate
-//
-// -----------------------------------------------------------------------------
-//
-gint TMSCallCSAdpt::GetBitRate(guint& /*bitrate*/)
-    {
-    TRACE_PRN_FN_ENT;
-    gint status(TMS_RESULT_FEATURE_NOT_SUPPORTED);
-    TRACE_PRN_FN_EXT;
-    return status;
-    }
-
-// -----------------------------------------------------------------------------
-// TMSCallCSAdpt::SetBitRate
-//
-// -----------------------------------------------------------------------------
-//
-gint TMSCallCSAdpt::SetBitRate(const guint /*bitrate*/)
-    {
-    TRACE_PRN_FN_ENT;
-    gint status(TMS_RESULT_FEATURE_NOT_SUPPORTED);
-    TRACE_PRN_FN_EXT;
-    return status;
-    }
-
-// -----------------------------------------------------------------------------
-// TMSCallCSAdpt::GetVAD
-//
-// -----------------------------------------------------------------------------
-//
-gint TMSCallCSAdpt::GetVAD(const TMSFormatType /*fmttype*/, gboolean& /*vad*/)
-    {
-    TRACE_PRN_FN_ENT;
-    gint status(TMS_RESULT_FEATURE_NOT_SUPPORTED);
-    TRACE_PRN_FN_EXT;
-    return status;
-    }
-
-// -----------------------------------------------------------------------------
-// TMSCallCSAdpt::SetVAD
-//
-// -----------------------------------------------------------------------------
-//
-gint TMSCallCSAdpt::SetVAD(const TMSFormatType /*fmttype*/,
-        const gboolean /*vad*/)
-    {
-    TRACE_PRN_FN_ENT;
-    gint status(TMS_RESULT_FEATURE_NOT_SUPPORTED);
-    TRACE_PRN_FN_EXT;
-    return status;
-    }
-
-// -----------------------------------------------------------------------------
-// TMSCallCSAdpt::GetCNG
-//
-// -----------------------------------------------------------------------------
-//
-gint TMSCallCSAdpt::GetCNG(const TMSFormatType /*fmttype*/, gboolean& /*cng*/)
-    {
-    TRACE_PRN_FN_ENT;
-    gint status(TMS_RESULT_FEATURE_NOT_SUPPORTED);
-    TRACE_PRN_FN_EXT;
-    return status;
-    }
-
-// -----------------------------------------------------------------------------
-// TMSCallCSAdpt::SetCNG
-//
-// -----------------------------------------------------------------------------
-//
-gint TMSCallCSAdpt::SetCNG(const TMSFormatType /*fmttype*/,
-        const gboolean /*cng*/)
-    {
-    TRACE_PRN_FN_ENT;
-    gint status(TMS_RESULT_FEATURE_NOT_SUPPORTED);
-    TRACE_PRN_FN_EXT;
-    return status;
-    }
-
-// -----------------------------------------------------------------------------
-// TMSCallCSAdpt::GetPlc
-//
-// -----------------------------------------------------------------------------
-//
-gint TMSCallCSAdpt::GetPlc(const TMSFormatType /*fmttype*/, gboolean& /*plc*/)
-    {
-    TRACE_PRN_FN_ENT;
-    gint status(TMS_RESULT_FEATURE_NOT_SUPPORTED);
-    TRACE_PRN_FN_EXT;
-    return status;
-    }
-
-// -----------------------------------------------------------------------------
-// TMSCallCSAdpt::SetPlc
-//
-// -----------------------------------------------------------------------------
-//
-gint TMSCallCSAdpt::SetPlc(const TMSFormatType /*fmttype*/,
-        const gboolean /*plc*/)
-    {
-    TRACE_PRN_FN_ENT;
-    gint status(TMS_RESULT_FEATURE_NOT_SUPPORTED);
-    TRACE_PRN_FN_EXT;
-    return status;
-    }
 
 // -----------------------------------------------------------------------------
 // TMSCallCSAdpt::SetOutput