Class WaveFileWriter
Writes Wave data to a .wav file
Namespace: System.Dynamic.ExpandoObject
Assembly: ManagedBass.dll
Syntax
public class WaveFileWriter : object
Constructors
WaveFileWriter(Stream, WaveFormat)
Creates a WaveFileWriter that writes to a
Declaration
public WaveFileWriter(Stream outStream, WaveFormat format)
Parameters
Stream
outStream
|
WaveFormat
format
|
Properties
Length
Methods
Dispose()
Closes this WaveFile
Declaration
public void Dispose()
Finalize()
Finaliser - should only be called if the User forgot to close this WaveFileWriter
Declaration
protected void Finalize()
Write(Byte[], Int32)
Writes bytes to the WaveFile
Declaration
public bool Write(byte[] Data, int Length)
Parameters
Byte[]
Data
the Buffer containing the wave data |
Int32
Length
the number of bytes to write |
Returns
Boolean
|
Write(Int16[], Int32)
Writes 16 bit samples to the Wave file
Declaration
public bool Write(short[] Data, int Length)
Parameters
Int16[]
Data
The Buffer containing the wave data |
Int32
Length
The number of bytes to write |
Returns
Boolean
|