videoeditorengine/audioeditorengine/codecs/AAC/inc/AudParams.h
author Mikael Laine <mikael.laine@ixonos.com>
Fri, 29 Jan 2010 14:08:33 +0200
changeset 0 951a5db380a0
permissions -rw-r--r--
Committing the Video Editor package under the Eclipse Public License

/*
* Copyright (c) 2010 Ixonos Plc.
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - Initial contribution
*
* Contributors:
* Ixonos Plc
*
* Description:
* Generic API for audio codecs.  
*
*/

#ifndef __AUDPARAMS_H__
#define __AUDPARAMS_H__


// INCLUDES

#include <E32Base.h>


// CLASS DEFINITIONS
/*
-----------------------------------------------------------------------------

    TAudioCodecParams

    Audio codec parameters.

-----------------------------------------------------------------------------
*/
class TAudioCodecParams
    {
public:
    enum TParamsType
        {
        ETypeDecoder = 0,
        ETypeEncoder
        };
public:
    virtual TInt CodecId() const = 0;
    virtual TInt Type() const = 0;
    };


/*
-----------------------------------------------------------------------------

    TAudioDecoderParams

    Decoding parameters.

-----------------------------------------------------------------------------
*/
class TAudioDecoderParams : public TAudioCodecParams
    {
public:
    IMPORT_C virtual TInt Type() const;
    };


/*
-----------------------------------------------------------------------------

    TAudioEncoderParams

    Encoding parameters.

-----------------------------------------------------------------------------
*/
class TAudioEncoderParams : public TAudioCodecParams
    {
public:
    IMPORT_C virtual TInt Type() const;
    };


#endif //__AUDPARAMS_H__
//-----------------------------------------------------------------------------
//  End of File
//-----------------------------------------------------------------------------