Jeff Pages skrev 2010-10-30 01:05:
I went through something similar many years ago and found I had to include property handlers for KSPROPERTY_AUDIO_CHANNEL_CONFIG and KSPROPERTY_AUDIO_STEREO_SPEAKER_GEOMETRY in the miniport's DAC node (KSNODETYPE_DAC).
Thnx Jeff, I'll try that out. However, I finally got WMP to open my device in 5.1 mode, by ehm... configuring my device in sound panel for 5.1 surround mode (blush). But if I'm not implementing KSPROPERTY_AUDIO_CHANNEL_CONFIG, how come Sound panel seems to be able to get/set that configuration anyway? Is it PortCls that implements it ? My VAD's configuration should mirror the configuration of my target sound device so I'd need to change the configuration programmatically, will I still need to implement those handlers, or can I make use of what PortCls provides ? Regards /Rob ****************** 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/