Hi folks,
recently i´ve been trying to do some sort of sound synthesis by using the _sndraw command and i´m quite stuck in case of the audible delay that is happening before the playback starts (at least more than 200 msec). I´m aware of the fact that the documentation for the _sndraw command talks about this delay unless the buffer holds a certain amount of samples, but i´m stuck about the question about which buffer is meant.
As i´m using Win7, my question is, if this is the caused by the Soundcard driver/buffer or a buffer function implemented into the QB-Sourcecode/c-Parts. I´ve seen in internal/c/parts/audio/out/src.c a parameter called "int32 snd_buffer_size", but changing it to a smaller size (and recompiling the hereby used QB64 developement package) has no effect regarding a faster audio response and i´m not quite sure if this source file is also compiled when running "setup-win.bat" - or if i´m complete wrong.
Somewhere in a c-Source in the "AL" Source File Folder they talk about a 4*50msec buffer, but i suppose that this folder is there for ALSA.
I would not have any problem to switch over to QB64 on Linux if this "issue" can be solved by using ALSA/Pulseaudio, but i ask myself if the audio delay would still exists there.
I would be glad about any suggestions or tips !
Kind regards