How to let MSN recognize a DSHOW audio source filter as a audio source device in MSN audio/video setting?
  Home FAQ Contact Sign in
microsoft.public.win32.programmer.directx.audio only
 
Advanced search
POPULAR GROUPS

more...

microsoft ... directx.audio Profile…
 Up
How to let MSN recognize a DSHOW audio source filter as a audio source device in MSN audio/video setting?         


Author: Joseph
Date: Mar 26, 2008 01:34

Hi all,
I am new to WDM and DSHOW.

I had downlad a VVD(Virtual video device) DSHOW filter from TMH's
website and it worked.

Now I want to implement a virtual audio device(VAD) DSHOW filter, the
first thing I tried was to modify the VVD source code, I changed all
the video type settings to audio type to form my VAD.
And then it could be added to GraphEdit and I could hear
voice...
But I want to implement it on the MSN to share the audio
streaming with my friends.
I had did some researches including googling the websites...

(a)
From the MSDN, I found:
============================================================
Audio Capture Filter

The Audio Capture filter represents an audio capture device. It has
one capture output pin and several input pins (one for each type of
input on the card, such as LineIn, Mic, CD, and MIDI).
Show full article (3.28Kb)
3 Comments
Re: How to let MSN recognize a DSHOW audio source filter as a audio source device in MSN audio/video setting?         


Author: Chris P.
Date: Mar 26, 2008 07:02

On Wed, 26 Mar 2008 01:34:17 -0700 (PDT), Joseph wrote:
> Any body knows how to debug MSN enumerate which kind of interface in
> audio/video setting?
> Is it API hooking related?(sorry, I do not know how to do it...)

As far as I know MSN doesn't use DirectShow for audio capture so writing a
source filter won't work like it did for the video.
> How could I let MSN recongnize?(through DirectShow or DirectSound
> interface)
> If DirectSound could, could I write a VAD using DirectSound?
> If DirectShow could, how could I do it?

You can write a driver level VAD that will work with DirectSound and
DirectShow. It's considerably more complicated but there is a sample in
the Windows DDK (current version is Server 2008) \src\audio\msvad\

--
http://www.chrisnet.net/code.htm
[MS MVP for DirectShow / MediaFoundation]
no comments
Re: How to let MSN recognize a DSHOW audio source filter as a audio source device in MSN audio/video setting?         


Author: Joseph
Date: Mar 27, 2008 18:49

Thanks, Chris P.

I have 2 questions.

(1)
The first one:
As the bellow website mentioned
http://pollos-blog.blogspot.com/2007/05/testcap-audio-capture-pin-windows.html

In the lowermost diagram...
the article showed 3 conditions to let SysAudio.sys to recognize a
Audio Capture Device:
1. has a Analog Audio Input Pin
2. has a Audio Output Pin
3. there must at least one node between these two pins

Is the SysAudio.sys driver-related?
If it is DSHOW-related, I want to ask the question two.
Show full article (0.84Kb)
no comments
Re: How to let MSN recognize a DSHOW audio source filter as a audio source device in MSN audio/video setting?         


Author: Chris P.
Date: Mar 28, 2008 12:55

On Thu, 27 Mar 2008 18:49:41 -0700 (PDT), Joseph wrote:
> (1)
> The first one:
> As the bellow website mentioned
> http://pollos-blog.blogspot.com/2007/05/testcap-audio-capture-pin-windows.html
>
> In the lowermost diagram...
> the article showed 3 conditions to let SysAudio.sys to recognize a
> Audio Capture Device:
> 1. has a Analog Audio Input Pin
> 2. has a Audio Output Pin
> 3. there must at least one node between these two pins
>
> Is the SysAudio.sys driver-related?
> If it is DSHOW-related, I want to ask the question two.

SysAudio.sys encapsulates the WDM audio drivers. You still have to write a
driver, you cannot do it with DirectShow in this case.
Show full article (1.47Kb)
no comments