Update contrib.
1 // Copyright (c) 2002-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.
14 // MMFAudioCodecBase.h
19 #ifndef __MMF_AUDIOCODEC_BASE_H__
20 #define __MMF_AUDIOCODEC_BASE_H__
25 * class TMmfAudioAudioCodecPanics provides a name space for audio codec
29 class TMmfAudioCodecPanicsNameSpace
33 A list of panic codes for Codecs
35 EBadArgument indicates a bad argument
36 EBadState indicates a state viaolation
37 EBadInvariant indicates an invariant violation
38 EPostConditionViolation indicates a post condition violation
40 enum TMmfAudioCodecPanics
46 EPostConditionViolation
49 inline static void Panic(const TMmfAudioCodecPanicsNameSpace::TMmfAudioCodecPanics aPanic);
55 * @param aPanic is the panic code for the codec
58 inline void TMmfAudioCodecPanicsNameSpace::Panic(const TMmfAudioCodecPanicsNameSpace::TMmfAudioCodecPanics aPanic)
60 _LIT(KAudioCodecPanicCategory, "AudioCodec");
61 User::Panic(KAudioCodecPanicCategory, aPanic);
64 #endif //__MMF_AUDIOCODEC_BASE_H__