Implemented WestwoodCompression for AUD files.

This commit is contained in:
Andre Mohren
2023-01-05 14:33:57 +01:00
committed by Paul Chote
parent fb93281beb
commit 0b94a0639e
4 changed files with 154 additions and 26 deletions

View File

@@ -24,7 +24,7 @@ namespace OpenRA.Mods.Cnc.AudioLoaders
var readFormat = s.ReadByte();
s.Position = start;
return readFormat == (int)SoundFormat.ImaAdpcm;
return readFormat == (int)SoundFormat.ImaAdpcm || readFormat == (int)SoundFormat.WestwoodCompressed;
}
bool ISoundLoader.TryParseSound(Stream stream, out ISoundFormat sound)