mpx/playbackframework/playbackengine/src/mpxplaybackengine.cpp
changeset 2 7a9a8e73f54b
parent 0 a2952bb97e68
child 3 b425f12f328d
equal deleted inserted replaced
1:7f2202662322 2:7a9a8e73f54b
  1512         {
  1512         {
  1513         //
  1513         //
  1514         // Try pre-initialsing the next song, just in case we get there
  1514         // Try pre-initialsing the next song, just in case we get there
  1515         //
  1515         //
  1516         TBool more = iInitializer->Next();
  1516         TBool more = iInitializer->Next();
  1517         if (!more && iPlaylist->Shuffle())
  1517         if (!more && iPlaylist && iPlaylist->Shuffle())
  1518             { // Reach to the end and shuffle is on, pre-initializer
  1518             { // Reach to the end and shuffle is on, pre-initializer
  1519               // needs  to re-copy the new shuffle list from engine
  1519               // needs  to re-copy the new shuffle list from engine
  1520             if (iInitializer)
  1520             if (iInitializer)
  1521                 {
  1521                 {
  1522                 iInitializer->Close();
  1522                 iInitializer->Close();