WavHeader Constructors
Initializes a new instance of the WavHeader class for the given sample rate and sample data length.
c#
public WavHeader(uint sampleRate, int dataLength);Parameters
| Name | Type | Description |
|---|---|---|
sampleRate | UInt32 | The sample rate of the audio in Hz. |
dataLength | Int32 | The length of the sample data in bytes. |