qtms/src/qtmsg729.cpp
changeset 27 cbb1bfb7ebfb
child 50 762d760dcfdf
equal deleted inserted replaced
25:d881023c13eb 27:cbb1bfb7ebfb
       
     1 /*
       
     2  * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description: QT Bindings for TMS
       
    15  *
       
    16  */
       
    17 
       
    18 #include <tmsg729format.h>
       
    19 #include <qtmsg729format.h>
       
    20 #include "tmsutility.h"
       
    21 
       
    22 using namespace QTMS;
       
    23 using namespace TMS;
       
    24 
       
    25 QTMSG729Format::QTMSG729Format()
       
    26     {
       
    27     }
       
    28 
       
    29 QTMSG729Format::~QTMSG729Format()
       
    30     {
       
    31     }
       
    32 
       
    33 gint QTMSG729Format::SetVADMode(const gboolean aVad)
       
    34     {
       
    35     gint status(QTMS_RESULT_UNINITIALIZED_OBJECT);
       
    36     if (iFormat)
       
    37         {
       
    38         status = static_cast<TMSG729Format*> (iFormat)->SetVADMode(aVad);
       
    39         }
       
    40     return status;
       
    41     }
       
    42 
       
    43 gint QTMSG729Format::GetVADMode(gboolean& aVad)
       
    44     {
       
    45     gint status(QTMS_RESULT_UNINITIALIZED_OBJECT);
       
    46     if (iFormat)
       
    47         {
       
    48         status = static_cast<TMSG729Format*> (iFormat)->GetVADMode(aVad);
       
    49         }
       
    50     return status;
       
    51     }
       
    52 
       
    53 // End of file