[wdmaudiodev] KsFilterFactorySetDeviceClassesState

  • From: "Jeff Claar" <jclaar@xxxxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Mon, 28 Apr 2003 12:33:51 -0700

Hi all,

I have an avstream driver that exposes a few different filters, with audio
inputs and outputs. Only one of these filters is enabled at any given
time...I use KsFilterFactorySetDeviceClassesState to enable or disable the
device classes based on various conditions. This works great in Windows 2000
and XP, but I'm having some problems in Windows ME.

Suppose my filter exposes 2 filters, Filter A and Filter B, each of which
support audio capturing and rendering. If Filter A is enabled and B is
disabled, and I look in the Sounds and Multimedia page in XP, I see only
Filter A. If I use KsFilterFactorySetDeviceClassesState to disable A and
enable B, I will only see Filter B in the Sounds and Multimedia page in XP.
This is exactly the behavior I want.

In ME, however, I see BOTH Filter A and Filter B under both the Sound
Playback and the Sound Recording drop down list boxes. Changing the enabled
state of the filter factory does not seem to make any difference. (The
filters are enabled and disabled properly, since I am no longer allowed to
create an instance of the disabled filter, but I would like to make that
option disappear altogether from the Sounds and Multimedia page.)

Is there anything additional I need to do to support Windows ME properly?

Thanks in advance for any advice,
Jeff

******************

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.de/

Other related posts:

  • » [wdmaudiodev] KsFilterFactorySetDeviceClassesState