mpengine/src/mpengine.cpp
changeset 32 c163ef0b758d
parent 29 8192e5b5c935
child 37 eb79a7c355bf
--- a/mpengine/src/mpengine.cpp	Thu May 27 12:49:57 2010 +0300
+++ b/mpengine/src/mpengine.cpp	Fri Jun 11 13:36:36 2010 +0300
@@ -802,6 +802,15 @@
 {
     return mMpxPlaybackWrapper->playbackData();
 }
+
+/*!
+ Requests playback of all songs with shuffle enabled
+ */
+void MpEngine::shuffleAll()
+{
+    mMpxCollectionWrapper->openShuffleAllSongsPath();
+}
+
 /*!
  Slot to be called to request embedded playback of item with Uri aFilename
  */
@@ -1032,7 +1041,9 @@
     // Get preset id from cenrep
     TInt presetKey( MpSettingsManager::preset() );
     
+    //Set the current preset index. 1 is added to index because index 0 represent "Off" at UI level.
     mCurrentPresetIndex = mEqualizerWrapper->getPresetIndex( presetKey );
+    mCurrentPresetIndex++;
     emit equalizerReady();
     
     TX_EXIT