Hello,
I have made an application in which a countdown is used. 3,2,1, start. In 1 second steps.
I want to play a small beep on every second but this beep is played with a delay up to 1 second.
I have tried :
sndPlaySound(pchar(UTF8ToSys(path + '\beep_low.wav')), snd_Async)
PlaySound('beep_low.wav', 0, SND_ASYNC);
windows.beep(500,100);
but they all have a delay. Is there a way to play a small wav file without delay?
It seems that windows 7 has less or no delay but Windows 10 does have the delay.
It has to run on a windows 10 machine.
Beep_low.wav is wav file with a length of 250ms and they are played in the timerinterrupt of a 1 second timer.
Thanks in advance,
Peter