khronosfws/openmax_al/src/gst_adaptation/xavolumeitfadaptation.h
changeset 16 43d09473c595
equal deleted inserted replaced
14:80975da52420 16:43d09473c595
       
     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 XAVOLUMEITFADAPTATION_H
       
    19 #define XAVOLUMEITFADAPTATION_H
       
    20 
       
    21 #include "xaadaptationgst.h"
       
    22 #include "xathreadsafety.h"
       
    23 
       
    24 /* MACROS */
       
    25 #define STEREO_POSITION_RATIO    1000
       
    26 #define MIN_SUPPORT_VOLUME_LEVEL -1000
       
    27 #define VOLUME_LEVEL_RATIO       1000
       
    28 
       
    29 /* FUNCTIONS */
       
    30 
       
    31 XAresult XAVolumeItfAdapt_SetVolumeLevel(XAAdaptationGstCtx *ctx,
       
    32                                          XAmillibel level);
       
    33 
       
    34 XAresult XAVolumeItfAdapt_GetMaxVolumeLevel(XAAdaptationGstCtx *ctx,
       
    35                                             XAmillibel *pMaxLevel);
       
    36 
       
    37 XAresult XAVolumeItfAdapt_SetMute(XAAdaptationGstCtx *ctx,  XAboolean mute);
       
    38 
       
    39 XAresult XAVolumeItfAdapt_EnableStereoPosition(XAAdaptationGstCtx *ctx,
       
    40                                                XAboolean enable);
       
    41 
       
    42 XAresult XAVolumeItfAdapt_SetStereoPosition(XAAdaptationGstCtx *ctx,
       
    43                                             XApermille stereoPosition);
       
    44 
       
    45 #endif /* XAVOLUMEITFADAPTATION_H */