[wdmaudiodev] Re: Setting channel config

  • From: Robert Bielik <robert.bielik@xxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Tue, 02 Nov 2010 06:28:30 +0100

Robert Bielik skrev 2010-11-02 06:21:
Hmm.. I'm trying to set the channel configuration programmatically, but fail ("The 
property set specified does not exist on the object."), my code
for setting it is:

KSP_NODE node;
node.Property.Set = KSPROPSETID_Audio;
node.Property.Id = KSPROPERTY_AUDIO_CHANNEL_CONFIG;
node.Property.Flags = KSPROPERTY_TYPE_SET;

Sigh... should be:
node.Property.Flags = KSPROPERTY_TYPE_SET | KSPROPERTY_TYPE_TOPOLOGY;

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

Other related posts: