BBSDK_API bbLoadSound What's the flags for?

Archives Forums/Blitz3D SDK Programming/BBSDK_API bbLoadSound What's the flags for?

Kale Kold(Posted 2012) [#1]
What is the flags for?

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


skidracer(Posted 2012) [#2]
From memory, nothing. What do the docs say?


Kale Kold(Posted 2012) [#3]
the docs say nothing.


Floyd(Posted 2012) [#4]
Checking the various docs, Blitz3D LoadSound does not have flags, but the BlitzMax version does.

The BlitzMax docs say
Flag value	Effect
SOUND_LOOP	The sound should loop when played back.
SOUND_HARDWARE	The sound should be placed in onboard soundcard memory if possible.
The flags have the values 1 and 2 respectively.

Maybe bbLoadSound is the same. It's worth a try.


Kale Kold(Posted 2012) [#5]
In the SDK for bbEmitSound it mentions another flag 'SOUND3D'.

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


Any idea what the value of this constant is?