1
Audio / Re: Attaching SoundBuffers
« on: February 17, 2017, 07:35:03 pm »How to work with arrays is basic C++ knowledge and not really SFML specific, so you might want to read up on that topic.
I suggest to use a std::vector, for the rest ypu can also Google it (so I don't have to). And then pass vec.data() to loadFromSamples to the new buffer.
If this operation always occurs at load time, you might just want to merge them in an audio editing software beforehand.
Yes, i know how to work with arrays in c++, that i was trying to say is that is not giving me an array.
btw, Thanks for the suggest .
EDIT: it finally works, im going to try to concatenate now, thanks to both of you