Hi, I need to write some code to capture data from the line in on the sound card. A couple of years ago, before Vista, I did this pretty easily in C# with Directsound. Now I need to do it in C++ and it needs to run on both XP and Vista. I don't need any effects or compression, I just want to capture 2 channels of sound. Should I be using Directsound or XAudio2, or are these overkill for what I want to do? Whichever API I use it needs to be XP and Vista compatible. Can anyone help me?