Hello,
I wonder how to get DX audio output buffer size so I can predict when will sound arrive.
I'm playing sound output through DXAudioOut component and I record another one back from microphone with help of waveaudio TLiveAudioRecorder.
I need to align recorded sound internally with played buffer, so I can analyze how different it is, but I need to know how delayed it is because of DX output buffer size, Win mixer size, input buffer size...
I found only answers like: usually win mixer buffer is 20-30ms, DX audio latency is 25-150ms, ..., but I need sample accurate information of how delayed is directX sound output and how delayed is waveaudio Liverecorder input (is it always delayed only one buffer size, and is it arriving in exact time??).
Same problem exists if someone wants to make multitrack sound recorder, where previously recorded audio needs to be aligned with new recorded track.
Any comments appreciated