[wdmaudiodev] Re: AVStream Driver and SNDVOL32 and KSPIN_PHYSICALCONNECTION

  • From: "Sam Tertzakian" <sam@xxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Sat, 22 Oct 2005 19:10:54 -0700

Hi, I have solved this problem entirely!

Solution: Eliminate topology filter entirely. Put all volume and mute
controls in the audio filter.

 

  _____  

From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Sam Tertzakian
Sent: Saturday, October 22, 2005 5:50 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] AVStream Driver and SNDVOL32 and
KSPIN_PHYSICALCONNECTION

 

Hi, 

 

My AVStream driver exposes a Wave device. But there are some issues:

 

1.      I want to be able to change the volume of the device. So, of course,
I have added a property set for that and it appears properly in KsStudio.
But, I am unable to make the volume of the device appear in SndVol32.exe.
2.      The speaker Icon does not appear.

 

Now, I have carefully creatde a topology filter and under KsStudio
everything looks correct.all the elements I want to create appear. Also: I
am able to change the volume using KsStudio by typing it in after creating
the topology filter. The proper handler in my driver is called with all the
proper paramters.

 

The one thing that is wrong.and that I think is causing my problem is:

 

PhysicalConnection for the data pins is "Not Available". I am sure this is
my problem. Now, in the DDK I saw a property set for this but it states:
"This structure is used with port class only." (See
"KSPIN_PHYSICALCONNECTION".)

 

I tried to set a handler of KSPROPSETID_Pin, but it is never called.

 

How can I fill in the PhysicalConnection parameter of the Pin so it appears
correctly in KsStudio in an AVStream driver?

 

Also, do I need to do this?

 

 

 

 

 

Other related posts: