This compression is actually not yet supported.

This commit is contained in:
Matthias Mailänder
2020-12-19 11:03:07 +01:00
committed by Paul Chote
parent b4c483ce1a
commit 04cda69ef9
2 changed files with 4 additions and 1 deletions

View File

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