How to let MSN recognize a DSHOW audio source filter as a audio source device in MSN audio/video setting?
- From: Joseph <pttp0p0@xxxxxxxxxxx>
- Date: Wed, 26 Mar 2008 01:34:17 -0700 (PDT)
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).
This filter can work with more than one hardware device. The system
device enumerator will return a unique moniker for each device that
can be used with this filter. The friendly name corresponds to the
name of the device. (This is the name that appears in GraphEdit.) For
more information, see Enumerating Devices and Filters.
Filter Interfaces IAMAudioInputMixer, IAMFilterMiscFlags,
IAMResourceControl, IBaseFilter, IPersistPropertyBag,
ISpecifyPropertyPages
Input Pin Media Types MEDIATYPE_AnalogAudio, MEDIASUBTYPE_NULL
Input Pin Interfaces IAMAudioInputMixer, IMemInputPin, IPin,
IQualityControl
Output Pin Media Types MEDIATYPE_Audio, MEDIASUBTYPE_NULL
Output Pin Interfaces IAMBufferNegotiation, IAMPushSource,
IAMStreamConfig, IAMStreamControl, IKsPropertySet, IPin,
IQualityControl
Filter CLSID CLSID_AudioRecord
Property Page CLSID CLSID_AudioInputMixerProperties
Executable qcap.dll
Merit MERIT_DO_NOT_USE
Category CLSID_AudioInputDeviceCategory
============================================================
(b)
A product can be recognized by MSN. Its name is RL Virtual Audio
Device In.(http://www.reallusion.com.tw/crazytalk/ct4skype/
ct4skype_faq.asp)
You can download the trial version from http://www.reallusion.com.tw/download/form/download_ct45.asp.
MSN can select it as a audio source device in the MSN audio/video
device setting.
And from the GraphEdit, I saw its filename is just qcap.dll.
Besides, Tim Roberts told me this product is a kernel driver.(so I
guessed it is not DSHOW-related, maybe it is another story...)
If you know how to let MSN recognize a audio source filter, please
tell me know how and where I should modify or add in the source code.
Thank you
(c)
I had tested for adding input pins(Micphone, Linein) to my filter, but
I failed.(Originally, I compared it with the default audio device, it
had no input pins.)
But the VVD still had no input pins and it worked.
(d)
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...)
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?
Sorry for asking so many questions, I had try all possibility it could
related.
Maybe you know how to reach my goal.
Thanks in advance.
Best Regards,
Joseph
.
- Follow-Ups:
- Prev by Date: Re: Crazy sound in Directsound
- Next by Date: Re: Crazy sound in Directsound
- Previous by thread: Re: Crazy sound in Directsound
- Next by thread: Re: How to let MSN recognize a DSHOW audio source filter as a audio source device in MSN audio/video setting?
- Index(es):
Relevant Pages
|