It is currently Sat Jan 23, 2021 8:57 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Some PB Constants?
PostPosted: Sat Sep 14, 2019 8:33 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon Mar 17, 2014 1:42 pm
Posts: 118
Location: Brasil - S.P
Probably missed some update and can not find some constants:
#DSBLOCK_ENTIREBUFFER
#DSBPLAY_LOOPING
#DS_OK

Have it changed?

Otrebor

_________________
ZX Spectrum emulator (PureBasic)


Top
 Profile  
Reply with quote  
 Post subject: Re: Some PB Constants?
PostPosted: Sat Sep 14, 2019 8:43 pm 
Offline
Addict
Addict

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 3967
Location: Berlin, Germany
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.

_________________
Please excuse my flawed English. My native language is PureBasic.
Search
RSBasic's backups


Top
 Profile  
Reply with quote  
 Post subject: Re: Some PB Constants?
PostPosted: Sun Sep 15, 2019 1:59 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon Mar 17, 2014 1:42 pm
Posts: 118
Location: Brasil - S.P
Thanks.

_________________
ZX Spectrum emulator (PureBasic)


Top
 Profile  
Reply with quote  
 Post subject: Re: Some PB Constants?
PostPosted: Sun Sep 15, 2019 2:14 am 
Offline
Addict
Addict

Joined: Thu Apr 18, 2019 8:17 am
Posts: 1201
From https://ccrma.stanford.edu/software/stk/Misc/dsound.h :

Code:
#DSBLOCK_ENTIREBUFFER = 2
#DSBPLAY_LOOPING = 1
#DS_OK = 0


Top
 Profile  
Reply with quote  
 Post subject: Re: Some PB Constants?
PostPosted: Sun Sep 15, 2019 4:43 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon Mar 17, 2014 1:42 pm
Posts: 118
Location: Brasil - S.P
Thanks. Well, my strangeness (and reason of my post) is due that my old PB version recognize these constants. :)

Otrebor

_________________
ZX Spectrum emulator (PureBasic)


Top
 Profile  
Reply with quote  
 Post subject: Re: Some PB Constants?
PostPosted: Sun Sep 15, 2019 10:05 pm 
Offline
Addict
Addict

Joined: Thu Apr 18, 2019 8:17 am
Posts: 1201
Which version?


Top
 Profile  
Reply with quote  
 Post subject: Re: Some PB Constants?
PostPosted: Sun Sep 15, 2019 11:12 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon Mar 17, 2014 1:42 pm
Posts: 118
Location: Brasil - S.P
Sorry my mistake. I did not noticed that the constants are already defined in the beginning. I apologize. :oops:

Otrebor

_________________
ZX Spectrum emulator (PureBasic)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye