khronosfws/openmax_al/src/mmf_adaptation/xanokialinearvolumeitfadaptationmmf.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 14 May 2010 16:22:35 +0300
changeset 16 43d09473c595
child 25 6f7ceef7b1d1
permissions -rw-r--r--
Revision: 201017 Kit: 201019

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "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:
*
* Description: 
*
*/

#ifndef XANOKIALINEARVOLUMEITFADAPTATIONMMF_H
#define XANOKIALINEARVOLUMEITFADAPTATIONMMF_H

#include "xaadaptationmmf.h"
#include "xadebug.h"
#include "xathreadsafety.h"

/* MACROS */

/* FUNCTIONS */

XAresult XANokiaLinearVolumeItfAdapt_SetVolumeLevel(XAAdaptationMMFCtx *ctx,
                                         XAuint32 percentage);
XAresult XANokiaLinearVolumeItfAdapt_GetMaxVolumeLevel(XAAdaptationMMFCtx *ctx,                                         
                                                        XAuint32 * pPercentage);
 
XAresult XANokiaLinearVolumeItfAdapt_GetStepCount(XAAdaptationMMFCtx *ctx,
        											XAuint32 * pStepCount);

void XANokiaLinearVolumeItfAdapt_VolumeChange(XAAdaptationBaseCtx *ctx, TInt volume);

#endif /* XANOKIALINEARVOLUMEITFADAPTATIONMMF_H */