comparison mm7_2.cpp @ 328:8e23edf57e27

little fix
author Ritor1
date Wed, 20 Feb 2013 17:37:33 +0600
parents a7f15da53e82
children ea55d6414029
comparison
equal deleted inserted replaced
327:a7f15da53e82 328:8e23edf57e27
13567 break; 13567 break;
13568 }*/ 13568 }*/
13569 } 13569 }
13570 if (!bNoSound && pAudioPlayer->hAILRedbook) 13570 if (!bNoSound && pAudioPlayer->hAILRedbook)
13571 { 13571 {
13572 pAudioPlayer->SetMusicVolume((pSoundVolumeLevels[uMusicVolimeMultiplier] * 64.0)); 13572 pAudioPlayer->SetMusicVolume(pSoundVolumeLevels[uMusicVolimeMultiplier] * 64.0f);
13573 AIL_redbook_stop(pAudioPlayer->hAILRedbook); 13573 AIL_redbook_stop(pAudioPlayer->hAILRedbook);
13574 unsigned int end_ms; 13574 unsigned int end_ms;
13575 AIL_redbook_track_info(pAudioPlayer->hAILRedbook, 0xE, &startms, &end_ms); 13575 AIL_redbook_track_info(pAudioPlayer->hAILRedbook, 0xE, &startms, &end_ms);
13576 AIL_redbook_play(pAudioPlayer->hAILRedbook, startms + 1, end_ms); 13576 AIL_redbook_play(pAudioPlayer->hAILRedbook, startms + 1, end_ms);
13577 } 13577 }