having sv_load_from_memory() function and some more functions to obtain detailed information about modules, patterns, etc. in the new SunVox library is great! Thanks NightRadio. BTW there already exists its port to ZGameEditor and it works perfectly on Windows and Android. If you are interested in, check this forum
However, I would be glad if I have clarified some of my questions and issues:
1. How to use sv_audio_callback()? What's its original purpose? My idea was to use it to visualize played signal in runtime, is it correct/feasible? I tried different parameters, but playing was always "chopped"/unsmooth.
2. Setting of sv_set_autostop() takes effect only if it goes after sv_play(). If sv_stop() was called in meantime without consequent sv_set_autostop(), the setting of the previous sv_set_autostop() call is forgotten. I would expect that setting of sv_set_autostop() is remembered also after also calling sv_stop().
3. When sv_set_autostop(x, 0) is used the music playing is repeated but no sound is produced in a next loop. As a workaround I use sv_set_autostop(x, 1), then checking sv_end_of_song(x), and if true, calling sv_load*(x, ...) and sv_play(x) again. My expectation is that if sv_set_autostop(x, 0) is used, the music playing is repeated automatically, without another sv_load*() and sv_play() calls.