Hello,
When I use OpenAL in windows it gives me an offset of about 100 ms (that is it plays the frames which are 100 ms before the current frame). And it works perfectly fine on MAC that is it plays the exact frame it is given or asked to play.
In order to demonstrate this behavior I have written a small test case which can be downloaded from the below provided link.
http://memory.psych.upenn.edu/files/software/TotalRecall/OpenAlDemo.zipPlease read the readme file for the instructions on running it.
In Main.java I basically ask openAl to play frames in a range of 200ms and the start of the range is such that a beep starts at that point. Try running this program on Mac and Windows. On windows you would not be able to hear anything, whereas on Mac you can hear a Beep.
I have cross verified that it plays right frames on Mac and on windows there is a delay or offset of about 100 ms consistently using a waveform.
Can someone please tell me how to resolve this issue.
Is it a upstream fault or am I missing out on something here.
Thanks