Sam,
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/Audio_d/hh/Audio_d/pcdesign_008b0368-ccba-42e6-be0f-29b9c8a95fdd.xml.asp
-Dan
From: "Sam Tertzakian" Subject: [wdmaudiodev] Wave Device Id to KsPropertySet Date: Fri, 3 Mar 2006 17:01:06 -0800
Hi,
Given a Wave Device Id of an audio device for which I have written an audio
driver, I need to get a property for the device from the driver.
But, I don't see a clean way to convert a Wave Device Id into a form for
which I can acquire the KsProxy IKsProperty interface exported by my driver.
Can someone tell me how to do this?
I have tried several options, but none work for various reasons. For
example, I enumerate the DSound devices which give me a corresponding Wave
Device Id. But, the IKsProperty interface for DSound is different (it seems
to be a different interterface than the KsProxy IKsProperty) and I cannot
access the property I need in the driver.
I only able to access the property if I get the DirectShow IKsProperty interface, but then I don't know which is the corresponding Wave Device. Same thing with using SetupApi and using IOCTL_KS_PROPERTY.
Thank you
******************
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/