Windows Media Foundation recording audio
I apologize for the late response, and I hope you can still find this valuable. I recently completed a project similar to yours (recording webcam video along with a selected microphone to a single video file with audio). The key is to creating an aggregate media source. // http://msdn.microsoft.com/en-us/library/windows/desktop/dd388085(v=vs.85).aspx HRESULT CreateAggregateMediaSource(IMFMediaSource *videoSource, IMFMediaSource *audioSource, IMFMediaSource … Read more