Hi again! yes, that maybe would work too, but inside the kuusisto code, UpdateRunner method doesn’t need an accurate loop, just a (more or less) regular loop for filling the buffer, so just increasing the buffer size is enough
Also, I’ve been working some more with this library. I found (in my opinion) an important limitation. As I can understand, by now, a sound cannot be played twice simultaneously. You need to load different sounds with the source file (waste of memory).
What I did is just add to the SteamMusic/MemMusic/SteamSound/MemSound a new method called getInstance() This method return a new music/sound that shares the source data. This is a quite small code addition:
public MemMusic getInstance(){return new MemMusic(left,right,mixer,lengthSeconds);}
public MemSound getInstance(){return new MemSound(left,right,mixer,tinysound.TinySound.getSoundID(),lengthSeconds);}
But was very useful for adding environmental sounds when the same sound comes from several different locations