mmfenh/enhancedmediaclient/Client/src/Components/CMMFAudioOutputSink/CMMFAudioOutputSink.cpp
changeset 0 71ca22bcf22a
equal deleted inserted replaced
-1:000000000000 0:71ca22bcf22a
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Implementation of the MmfAudioOutputSink class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "CMMFAudioOutputSink.h"
       
    20 #include <e32std.h>
       
    21 
       
    22 #define RETURN_IF_ERROR(x) if(x != KErrNone) return x
       
    23 
       
    24 using namespace multimedia;
       
    25 
       
    26 // CONSTANTS
       
    27 CMmfAudioOutputSink::CMmfAudioOutputSink()
       
    28     {
       
    29     }
       
    30 
       
    31 CMmfAudioOutputSink::~CMmfAudioOutputSink()
       
    32     {
       
    33     }
       
    34 
       
    35 TInt CMmfAudioOutputSink::PostConstructor()
       
    36     {
       
    37     TInt status(KErrNone);
       
    38     return status;
       
    39     }
       
    40 
       
    41 TInt CMmfAudioOutputSink::AddObserver( MControlObserver& /*aObserver*/ )
       
    42     {
       
    43     return KErrNotSupported;
       
    44     }
       
    45 
       
    46 TInt CMmfAudioOutputSink::RemoveObserver( MControlObserver& /*aObserver*/ )
       
    47     {
       
    48     return KErrNotSupported;        
       
    49     }
       
    50 
       
    51 TUid CMmfAudioOutputSink::Type()
       
    52     {
       
    53     return KMMFAudioOutputSinkControl;
       
    54     }
       
    55 
       
    56 TControlType CMmfAudioOutputSink::ControlType()
       
    57     {
       
    58 	return ESinkControl;
       
    59     }
       
    60     
       
    61     
       
    62 TUid CMmfAudioOutputSink::GetSinkUid()
       
    63     {
       
    64     return KMMFAudioOutputSinkControl;
       
    65     }
       
    66     
       
    67 // End of file