mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 21:55:34 +08:00
(AudioFormat.Write): new virtual method.
This commit is contained in:
parent
26905015c2
commit
3c6e030b38
@ -35,6 +35,7 @@ namespace GameRes
|
||||
public uint AverageBytesPerSecond;
|
||||
public ushort BlockAlign;
|
||||
public ushort BitsPerSample;
|
||||
public ushort ExtraSize;
|
||||
}
|
||||
|
||||
public abstract class SoundInput : Stream
|
||||
@ -122,6 +123,11 @@ namespace GameRes
|
||||
|
||||
public abstract SoundInput TryOpen (Stream file);
|
||||
|
||||
public virtual void Write (SoundInput source, Stream output)
|
||||
{
|
||||
throw new System.NotImplementedException ("AudioFormat.Write not implemenented");
|
||||
}
|
||||
|
||||
public static SoundInput Read (Stream file)
|
||||
{
|
||||
var input = new MemoryStream();
|
||||
|
Loading…
Reference in New Issue
Block a user