mpxmusicplayer/metadatahandler/data/mplayeravrcpsettings.rss
changeset 0 ff3acec5bc43
equal deleted inserted replaced
-1:000000000000 0:ff3acec5bc43
       
     1 /*
       
     2 * Copyright (c) 2008 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:  Resource definitions for project AVRCP 1.3 player settings
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "settings.rh"
       
    20 //#include <musicplayer2.loc>
       
    21 //#include "mplayerplaybackui.hrh"
       
    22 
       
    23 UID2 KUidAVRCPResourceFile  // Identifies this as an AVRCP settings file
       
    24 
       
    25 #define KBassBoostMode 0x80
       
    26 #define KStereoWideningMode 0x81
       
    27 
       
    28 // ---------------------------------------------------------------------------
       
    29 // r_mplayer_avrcp_settings
       
    30 // Definition of player settings indicated to a remote controller.
       
    31 // ---------------------------------------------------------------------------
       
    32 //
       
    33 RESOURCE SETTINGS r_mplayer_avrcp_settings
       
    34     {
       
    35     settings =
       
    36         {
       
    37         SETTING
       
    38             {
       
    39             attribute = KEqualizerMode;
       
    40             initialValue = KOff;
       
    41             description = "Equalizer Mode";
       
    42             definedValues = 
       
    43                 {
       
    44                 VALUE
       
    45                     {
       
    46                     valueId = KOff;
       
    47                     description = "Off";  // No own value for equalizer
       
    48                     },
       
    49                 VALUE
       
    50                     {
       
    51                     valueId = KOn;
       
    52                     description = "On";   // No own value for equalizer
       
    53                     }
       
    54                 };
       
    55             },
       
    56         SETTING
       
    57             {
       
    58             attribute = KRepeatMode;
       
    59             initialValue = KOff;
       
    60             description = "Repeat Mode";
       
    61             definedValues = 
       
    62                 {
       
    63                 VALUE
       
    64                     {
       
    65                     valueId = KOff;
       
    66                     description = "Off";
       
    67                     },
       
    68                 VALUE
       
    69                     {
       
    70                     valueId = KSingleTrackRepeat;
       
    71                     description = "Single track repeat";
       
    72                     },
       
    73                 VALUE
       
    74                     {
       
    75                     valueId = KAllTracksRepeat;
       
    76                     description = "All tracks repeat";
       
    77                     }
       
    78                 };
       
    79             },
       
    80         SETTING
       
    81             {
       
    82             attribute = KShuffleMode;
       
    83             initialValue = KOff;
       
    84             description = "Shuffle Mode";
       
    85             definedValues = 
       
    86                 {
       
    87                 VALUE
       
    88                     {
       
    89                     valueId = KOff;
       
    90                     description = "Off";
       
    91                     },
       
    92                 VALUE
       
    93                     {
       
    94                     valueId = KOn;
       
    95                     description = "On";
       
    96                     }
       
    97                 };
       
    98             }
       
    99 #if defined (__BASS_BOOST_EFFECT_UI) && defined (__AUDIO_EFFECTS_API)
       
   100         , SETTING
       
   101             {
       
   102             attribute = KBassBoostMode;
       
   103             initialValue = KOff;
       
   104             description = "Bass Boost";
       
   105             definedValues = 
       
   106                 {
       
   107                 VALUE
       
   108                     {
       
   109                     valueId = KOff;
       
   110                     description = "Off";
       
   111                     },
       
   112                 VALUE
       
   113                     {
       
   114                     valueId = KOn;
       
   115                     description = "On";
       
   116                     }
       
   117                 };
       
   118             }
       
   119 #endif  //defined (__BASS_BOOST_EFFECT_UI) && defined (__AUDIO_EFFECTS_API)
       
   120 #if defined (__STEREO_WIDENING_EFFECT_UI) && defined (__AUDIO_EFFECTS_API)
       
   121         , SETTING
       
   122             {
       
   123             attribute = KStereoWideningMode;
       
   124             initialValue = KOff;
       
   125             description = "Stereo Widening";
       
   126             definedValues = 
       
   127                 {
       
   128                 VALUE
       
   129                     {
       
   130                     valueId = KOff;
       
   131                     description = "Off";
       
   132                     },
       
   133                 VALUE
       
   134                     {
       
   135                     valueId = KOn;
       
   136                     description = "On";
       
   137                     }
       
   138                 };
       
   139             }
       
   140 #endif  //defined (__STEREO_WIDENING_EFFECT_UI) && defined (__AUDIO_EFFECTS_API)
       
   141         };
       
   142     }