this kind of thing, what you need is loopback software. things like a virtual audio cable. if you have an RME soundcard, the driver software totalmix can do it itself. But if you don't, I've had some luck doing this with a program called Virtual Audio Cable. Others around the web use VAC (different lol, these names are ridiculous), which is free. It's all pretty complex to setup and fairly frustrating from what i remember. But it's very nice when it works.