Zero Latency mode's speed depends on the size of period time. The period time should not be too small since fixed length of DFT calculations will be repeated. 8192 is the default frame size for K7/PentiumIII/Pentium4 machines.
The period time should be small since it takes long time to process one large fragment of PCM data. The buffer time or buffer size should be large since the Audio Stream often stalls. 16384 is the default frame size for normal K7/PentiumIII/Pentium4 machines
// 32bit LE typedef struct{ char magic[4]; // "wvIR" int fileSizeLE; // filesize-8 char version[8]; // version "ver1fmt " int headerSizeLE; short int i3; // 0x3 short int channels; int fs; // impulse Fs int fs2; short int i4; // MONO 0x4 STEREO 0x8 4CH 0x10 short int i5; // 0x17 char data[4]; // "data" } WirHeader; // rest of the data is FLOAT_LE (32bit float)
//32bit LE typedef struct{ char magic[4]; // "impf" int size; // int i1; // int i2; // } ImpHeader; // rest of the data is FLOAT64_LE (64bit float)