Haha
![Cheesy :D](https://www.sfml-dev.org/forums/Smileys/default/cheesy.gif)
, I didn't forget the buffer of course but there was a mess in declarations of those three objects.
In my real situation I'm actually using a class to wrap up the working with sound functionality which is used by other objects and I made some scope errors
![Lips sealed :-X](https://www.sfml-dev.org/forums/Smileys/default/lipsrsealed.gif)
, This code is just a demo (an awful one
![Undecided :-\](https://www.sfml-dev.org/forums/Smileys/default/undecided.gif)
), maybe I'm looking like a totally rookie programmers but it's the "deadlines pressure" which make the impossible possible
![Cheesy :D](https://www.sfml-dev.org/forums/Smileys/default/cheesy.gif)
.
Thank you about the sf:Clock clue that is how it's done but as the doc said about sleep:
Make the current thread sleep for a given duration.
I don't mind if the echo sound thread blocked less than a second.