mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +08:00
(WV3): added "wv3" extension.
This commit is contained in:
parent
b4f4042d3a
commit
ee43120d1c
@ -32,11 +32,16 @@ namespace GameRes.Formats.Eve
|
|||||||
[Export(typeof(AudioFormat))]
|
[Export(typeof(AudioFormat))]
|
||||||
public sealed class Wv3Audio : 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 string Description { get { return "Eve compressed audio format"; } }
|
||||||
public override uint Signature { get { return 0x2E335657; } } // 'WV3.0'
|
public override uint Signature { get { return 0x2E335657; } } // 'WV3.0'
|
||||||
public override bool CanWrite { get { return false; } }
|
public override bool CanWrite { get { return false; } }
|
||||||
|
|
||||||
|
public Wv3Audio ()
|
||||||
|
{
|
||||||
|
Extensions = new string[] { "wv3", "wav" };
|
||||||
|
}
|
||||||
|
|
||||||
public override SoundInput TryOpen (IBinaryStream file)
|
public override SoundInput TryOpen (IBinaryStream file)
|
||||||
{
|
{
|
||||||
var header = file.ReadHeader (0x26);
|
var header = file.ReadHeader (0x26);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user