[wdmaudiodev] Re: 32 bit structs ?

  • From: Robert Bielik <robert@xxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Tue, 14 Feb 2012 17:19:56 +0100

Hi Matthew,

Matthew van Eerde skrev 2012-02-14 17:05:
I can't think of a reason why anyone would use these.

Hmm... then why are they present in the SDK ? :)

Can't it be something to do with running a 32 bit application on 64 bit Windows 
f.i. ? Or something similar ? Still, compiling a 32 bit
application would mean that PVOID is 32 bit, which would make it equal to the 
*****32 variant, so that shouldn't be it either...

Regards,
/Rob


-----Original Message-----
From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Robert Bielik
Sent: Monday, February 13, 2012 9:43 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] 32 bit structs ?

Ooops, I just encountered several dually defined structs for communicating with 
WaveRT device drivers:

KSRTAUDIO_BUFFER_PROPERTY vs. KSRTAUDIO_BUFFER_PROPERTY32 
KSRTAUDIO_BUFFER_PROPERTY_WITH_NOTIFICATION vs. 
KSRTAUDIO_BUFFER_PROPERTY_WITH_NOTIFICATION32
...

and I am now worried that the failure to use the ******32 structs will be 
problematic sometimes (the implementation in question is the Portaudio WDM/KS 
implementation).

Could someone knowledgeable line up where and why I should be using ******32 
structs instead of their counterpart ?

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



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

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/


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

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: