Reply – Re: Any news about synchronization issues?
Your Name
or Cancel
In Reply To
Re: Any news about synchronization issues?
— by fredvs fredvs
fauri wrote
Thanks, Fred, but I still faced with some problems. For example, with tempo in 100, it works perfectly. But, if I change to 124 or 125, sometimes one of the pieces doesn't play. Strange, don't you?
Yes, very strange.
And I have tested on many os (Linux, FreeBSD, WinXP, Win7, win8, win81,win10).
And, indeed with win10 there are synchro-problems sometimes.
But I have also problems with all other audio-applications (that are not win10 native).
I also have problems with audio-drivers win10/64 bit.

fauri wrote
Before revision 185, my drum machine worked great with a new player being created in each loop. Now, in that way, the sync is a total mess. But I believe that uos_PlayNoFree is the right way to go.
It would be great if you give in attachment a demo with old revision (working for you).

In SimpleDrums demo code, it uses uos_AddFromFile().
But you may try with uos_AddFromMemoryStream(), the code is there ready to use.
You only have to uncomment uos_AddFromMemoryStream in demo code (and comment code using uos_AddFromFile).