Skip to content

WavHeader Constructors

Initializes a new instance of the WavHeader class for the given sample rate and sample data length.

public WavHeader(uint sampleRate, int dataLength);

View source

Parameters

Name Type Description
sampleRate UInt32 The sample rate of the audio in Hz.
dataLength Int32 The length of the sample data in bytes.