Add a .wsa file reader.

This commit is contained in:
Matthias Mailänder
2020-04-25 21:08:11 +02:00
committed by reaperrr
parent 590ab88c45
commit a02737107e
7 changed files with 217 additions and 7 deletions

View File

@@ -195,7 +195,7 @@ namespace OpenRA.Mods.Common.Widgets
return;
onComplete = after;
if (stopped)
if (stopped && video.HasAudio)
Game.Sound.PlayVideo(video.AudioData, video.AudioChannels, video.SampleBits, video.SampleRate);
else
Game.Sound.PlayVideo();