os/mm/mmhais/refacladapt/src/shared/maudiocodecadaptationobserver.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2 * Copyright (c) 2006-2009 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:
    15 *
    16 */
    17 
    18 
    19 
    20 #ifndef MAUDIOCODECADAPTATIONOBSERVER_H
    21 #define MAUDIOCODECADAPTATIONOBSERVER_H
    22 
    23 #include <a3f/a3fbase.h>
    24 
    25 class CMMFBuffer;
    26 
    27 // TO DO Use real Uid
    28 const TUid KUidAudioCodecAdaptationObserver = {0x102834D1};
    29 
    30 /**
    31 Interface to get notifications from AudioCodecObserver
    32 MAudioCodecObserver
    33 */
    34 class MAudioCodecAdaptationObserver
    35 	{
    36 public:
    37 	/**
    38 	*/
    39 	virtual void AllBuffersProcessed() = 0;
    40 
    41 	/**
    42 	*/
    43 	virtual void ProcessingUnitError(TInt aError) = 0;
    44 
    45 	/**
    46 	*/
    47 	virtual void GetSupportedAModesComplete(TInt aError) = 0;
    48 	virtual void GetSupportedARatesComplete(TInt aError) = 0;
    49 	};
    50 
    51 #endif // M_DATAPORT_H