bbLoadSound and 3D Sound
Blitz3D SDK Forums/Blitz3D SDK Programming/bbLoadSound and 3D Sound
The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.
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
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
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?
That comment has been removed from next versions docs.
3D sound will be available?
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.