WavFile Constructors
Initializes a new instance of the WavFile class.
public WavFile(uint sampleRate, Byte[] sampleData);
Parameters
| Name | Type | Description |
|---|---|---|
sampleRate |
UInt32 |
The sample rate of the audio in Hz. |
sampleData |
Byte[] |
The raw sample data. |