I searched in internet and i saw that it is difficult to make it with SWIFT.
Get audio input buffers and put the output audio into the same buffers as well. i need a player to play the background song and it can mix itself and record it.
Who will help me? it can be any PODS or any solution. I need it too much.