Record in-game audio

I need to be able to record in-game audio. The microphone isn’t a solution so i would like to have a way to collect all the audio sources streams and save them to an audioClip. Is that possible?

You can use the OnAudioFilterRead callback function attached to a AudioListener. Here is a forum thread where they us it further down the thread, and a full script on how to record an audio file with it.