So, just need to create a function to concatenate their arrays of audio? (getSamples)
Yes.
Sample rate and channel count obviously need to be the same.
I was trying to work with it but i dont know if im doing it right.
First, i rlly dont know how join to the array, for example:
>>I have this Buffer:
sf::SoundBuffer buffer1;
sf::SoundBuffer buffer2;
now i want to take the array from the first one. So i should use buffer1.getSamples(); the first thing that i think is that if this is an array i could get the samples of the array like: buffer1.getSamples()[number], i know it is wrong but i dont know how get the data of the array. if i print buffer1.getSamples() just get a number like "0x6668478" and the second buffer give me "0x66ed2f0". I rlly dont know how to concatenate those arrays because i dont know how work with it, i read the def of the function getSamples() but i really dont get it.
Thanks for all your help again