Das ist very strange... now it magically started to work. This is what I hate about programming... sometimes the constellation of stars is the only explanation to how the programs are working... >.<
But still, I think that would be a good idea. Let's assume I want to save an audio data so huge that it cannot fit into memory. As in my program it could happen easily. I think it would be a good idea to support this, but I don't know how hard would it be, or how much design change would it need. What is you opinion?
[EDIT] I have an additional question: I created a music. When I play it in the program, with SFML (just by producing samples for SoundStream), it sounds very clear. Then I export the samples in a .wav file, or in an .ogg file, and play it with a eternal music player, the sound becomes noisy. Good to know: my program works with samples in the range -1.0f to 1.0f, and then before playing or rendering it, multiplies them with 32768.0f, then casts to sf::Int16. So It is near the border to be clipped down. I think that causes the crispy sounding in the files. But why does than SFML plays it nicely? Any tips?