bbLoadSound and 3D Sound

Archives Forums/Blitz3D SDK Programming/bbLoadSound and 3D Sound

Filax(Posted 2007) [#1]
I get a problem to do 3D sound ? the doc say :

"The sound must have been loaded using bbLoadSound with
the SOUND3D flag"

But the command bbLoadSound do not accept parameters ...

Any idea


Barnabius(Posted 2007) [#2]
bbLoadSound accepts two parameters but the docs are pretty inconsistent with that. Here's the C declare.

BBSDK_API BBSound bbLoadSound( const char *src,int flags=0 );

and here's how it looks in EBasic:

bbLoadSound(STRING src, OPT INT flags=0),BBSound

bbSound is just an INT

Barney


ninjarat(Posted 2007) [#3]
I tried using two parameters in BlitzMax...
bbLoadSound("whatev.ogg",0)

I got a too many parameters error. I think the BlitzMax imports missed that second parameter. Oops. Can you please fix it, Mark?


skidracer(Posted 2007) [#4]
That comment has been removed from next versions docs.


Filax(Posted 2007) [#5]
3D sound will be available?


ninjarat(Posted 2007) [#6]
I think... try it. There are some listener commands, I think, so either incomplete or it's already in there. I'm gonna go see if I can get it to work.