First public contribution.
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef MAUDIOSTREAMADAPTATIONOBSERVER_H
17 #define MAUDIOSTREAMADAPTATIONOBSERVER_H
27 const TUid KUidAudioStreamAdaptationObserver = {0x102834D2};
29 class MAudioStreamAdaptationObserver
32 virtual void PhysicalAdaptationEvent(TPhysicalEvent aEvent, TInt aError) = 0;
33 virtual void StateEvent(TInt aReason, TAudioState aNewState) = 0;
34 virtual void AddProcessingUnitComplete(TUid aType, TInt aError) = 0;
35 virtual void RemoveProcessingUnitComplete(TUid aType, TInt aError) = 0;
36 virtual void ProcessingFinished() = 0;
37 virtual void FlushComplete(TInt aError) = 0;
40 #endif // MAUDIOSTREAMADAPTATIONOBSERVER_H