Some PB Constants?

Everything else that doesn't fall into one of the other PB categories.
User avatar
Otrebor
Enthusiast
Enthusiast
Posts: 198
Joined: Mon Mar 17, 2014 1:42 pm
Location: São Paulo, Brasil
Contact:

Some PB Constants?

Post by Otrebor »

Probably missed some update and can not find some constants:
#DSBLOCK_ENTIREBUFFER
#DSBPLAY_LOOPING
#DS_OK

Have it changed?

Otrebor
Little John
Addict
Addict
Posts: 4519
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: Some PB Constants?

Post by Little John »

Otrebor wrote:#DSBLOCK_ENTIREBUFFER
#DSBPLAY_LOOPING
#DS_OK
These constants are not defined in PureBasic.

You can google for instance msdn DS_OK (without the # character) in order to get information about that constant.
User avatar
Otrebor
Enthusiast
Enthusiast
Posts: 198
Joined: Mon Mar 17, 2014 1:42 pm
Location: São Paulo, Brasil
Contact:

Re: Some PB Constants?

Post by Otrebor »

Thanks.
BarryG
Addict
Addict
Posts: 3292
Joined: Thu Apr 18, 2019 8:17 am

Re: Some PB Constants?

Post by BarryG »

From https://ccrma.stanford.edu/software/stk/Misc/dsound.h :

Code: Select all

#DSBLOCK_ENTIREBUFFER = 2
#DSBPLAY_LOOPING = 1
#DS_OK = 0
User avatar
Otrebor
Enthusiast
Enthusiast
Posts: 198
Joined: Mon Mar 17, 2014 1:42 pm
Location: São Paulo, Brasil
Contact:

Re: Some PB Constants?

Post by Otrebor »

Thanks. Well, my strangeness (and reason of my post) is due that my old PB version recognize these constants. :)

Otrebor
BarryG
Addict
Addict
Posts: 3292
Joined: Thu Apr 18, 2019 8:17 am

Re: Some PB Constants?

Post by BarryG »

Which version?
User avatar
Otrebor
Enthusiast
Enthusiast
Posts: 198
Joined: Mon Mar 17, 2014 1:42 pm
Location: São Paulo, Brasil
Contact:

Re: Some PB Constants?

Post by Otrebor »

Sorry my mistake. I did not noticed that the constants are already defined in the beginning. I apologize. :oops:

Otrebor
Post Reply