Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / mystery param in LOAD SOUND?

Author
Message
skyser
22
Years of Service
User Offline
Joined: 11th Sep 2003
Location: New York, NY
Posted: 18th Sep 2003 02:31
can someone tell me what the flag parm is in load sound...help file is useless...

LOAD SOUND Filename, Sound Number, Flag

--skyser
andrew11
23
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United States
Posted: 18th Sep 2003 02:57
Well, for load image the flag makes the picture not blurry and keeps it the same pixel by pixel. Load sound must have the same thing, I guess.

"All programmers are playwrites and all computers are lousy actors" -Anon
[img]Visit my site![/img]
Easily Confused
23
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 18th Sep 2003 03:47
I think I read somewhere in a previous patch (4 I think) that it's for future expansion, not clear on what though.

Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 18th Sep 2003 12:52
It was mentioned in a previous post:

http://darkbasicpro.thegamecreators.com/?m=forum_view&t=11464&b=1

If your mansion house needs haunting, just call Rentaghost!
CattleRustler
Retired Moderator
22
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 18th Sep 2003 19:09
maybe sychronous-asynchronous flag? the PlaySoundA Win32API (which is probably being called) has this flag as the last param - not sure if is dummied up in DBP or actally works. It works correctly from VB to w32api call tho.


-RUST-

Login to post a reply

Server time is: 2026-07-25 07:00:34
Your offset time is: 2026-07-25 07:00:34