mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Loop audio stream from video file on campaing prolog/epilog window
This commit is contained in:
parent
c7dd0c6523
commit
d3d15cd6b9
@ -30,7 +30,7 @@ CPrologEpilogVideo::CPrologEpilogVideo(CampaignScenarioPrologEpilog _spe, std::f
|
||||
updateShadow();
|
||||
|
||||
auto audioData = CCS->videoh->getAudio(spe.prologVideo);
|
||||
videoSoundHandle = CCS->soundh->playSound(audioData);
|
||||
videoSoundHandle = CCS->soundh->playSound(audioData, -1);
|
||||
CCS->videoh->open(spe.prologVideo);
|
||||
CCS->musich->playMusic(spe.prologMusic, true, true);
|
||||
voiceDurationMilliseconds = CCS->soundh->getSoundDurationMilliseconds(spe.prologVoice);
|
||||
|
Loading…
x
Reference in New Issue
Block a user