This compression is actually not yet supported.
This commit is contained in:
committed by
Paul Chote
parent
b4c483ce1a
commit
04cda69ef9
@@ -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)
|
||||
|
||||
@@ -66,6 +66,9 @@ namespace OpenRA.Mods.Cnc.FileFormats
|
||||
if (!Enum.IsDefined(typeof(SoundFormat), readFormat))
|
||||
return false;
|
||||
|
||||
if (readFormat == (int)SoundFormat.WestwoodCompressed)
|
||||
throw new NotImplementedException();
|
||||
|
||||
var offsetPosition = s.Position;
|
||||
|
||||
result = () =>
|
||||
|
||||
Reference in New Issue
Block a user