Stefano Guidoni : msadp32: MSDN suggests "wfx.nBlockAlign * 2 / wfx. nChannels - 12" as the formula for calculating wSamplesPerBlock.