[wdmaudiodev] Re: PC Audio Capture

  • From: Tim Roberts <timr@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Thu, 07 Jan 2010 09:03:03 -0800

Sushma wrote:
> I had already tried as the described in the link you mentioned but the
> audio capture was not satisfactory. The quality of sound was low.

That suggests a misunderstanding or misconfiguration on your part.  You
should be getting the audio in its final form before it goes to the
sound card.

> So, i thought of going for a filter driver. I understand using
> WaveIn/Wasapi API for Vista and Win 7. But my requirement is for Win
> XP as well.
> For Win XP i need a filter driver to record the PC audio. Is this
> correct? If so, at what level in audio stack i need this filter driver
> to be present? Any info or samples would be much helpful.

One option is to use a virtual audio device, like the one here:
This creates a new audio device which applications can write to.  The
output of that virtual device is inside an application, which can do
whatever it wants, including forwarding the audio on to real hardware.

Pre-Vista, it is possible to insert an audio class upper filter to
intercept the kernel streaming ioctls.  It is surprisingly difficult in
that situation to figure out what format the audio is in every case, so
plan some frustrating test time.

For WAVERT devices in Vista and later, this simply cannot be done.  The
audio engine in user-mode writes the data directly to the DMA buffer --
there are no kernel requests to intercept.

Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.


WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx


Other related posts: