Method | Description | |
---|---|---|
Dispose ( ) : void |
Frees all resources used by the writer.
|
|
WmaFileWriter ( string FileName, WaveFormat WaveFormat, int BitRate = 128000 ) |
Creates a new instance of WmaFileWriter.
|
|
Write ( byte Buffer, int Length ) : bool |
Write data from a byte[].
|
|
Write ( float Buffer, int Length ) : bool |
Write data from a float[].
|
|
Write ( short Buffer, int Length ) : bool |
Write data from a short[].
|
Method | Description | |
---|---|---|
ToWmaEncodeFlags ( WaveFormatTag WfTag, int BitsPerSample ) : WMAEncodeFlags |
public WmaFileWriter ( string FileName, WaveFormat WaveFormat, int BitRate = 128000 ) | ||
FileName | string | The path to the file to write to. |
WaveFormat | WaveFormat | |
BitRate | int | BitRate of the written file. |
public Write ( byte Buffer, int Length ) : bool | ||
Buffer | byte | byte[] to write from. |
Length | int | No of bytes to write. |
return | bool |
public Write ( float Buffer, int Length ) : bool | ||
Buffer | float | float[] to write from. |
Length | int | No of bytes to write, i.e. (No of floats) * 4. |
return | bool |
public Write ( short Buffer, int Length ) : bool | ||
Buffer | short | short[] to write from. |
Length | int | No of bytes to write, i.e. (No of Shorts) * 2. |
return | bool |