Fix #17230: Dummy audio output class
This commit is contained in:
committed by
abcdefg30
parent
70b1df6ce7
commit
72eb4e1749
@@ -104,7 +104,7 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
if (!stopped && !paused)
|
||||
{
|
||||
var nextFrame = 0;
|
||||
if (video.HasAudio)
|
||||
if (video.HasAudio && !Game.Sound.DummyEngine)
|
||||
nextFrame = (int)float2.Lerp(0, video.Frames, Game.Sound.VideoSeekPosition * invLength);
|
||||
else
|
||||
nextFrame = video.CurrentFrame + 1;
|
||||
|
||||
Reference in New Issue
Block a user