How to make audio programatically by SDL2?

Sorry, I found something here in the forum: