(WV3): added "wv3" extension.

This commit is contained in:
morkt 2018-08-09 08:39:33 +04:00
parent b4f4042d3a
commit ee43120d1c

View File

@ -32,11 +32,16 @@ namespace GameRes.Formats.Eve
[Export(typeof(AudioFormat))]
public sealed class Wv3Audio : AudioFormat
{
public override string Tag { get { return "WAV/WV3"; } }
public override string Tag { get { return "WV3"; } }
public override string Description { get { return "Eve compressed audio format"; } }
public override uint Signature { get { return 0x2E335657; } } // 'WV3.0'
public override bool CanWrite { get { return false; } }
public Wv3Audio ()
{
Extensions = new string[] { "wv3", "wav" };
}
public override SoundInput TryOpen (IBinaryStream file)
{
var header = file.ReadHeader (0x26);