mpxmusicplayer/metadatahandler/data/mplayeravrcpsettings.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 17 Dec 2009 08:45:05 +0200
changeset 0 ff3acec5bc43
permissions -rw-r--r--
Revision: 200949 Kit: 200951

/*
* Copyright (c) 2008 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:  Resource definitions for project AVRCP 1.3 player settings
*
*/


#include "settings.rh"
//#include <musicplayer2.loc>
//#include "mplayerplaybackui.hrh"

UID2 KUidAVRCPResourceFile  // Identifies this as an AVRCP settings file

#define KBassBoostMode 0x80
#define KStereoWideningMode 0x81

// ---------------------------------------------------------------------------
// r_mplayer_avrcp_settings
// Definition of player settings indicated to a remote controller.
// ---------------------------------------------------------------------------
//
RESOURCE SETTINGS r_mplayer_avrcp_settings
    {
    settings =
        {
        SETTING
            {
            attribute = KEqualizerMode;
            initialValue = KOff;
            description = "Equalizer Mode";
            definedValues = 
                {
                VALUE
                    {
                    valueId = KOff;
                    description = "Off";  // No own value for equalizer
                    },
                VALUE
                    {
                    valueId = KOn;
                    description = "On";   // No own value for equalizer
                    }
                };
            },
        SETTING
            {
            attribute = KRepeatMode;
            initialValue = KOff;
            description = "Repeat Mode";
            definedValues = 
                {
                VALUE
                    {
                    valueId = KOff;
                    description = "Off";
                    },
                VALUE
                    {
                    valueId = KSingleTrackRepeat;
                    description = "Single track repeat";
                    },
                VALUE
                    {
                    valueId = KAllTracksRepeat;
                    description = "All tracks repeat";
                    }
                };
            },
        SETTING
            {
            attribute = KShuffleMode;
            initialValue = KOff;
            description = "Shuffle Mode";
            definedValues = 
                {
                VALUE
                    {
                    valueId = KOff;
                    description = "Off";
                    },
                VALUE
                    {
                    valueId = KOn;
                    description = "On";
                    }
                };
            }
#if defined (__BASS_BOOST_EFFECT_UI) && defined (__AUDIO_EFFECTS_API)
        , SETTING
            {
            attribute = KBassBoostMode;
            initialValue = KOff;
            description = "Bass Boost";
            definedValues = 
                {
                VALUE
                    {
                    valueId = KOff;
                    description = "Off";
                    },
                VALUE
                    {
                    valueId = KOn;
                    description = "On";
                    }
                };
            }
#endif  //defined (__BASS_BOOST_EFFECT_UI) && defined (__AUDIO_EFFECTS_API)
#if defined (__STEREO_WIDENING_EFFECT_UI) && defined (__AUDIO_EFFECTS_API)
        , SETTING
            {
            attribute = KStereoWideningMode;
            initialValue = KOff;
            description = "Stereo Widening";
            definedValues = 
                {
                VALUE
                    {
                    valueId = KOff;
                    description = "Off";
                    },
                VALUE
                    {
                    valueId = KOn;
                    description = "On";
                    }
                };
            }
#endif  //defined (__STEREO_WIDENING_EFFECT_UI) && defined (__AUDIO_EFFECTS_API)
        };
    }