khronosfws/openmax_al/src/adaptation/xaradioadaptctx.h
changeset 33 5e8b14bae8c3
parent 28 ebf79c79991a
child 36 73253677b50a
equal deleted inserted replaced
28:ebf79c79991a 33:5e8b14bae8c3
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef XARADIOADAPTCTX_H
       
    19 #define XARADIOADAPTCTX_H
       
    20 
       
    21 #include "XAAdaptationContextBase.h"
       
    22 
       
    23 typedef enum {
       
    24   GST_AUDIO_TEST_SRC_WAVE_SINE,
       
    25   GST_AUDIO_TEST_SRC_WAVE_SQUARE,
       
    26   GST_AUDIO_TEST_SRC_WAVE_SAW,
       
    27   GST_AUDIO_TEST_SRC_WAVE_TRIANGLE,
       
    28   GST_AUDIO_TEST_SRC_WAVE_SILENCE,
       
    29   GST_AUDIO_TEST_SRC_WAVE_WHITE_NOISE,
       
    30   GST_AUDIO_TEST_SRC_WAVE_PINK_NOISE,
       
    31   GST_AUDIO_TEST_SRC_WAVE_SINE_TAB,
       
    32   GST_AUDIO_TEST_SRC_WAVE_TICKS
       
    33 } GstAudioTestSrcWave;
       
    34 
       
    35 #define RADIO_DEFAULT_FREQ_RANGE XA_FREQRANGE_FMEUROAMERICA
       
    36 #define RADIO_DEFAULT_FREQ 88000000
       
    37 
       
    38 /* TYPEDEFS */
       
    39 typedef struct XARadioAdaptationCtx_ XARadioAdaptationCtx;
       
    40 
       
    41 /* FUNCTIONS */
       
    42 XAAdaptationBaseCtx* XARadioAdapt_Create();
       
    43 
       
    44 XAresult XARadioAdapt_PostInit(XAAdaptationBaseCtx* bCtx);
       
    45 void XARadioAdapt_Destroy(XAAdaptationBaseCtx* bCtx);
       
    46 
       
    47 #endif /* XARADIOADAPTCTX_H */