khronosfws/openmax_al/src/mmf_adaptation/xanokialinearvolumeitfadaptationmmf.h
changeset 25 6f7ceef7b1d1
parent 19 4a629bc82c5e
child 28 ebf79c79991a
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: Nokia Linear Volume Header
    15 *
    15  *
    16 */
    16  */
    17 
    17 
    18 #ifndef XANOKIALINEARVOLUMEITFADAPTATIONMMF_H
    18 #ifndef XANOKIALINEARVOLUMEITFADAPTATIONMMF_H
    19 #define XANOKIALINEARVOLUMEITFADAPTATIONMMF_H
    19 #define XANOKIALINEARVOLUMEITFADAPTATIONMMF_H
    20 
    20 
    21 #include "xaadaptationmmf.h"
    21 #include "xaadaptationmmf.h"
    25 /* MACROS */
    25 /* MACROS */
    26 
    26 
    27 /* FUNCTIONS */
    27 /* FUNCTIONS */
    28 
    28 
    29 XAresult XANokiaLinearVolumeItfAdapt_SetVolumeLevel(XAAdaptationMMFCtx *ctx,
    29 XAresult XANokiaLinearVolumeItfAdapt_SetVolumeLevel(XAAdaptationMMFCtx *ctx,
    30                                          XAuint32 percentage);
    30         XAuint32 percentage);
    31 XAresult XANokiaLinearVolumeItfAdapt_GetMaxVolumeLevel(XAAdaptationMMFCtx *ctx,                                         
    31 XAresult XANokiaLinearVolumeItfAdapt_GetMaxVolumeLevel(
    32                                                         XAuint32 * pPercentage);
    32         XAAdaptationMMFCtx *ctx, XAuint32 * pPercentage);
    33  
    33 
    34 XAresult XANokiaLinearVolumeItfAdapt_GetStepCount(XAAdaptationMMFCtx *ctx,
    34 XAresult XANokiaLinearVolumeItfAdapt_GetStepCount(XAAdaptationMMFCtx *ctx,
    35         											XAuint32 * pStepCount);
    35         XAuint32 * pStepCount);
    36 
    36 
    37 void XANokiaLinearVolumeItfAdapt_VolumeChange(XAAdaptationBaseCtx *ctx, TInt volume);
    37 void XANokiaLinearVolumeItfAdapt_VolumeChange(XAAdaptationBaseCtx *ctx,
       
    38         TInt volume);
    38 
    39 
    39 #endif /* XANOKIALINEARVOLUMEITFADAPTATIONMMF_H */
    40 #endif /* XANOKIALINEARVOLUMEITFADAPTATIONMMF_H */