mpxmusicplayer/metadatahandler/data/mplayeravrcpsettings.rss
changeset 0 ff3acec5bc43
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mpxmusicplayer/metadatahandler/data/mplayeravrcpsettings.rss	Thu Dec 17 08:45:05 2009 +0200
@@ -0,0 +1,142 @@
+/*
+* 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)
+        };
+    }