uifw/EikStd/srvuisrc/eikkeysoundserver.cpp
branchRCL_3
changeset 25 941195f2d488
parent 18 0aa5fbdfbc30
child 38 c52421ed5f07
equal deleted inserted replaced
23:3d340a0166ff 25:941195f2d488
  1145 
  1145 
  1146     // Stops playing and deletes audio player instance if it exist.
  1146     // Stops playing and deletes audio player instance if it exist.
  1147     Stop();
  1147     Stop();
  1148 
  1148 
  1149     // Create audio player. DoPlay() will be called in all circumstances.
  1149     // Create audio player. DoPlay() will be called in all circumstances.
  1150     iAudioPlayer = CMdaAudioPlayerUtility::NewFilePlayerL(iFileName, *this);
  1150     iAudioPlayer = CMdaAudioPlayerUtility::NewFilePlayerL(iFileName, *this, iPriority,(TMdaPriorityPreference)iPreference );
  1151     LOGTEXT(_L(" CAknFileSoundInfo::PlayL() - Exit"));
  1151     LOGTEXT(_L(" CAknFileSoundInfo::PlayL() - Exit"));
  1152     }
  1152     }
  1153 
  1153 
  1154 
  1154 
  1155 void CAknFileSoundInfo::DoPlay()
  1155 void CAknFileSoundInfo::DoPlay()