
And if the "dwControlType" member of MIXERCONTROL structure is MIXERCONTROL_CONTROLTYPE_MUX, I could select the wanted record source line (i.e., 'Wave' or 'Stereo Mix') by using ::mixerGetControlDetails(.) or ::mixerSetControlDetails(.) APIs. And if the "dwComponentType" member of MIXERLINE structure is MIXERLINE_COMPONENTTYPE_DST_WAVEIN, then I used ::mixerGetLineControls(.) API to get MIXERCONTROL structure. For example, I used ::mixerGetLineInfo(.) API to get MIXERLINE structure.

However, as the title of this thread saying, I could not find the way to record the audio stream on 'Wave' or 'Stereo Mix' line on Vista? Actually, "Line-in" and "Mic-in" are real external "ENDPOINT devices" but 'Wave' or 'Stereo Mix' line are NOT.Īctually, on XP or earlier versino of Windows, I could select 'Wave' or 'Stereo Mix' line through ::mixerXXXX() APIs. Yes, I know this should continue to work on Vista. And if "Line-in" is selected, it will capture the audio stream through Lini-in line. For example, If "Mic-in" is selected, DirectSoundCapture buffer will capture the audio comes through Mic.-in line. As you know, DirectSoundCapture buffer can capture the audio stream through the selected mixer line. Is there another way to capture the audio stream to the speacker on Vista? Please let me know!!Īs I said in earlier post, I used "DirectSoundCapture" to capture that audio stream on the "source-line" selected in Windows record control utility. However, there's also NO "wave Out Mix" or similar subunit found. And one audio device driver (I have two Vista test system) exposes IAudioInputSelector interface. So, I wrote a simple test code using "Device Topology API" of Core Audio APIs in Windows Vista SDK, in order to get internal controls of audio device. I thought they were not seen because these kind of recording sources are NOT "endpoint device" on the user's point of view. Windows record control utility in Vista is just showing only external devices (endpoint devices) like mic., line-in or S/PDIF in but I could not find "Wave Out Mix", "Stereo Mix" or something similar.


However, I could not find the way to do that in Windows Vista. And if "Wave Out Mix" or "Stereo Mix" or something similar was selected as recording source line, D irectSoundCapture was able to record the audio stream to the speacker. In other words, D irectSoundCapture was able to capture from the selected recording device/source line in the Windows record control utility or mixerXXX APIs. On Windows XP or earlier, I could capture the audio stream to the speacker not from the external device (maybe endpoint device in Vista) like the microphone. I hope I could get right answer as soon as possible here. I wrote the following question in other forum space but some MSFT guy told me to try this forum for my question.
