Creates a WAV header for a given data size, sample rate, and number of channels. Supports only PCM audio.
Size of the data in bytes
Sample rate of the audio in Hz
Number of channels in the audio
Bit depth of the audio
Buffer containing WAV header
Creates a WAV header for a given data size, sample rate, and number of channels. Supports only PCM audio.