Page 1 of 1
Some PB Constants?
Posted: Sat Sep 14, 2019 8:33 pm
by Otrebor
Probably missed some update and can not find some constants:
#DSBLOCK_ENTIREBUFFER
#DSBPLAY_LOOPING
#DS_OK
Have it changed?
Otrebor
Re: Some PB Constants?
Posted: Sat Sep 14, 2019 8:43 pm
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.
Re: Some PB Constants?
Posted: Sun Sep 15, 2019 1:59 am
by Otrebor
Thanks.
Re: Some PB Constants?
Posted: Sun Sep 15, 2019 2:14 am
by BarryG
From
https://ccrma.stanford.edu/software/stk/Misc/dsound.h :
Code: Select all
#DSBLOCK_ENTIREBUFFER = 2
#DSBPLAY_LOOPING = 1
#DS_OK = 0
Re: Some PB Constants?
Posted: Sun Sep 15, 2019 4:43 pm
by Otrebor
Thanks. Well, my strangeness (and reason of my post) is due that my old PB version recognize these constants.
Otrebor
Re: Some PB Constants?
Posted: Sun Sep 15, 2019 10:05 pm
by BarryG
Which version?
Re: Some PB Constants?
Posted: Sun Sep 15, 2019 11:12 pm
by Otrebor
Sorry my mistake. I did not noticed that the constants are already defined in the beginning. I apologize.
Otrebor