Audio recording from application

Hello,
I'm trying to record sound from application/game. I've been searching for some time and all i found about audio how to record microphone.
I asked around and not really solid answers were provided.I would need examples links/codes to learn from. I was also been told something about WASAPI but i only got more confused :D. It would be really helpful if someone helped me with it.
Topic archived. No new replies allowed.