khronosfws/openmax_al/src/mediarecorder/xaaudioencoderitf.h
changeset 25 6f7ceef7b1d1
parent 19 4a629bc82c5e
equal deleted inserted replaced
21:2ed61feeead6 25:6f7ceef7b1d1
     1 /*
     1 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3  * All rights reserved.
     4 * This component and the accompanying materials are made available
     4  * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5  * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6  * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     8  *
     9 * Initial Contributors:
     9  * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10  * Nokia Corporation - initial contribution.
    11 *
    11  *
    12 * Contributors:
    12  * Contributors:
    13 *
    13  *
    14 * Description: 
    14  * Description: AudioEncoder Itf Header
    15 *
    15  *
    16 */
    16  */
    17 
    17 
    18 #ifndef XAAUDIOENCODERITF_H
    18 #ifndef XAAUDIOENCODERITF_H
    19 #define XAAUDIOENCODERITF_H
    19 #define XAAUDIOENCODERITF_H
    20 
    20 
    21 #include "xamediarecorder.h"
    21 #include "xamediarecorder.h"
    27 /** ENUMERATIONS **/
    27 /** ENUMERATIONS **/
    28 
    28 
    29 /** STRUCTURES **/
    29 /** STRUCTURES **/
    30 /* Definition of XAAudioEncoderItf implementation */
    30 /* Definition of XAAudioEncoderItf implementation */
    31 typedef struct XAAudioEncoderItfImpl_
    31 typedef struct XAAudioEncoderItfImpl_
    32 {
    32     {
    33     /* parent interface */
    33     /* parent interface */
    34     struct XAAudioEncoderItf_ itf;
    34     struct XAAudioEncoderItf_ itf;
    35     /* pointer to self */
    35     /* pointer to self */
    36     struct XAAudioEncoderItfImpl_* self;
    36     struct XAAudioEncoderItfImpl_* self;
    37     
    37 
    38     XAMediaRecorderImpl* pObjImpl;
    38     XAMediaRecorderImpl* pObjImpl;
    39     
    39 
    40     /* variables */
    40     /* variables */
    41     XAAdaptationBaseCtx    *adapCtx;
    41     XAAdaptationBaseCtx *adapCtx;
    42 
    42 
    43 } XAAudioEncoderItfImpl;
    43     } XAAudioEncoderItfImpl;
    44 
    44 
    45 /** METHODS **/
    45 /** METHODS **/
    46 
    46 
    47 /* Base interface XAAudioEncoderItf implementation
    47 /* Base interface XAAudioEncoderItf implementation
    48  * See API Specification for method documentation
    48  * See API Specification for method documentation
    49  */
    49  */
    50 XAresult XAAudioEncoderItfImpl_SetEncoderSettings( XAAudioEncoderItf self,
    50 XAresult XAAudioEncoderItfImpl_SetEncoderSettings(XAAudioEncoderItf self,
    51                                                    XAAudioEncoderSettings *pSettings );
    51         XAAudioEncoderSettings *pSettings);
    52 
    52 
    53 XAresult XAAudioEncoderItfImpl_GetEncoderSettings( XAAudioEncoderItf self,
    53 XAresult XAAudioEncoderItfImpl_GetEncoderSettings(XAAudioEncoderItf self,
    54                                                    XAAudioEncoderSettings *pSettings );
    54         XAAudioEncoderSettings *pSettings);
    55 
    55 
    56 /* XAAudioEncoderItfImpl -specific methods */
    56 /* XAAudioEncoderItfImpl -specific methods */
    57 XAAudioEncoderItfImpl* XAAudioEncoderItfImpl_Create( XAMediaRecorderImpl* impl );
    57 XAAudioEncoderItfImpl
    58 void XAAudioEncoderItfImpl_Free( XAAudioEncoderItfImpl* self );
    58         * XAAudioEncoderItfImpl_Create(XAMediaRecorderImpl* impl);
       
    59 void XAAudioEncoderItfImpl_Free(XAAudioEncoderItfImpl* self);
    59 
    60 
    60 #endif /* XAAUDIOENCODERITF_H */
    61 #endif /* XAAUDIOENCODERITF_H */