QTfrontend/util/SDLInteraction.cpp
changeset 10938 91c75537fba0
parent 10248 7b9b44a051f8
child 10939 55ed72ad3a57
equal deleted inserted replaced
10937:f7fd8a70dd93 10938:91c75537fba0
   243     if (!m_audioInitialized) return;
   243     if (!m_audioInitialized) return;
   244 
   244 
   245     if (m_music == NULL)
   245     if (m_music == NULL)
   246         m_music = Mix_LoadMUS_RW(PHYSFSRWOPS_openRead(m_musicTrack.toLocal8Bit().constData()));
   246         m_music = Mix_LoadMUS_RW(PHYSFSRWOPS_openRead(m_musicTrack.toLocal8Bit().constData()));
   247 
   247 
   248     Mix_VolumeMusic(MIX_MAX_VOLUME - 28);
   248     Mix_VolumeMusic(MIX_MAX_VOLUME/2);
   249     Mix_FadeInMusic(m_music, -1, 1750);
   249     Mix_FadeInMusic(m_music, -1, 1750);
   250 }
   250 }
   251 
   251 
   252 
   252 
   253 void SDLInteraction::stopMusic()
   253 void SDLInteraction::stopMusic()