diff -r ebf79c79991a -r 5e8b14bae8c3 khronosfws/openmax_al/src/adaptation/xaradioitfadaptation.h --- a/khronosfws/openmax_al/src/adaptation/xaradioitfadaptation.h Fri Jun 25 17:36:03 2010 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,65 +0,0 @@ -/* -* 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 XARADIOITFFADAPTATION_H -#define XARADIOITFFADAPTATION_H - -#include "XAAdaptationContextBase.h" -#include "XADebug.h" - -/* MACROS */ -#define RADIO_DEFAULT_STEREO_MODE XA_STEREOMODE_AUTO -#define RADIO_NUM_OF_PRESETS 10 - -extern const char* RadioPresetDefaultName; - -/* FUNCTIONS */ -XAresult XARadioItfAdapt_SetFreqRange(XAAdaptationBaseCtx *bCtx, XAuint8 range); - -XAresult XARadioItfAdapt_GetFreqRange(XAAdaptationBaseCtx *bCtx, - XAuint8 * pFreqRange); - -XAresult XARadioItfAdapt_IsFreqRangeSupported(XAAdaptationBaseCtx *bCtx, - XAuint8 range, - XAboolean * pSupported); - -XAresult XARadioItfAdapt_GetFreqRangeProperties(XAAdaptationBaseCtx *bCtx, - XAuint8 range, - XAuint32 * pMinFreq, - XAuint32 * pMaxFreq, - XAuint32 * pFreqInterval); - -XAresult XARadioItfAdapt_SetFrequency(XAAdaptationBaseCtx *bCtx, XAuint32 freq); - -XAresult XARadioItfAdapt_GetFrequency(XAAdaptationBaseCtx *bCtx, - XAuint32 * pFrequency); - -XAresult XARadioItfAdapt_CancelSetFrequency(XAAdaptationBaseCtx *bCtx); - -XAresult XARadioItfAdapt_SetSquelch(XAAdaptationBaseCtx *bCtx, XAboolean squelch); - -XAresult XARadioItfAdapt_SetStereoMode(XAAdaptationBaseCtx *bCtx, XAuint32 mode); - -XAresult XARadioItfAdapt_GetSignalStrength(XAAdaptationBaseCtx *bCtx, XAuint32 * pStrength); - -XAresult XARadioItfAdapt_Seek(XAAdaptationBaseCtx *bCtx, XAboolean upwards); - -XAresult XARadioItfAdapt_StopSeeking(XAAdaptationBaseCtx *bCtx); - -void XARadioItfAdapt_Free(XAAdaptationBaseCtx *bCtx); - -#endif /* XARADIOITFADAPTATION_H */