Add a streaming audio playback interface.
This allows audio to be streamed, rather than needed to be fully loaded into memory.
This commit is contained in:
committed by
Paul Chote
parent
45606c9528
commit
85c948fd8d
@@ -50,7 +50,7 @@ namespace OpenRA.Mods.Common.Traits.Sound
|
||||
if (IsTraitDisabled)
|
||||
return;
|
||||
|
||||
currentSounds.RemoveWhere(s => s == null || !s.Playing);
|
||||
currentSounds.RemoveWhere(s => s == null || s.Complete);
|
||||
|
||||
var pos = self.CenterPosition;
|
||||
if (pos != cachedPosition)
|
||||
|
||||
Reference in New Issue
Block a user