with pcm do
begin
wFormatTag := WAVE_FORMAT_4S16; // it's PCM data
nChannels := 1; // mono
nSamplesPerSec := 8000; // set the 44.1KHz rate
nAvgBytesPerSec := 1625; // two bytes per sample
nBlockAlign := 128; // for mono 16-bit audio
wBitsPerSample := 16; // 16-bit audio
cbSize