Capture Audio from Sound Card
  Home FAQ Contact Sign in
microsoft.public.win32.programmer.directx.audio only
 
Advanced search
POPULAR GROUPS

more...

microsoft ... directx.audio Profile…
 Up
Capture Audio from Sound Card         


Author: busboy10
Date: Jul 15, 2008 14:50

Hi All,

I am pretty new to DirectX, but found some good tutorials relating to
DirectSound at VB2008. I followed along and was able to capture audio
from my microphone, but I want to capture the audio from the sound
card output (streaming internet radio for example). Is there a way
that the device capture can be turned towards the sound card data?

I use this call to populate my list of Devices to capture from, I
would like to specifiy the output data so I can grab the sound that is
being outputted from my sound card.

Microsoft.DirectX.DirectSound.DeviceInformation

IS this possible? Any thoughts?

Thanks,
Andrew
1 Comment
Re: Capture Audio from Sound Card         


Author: Shugo_Ishida
Date: Jul 15, 2008 23:30

Hi,

If your sound card has a control name is "Wave Out Mix", "Stereo Mix" or something similar,
You are able to do it with mixer* Win32 APIs.
http://www.codeguru.com/Cpp/G-M/multimedia/article.php/c1575

Manually...
1. Open the Volume control panel.
2. [Option]-[Property], then choose [Record].
3. Is there "Wave Out Mix" in a list of controls? Click a check box it.
4. Click [OK] then it will close.
5. Choose "Wave Out" as input device.

If you use Vista, this thread might help you.
How to record from 'Wave' or 'Stereo Mix' in Vista?
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1005274&SiteID=1
Show full article (1.41Kb)
no comments