| fmod.h | | fmod.h | |
| | | | |
| skipping to change at line 19 | | skipping to change at line 19 | |
| /* ========================================================================
==================== */ | | /* ========================================================================
==================== */ | |
| | | | |
| #ifndef _FMOD_H | | #ifndef _FMOD_H | |
| #define _FMOD_H | | #define _FMOD_H | |
| | | | |
| /* | | /* | |
| FMOD version number. Check this against FMOD::System::getVersion. | | FMOD version number. Check this against FMOD::System::getVersion. | |
| 0xaaaabbcc -> aaaa = major version number. bb = minor version number.
cc = development version number. | | 0xaaaabbcc -> aaaa = major version number. bb = minor version number.
cc = development version number. | |
| */ | | */ | |
| | | | |
|
| #define FMOD_VERSION 0x00043503 | | #define FMOD_VERSION 0x00043504 | |
| | | | |
| /* | | /* | |
| Compiler specific settings. | | Compiler specific settings. | |
| */ | | */ | |
| | | | |
| #if defined(__CYGWIN32__) | | #if defined(__CYGWIN32__) | |
| #define F_CDECL __cdecl | | #define F_CDECL __cdecl | |
| #define F_STDCALL __stdcall | | #define F_STDCALL __stdcall | |
| #define F_DECLSPEC __declspec | | #define F_DECLSPEC __declspec | |
| #define F_DLLEXPORT ( dllexport ) | | #define F_DLLEXPORT ( dllexport ) | |
|
| #elif (defined(WIN32) || defined(__WIN32__) || defined(_WIN64) || defined(_
XBOX)) | | #elif (defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(_
WIN64) || defined(_XBOX)) | |
| #define F_CDECL _cdecl | | #define F_CDECL _cdecl | |
| #define F_STDCALL _stdcall | | #define F_STDCALL _stdcall | |
| #define F_DECLSPEC __declspec | | #define F_DECLSPEC __declspec | |
| #define F_DLLEXPORT ( dllexport ) | | #define F_DLLEXPORT ( dllexport ) | |
| #elif defined(__MACH__) || defined (__ANDROID__) | | #elif defined(__MACH__) || defined (__ANDROID__) | |
| #define F_CDECL | | #define F_CDECL | |
| #define F_STDCALL | | #define F_STDCALL | |
| #define F_DECLSPEC | | #define F_DECLSPEC | |
| #define F_DLLEXPORT __attribute__ ((visibility("default"))) | | #define F_DLLEXPORT __attribute__ ((visibility("default"))) | |
| #else | | #else | |
| | | | |
| skipping to change at line 883 | | skipping to change at line 883 | |
| #define FMOD_MPEGSEARCH 0x00008000 /* For corrupted / bad M
P3 files. This will search all the way through the file until it hits a va
lid MPEG header. Normally only searches for 4k. */ | | #define FMOD_MPEGSEARCH 0x00008000 /* For corrupted / bad M
P3 files. This will search all the way through the file until it hits a va
lid MPEG header. Normally only searches for 4k. */ | |
| #define FMOD_NONBLOCKING 0x00010000 /* For opening sounds an
d getting streamed subsounds (seeking) asyncronously. Use Sound::getOpenSt
ate to poll the state of the sound as it opens or retrieves the subsound in
the background. */ | | #define FMOD_NONBLOCKING 0x00010000 /* For opening sounds an
d getting streamed subsounds (seeking) asyncronously. Use Sound::getOpenSt
ate to poll the state of the sound as it opens or retrieves the subsound in
the background. */ | |
| #define FMOD_UNIQUE 0x00020000 /* Unique sound, can onl
y be played one at a time */ | | #define FMOD_UNIQUE 0x00020000 /* Unique sound, can onl
y be played one at a time */ | |
| #define FMOD_3D_HEADRELATIVE 0x00040000 /* Make the sound's posi
tion, velocity and orientation relative to the listener. */ | | #define FMOD_3D_HEADRELATIVE 0x00040000 /* Make the sound's posi
tion, velocity and orientation relative to the listener. */ | |
| #define FMOD_3D_WORLDRELATIVE 0x00080000 /* Make the sound's posi
tion, velocity and orientation absolute (relative to the world). (DEFAULT)
*/ | | #define FMOD_3D_WORLDRELATIVE 0x00080000 /* Make the sound's posi
tion, velocity and orientation absolute (relative to the world). (DEFAULT)
*/ | |
| #define FMOD_3D_INVERSEROLLOFF 0x00100000 /* This sound will follo
w the inverse rolloff model where mindistance = full volume, maxdistance =
where sound stops attenuating, and rolloff is fixed according to the global
rolloff factor. (DEFAULT) */ | | #define FMOD_3D_INVERSEROLLOFF 0x00100000 /* This sound will follo
w the inverse rolloff model where mindistance = full volume, maxdistance =
where sound stops attenuating, and rolloff is fixed according to the global
rolloff factor. (DEFAULT) */ | |
| #define FMOD_3D_LINEARROLLOFF 0x00200000 /* This sound will follo
w a linear rolloff model where mindistance = full volume, maxdistance = sil
ence. Rolloffscale is ignored. */ | | #define FMOD_3D_LINEARROLLOFF 0x00200000 /* This sound will follo
w a linear rolloff model where mindistance = full volume, maxdistance = sil
ence. Rolloffscale is ignored. */ | |
| #define FMOD_3D_LINEARSQUAREROLLOFF 0x00400000 /* This sound will follo
w a linear-square rolloff model where mindistance = full volume, maxdistanc
e = silence. Rolloffscale is ignored. */ | | #define FMOD_3D_LINEARSQUAREROLLOFF 0x00400000 /* This sound will follo
w a linear-square rolloff model where mindistance = full volume, maxdistanc
e = silence. Rolloffscale is ignored. */ | |
| #define FMOD_3D_CUSTOMROLLOFF 0x04000000 /* This sound will follo
w a rolloff model defined by Sound::set3DCustomRolloff / Channel::set3DCust
omRolloff. */ | | #define FMOD_3D_CUSTOMROLLOFF 0x04000000 /* This sound will follo
w a rolloff model defined by Sound::set3DCustomRolloff / Channel::set3DCust
omRolloff. */ | |
| #define FMOD_3D_IGNOREGEOMETRY 0x40000000 /* Is not affect by geom
etry occlusion. If not specified in Sound::setMode, or Channel::setMode, t
he flag is cleared and it is affected by geometry again. */ | | #define FMOD_3D_IGNOREGEOMETRY 0x40000000 /* Is not affect by geom
etry occlusion. If not specified in Sound::setMode, or Channel::setMode, t
he flag is cleared and it is affected by geometry again. */ | |
|
| | | #define FMOD_REVERB_DISABLE 0x00800000 /* Prevent reverb from b
eing applied to this sound. Only relevant for FMOD_SOFTWARE based sounds.
*/ | |
| #define FMOD_UNICODE 0x01000000 /* Filename is double-by
te unicode. */ | | #define FMOD_UNICODE 0x01000000 /* Filename is double-by
te unicode. */ | |
| #define FMOD_IGNORETAGS 0x02000000 /* Skips id3v2/asf/etc t
ag checks when opening a sound, to reduce seek/read overhead when opening f
iles (helps with CD performance). */ | | #define FMOD_IGNORETAGS 0x02000000 /* Skips id3v2/asf/etc t
ag checks when opening a sound, to reduce seek/read overhead when opening f
iles (helps with CD performance). */ | |
| #define FMOD_LOWMEM 0x08000000 /* Removes some features
from samples to give a lower memory overhead, like Sound::getName. See re
marks. */ | | #define FMOD_LOWMEM 0x08000000 /* Removes some features
from samples to give a lower memory overhead, like Sound::getName. See re
marks. */ | |
| #define FMOD_LOADSECONDARYRAM 0x20000000 /* Load sound into the s
econdary RAM of supported platform. On PS3, sounds will be loaded into RSX/
VRAM. */ | | #define FMOD_LOADSECONDARYRAM 0x20000000 /* Load sound into the s
econdary RAM of supported platform. On PS3, sounds will be loaded into RSX/
VRAM. */ | |
| #define FMOD_VIRTUAL_PLAYFROMSTART 0x80000000 /* For sounds that start
virtual (due to being quiet or low importance), instead of swapping back t
o audible, and playing at the correct offset according to time, this flag m
akes the sound play from the start. */ | | #define FMOD_VIRTUAL_PLAYFROMSTART 0x80000000 /* For sounds that start
virtual (due to being quiet or low importance), instead of swapping back t
o audible, and playing at the correct offset according to time, this flag m
akes the sound play from the start. */ | |
| | | | |
| /* [DEFINE_END] */ | | /* [DEFINE_END] */ | |
| | | | |
| /* | | /* | |
| [ENUM] | | [ENUM] | |
| | | | |
End of changes. 3 change blocks. |
| 2 lines changed or deleted | | 3 lines changed or added | |
|