Oh, thank you. I downloaded the code, but have not had a chance to look it over yet. -----Original Message----- From: wdmaudiodev-bounce@xxxxxxxxxxxxx [mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Waldemar Haszlakiewicz Sent: Wednesday, August 17, 2005 12:41 AM To: wdmaudiodev@xxxxxxxxxxxxx Subject: [wdmaudiodev] Re: Wave Devices using AVStream driver The example of the AVStream driver that I've posted a few days ago also defines interface dynamically. You can check how it can be done.... Peace Waldemar MG> Yes, that sounds right. MG> I had to support multiple boxes with different formats, so I couldn'tuse a static filter MG> descriptor. I wrote a class that allocated andfilled out the filter pin descriptors and then MG> calledKsCreateFilterFactory. All I had to do to create multiple wave deviceswas to create more MG> than one instance of this class. MG> Matt MG> Sam Tertzakian wrote: MG> Hi, Matt, MG> Oh, ok, I?llfollow your advice. Iwas worried about the InstallSubDevice() equivalent in AVStream. MG> As for themultiple (wave) devices, Iguess I?ll have to make two instances of the same filter. Does thatsoundright to you? MG> Thank youfor your time? MG> MG> From:wdmaudiodev-bounce@xxxxxxxxxxxxx[mailto:wdmaudiodev-bounce@xxxxxxxxxxxx g] OnBehalf Of Matt Gonzalez MG> Sent: Sunday, August14, 200510:43 PM MG> To:wdmaudiodev@xxxxxxxxxxxxx MG> Subject: [wdmaudiodev]Re: WaveDevices using AVStream driver MG> MG> I suggest you go ahead and tryadding KSCATEGORY_AUDIOto the Categories list in your filter descriptor. That wasall I had to do. MG> Make sure the reference string in the AddInterface entry in your INFmatchesthe ReferenceGuid in your KSFILTER_DESCRIPTOR. MG> Matt MG> Sam Tertzakian wrote: MG> Hi, MG> MG> Right now, I am only listing KS_CATEGORY_CAPTURE and KS_CATEGORY_RENDER. MG> MG> I expect that I should list KSCATEGORY_AUDIO as I do for my WavePCI drivers. MG> MG> But, in the WavePCI drivers, I use "InstallSubDevice( ...., "Wave", .... );" MG> to link the name in the INF to my kernel mode device. MG> MG> But, in AVStream I don't see the equivalent function InstallSubDevice(). MG> MG> MG> -----Original Message----- MG> From: wdmaudiodev-bounce@xxxxxxxxxxxxx MG> [mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Matt Gonzalez MG> Sent: Sunday, August 14, 2005 9:13 PM MG> To: wdmaudiodev@xxxxxxxxxxxxx MG> Subject: [wdmaudiodev] Re: Wave Devices using AVStream driver MG> MG> What categories are you listing for your filter? MG> MG> Matt MG> MG> Sam Tertzakian wrote: MG> MG> MG> I have an AVStream driver that captures/renders audio. To do so, I use MG> GraphEdt and the device is listed under "WDM Streaming Devices". MG> MG> Now, I need to make it also appear under "Audio Capture" devices. Can I do MG> this with AVStream? If so, how? MG> MG> With WavePCI we use PortCls functions to expose the wave device. I want to MG> do the same thing using an AVStream driver. MG> MG> I want to be able to use the device using the Wave API. I think it is MG> possible since, as far as I know, the USBAudio.sys is an AVStream driver MG> MG> and MG> MG> it exposes Wave devices. MG> MG> Thank you MG> MG> MG> ****************** MG> MG> WDMAUDIODEV addresses: MG> Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx MG> Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe MG> Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe MG> Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx MG> MG> URL to WDMAUDIODEV page: MG> http://www.wdmaudiodev.com/ MG> MG> MG> MG> MG> ****************** MG> MG> WDMAUDIODEV addresses: MG> Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx MG> Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe MG> Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe MG> Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx MG> MG> URL to WDMAUDIODEV page: MG> http://www.wdmaudiodev.com/ MG> MG> ****************** MG> MG> WDMAUDIODEV addresses: MG> Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx MG> Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe MG> Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe MG> Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx MG> MG> URL to WDMAUDIODEV page: MG> http://www.wdmaudiodev.com/ MG> MG> MG> MG> ******************WDMAUDIODEV addresses:Post message: MG> mailto:wdmaudiodev@xxxxxxxxxxxxxxxxxxxxxx: MG> mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribeUnsubscribe:mailto :wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribeModerator: MG> mailto:wdmaudiodev-moderators@xxxxxxxxxxxxxxxx to WDMAUDIODEV page:http://www.wdmaudiodev.com/ MG> ******************WDMAUDIODEV addresses:Post message: MG> mailto:wdmaudiodev@xxxxxxxxxxxxxxxxxxxxxx: MG> mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribeUnsubscribe: MG> mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribeModerator: MG> mailto:wdmaudiodev-moderators@xxxxxxxxxxxxxxxx to WDMAUDIODEV page:http://www.wdmaudiodev.com/ ****************** 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 URL to WDMAUDIODEV page: http://www.wdmaudiodev.com/ ****************** 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 URL to WDMAUDIODEV page: http://www.wdmaudiodev.com/