| fmod_event.h | | fmod_event.h | |
| | | | |
| skipping to change at line 24 | | skipping to change at line 24 | |
| | | | |
| #ifndef _FMOD_H | | #ifndef _FMOD_H | |
| #include "fmod.h" | | #include "fmod.h" | |
| #endif | | #endif | |
| | | | |
| /* | | /* | |
| FMOD EventSystem version number. Check this against FMOD::EventSystem:
:getVersion. | | FMOD EventSystem version number. Check this against FMOD::EventSystem:
: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_EVENT_VERSION 0x00044300 | | #define FMOD_EVENT_VERSION 0x00044400 | |
| | | | |
| /* | | /* | |
| FMOD event types | | FMOD event types | |
| */ | | */ | |
| | | | |
| typedef struct FMOD_EVENTSYSTEM FMOD_EVENTSYSTEM; | | typedef struct FMOD_EVENTSYSTEM FMOD_EVENTSYSTEM; | |
| typedef struct FMOD_EVENTPROJECT FMOD_EVENTPROJECT; | | typedef struct FMOD_EVENTPROJECT FMOD_EVENTPROJECT; | |
| typedef struct FMOD_EVENTGROUP FMOD_EVENTGROUP; | | typedef struct FMOD_EVENTGROUP FMOD_EVENTGROUP; | |
| typedef struct FMOD_EVENTCATEGORY FMOD_EVENTCATEGORY; | | typedef struct FMOD_EVENTCATEGORY FMOD_EVENTCATEGORY; | |
| typedef struct FMOD_EVENT FMOD_EVENT; | | typedef struct FMOD_EVENT FMOD_EVENT; | |
| | | | |
| skipping to change at line 119 | | skipping to change at line 119 | |
| #define FMOD_EVENT_NONBLOCKING 0x00000001 /* For loading event d
ata asynchronously. FMOD will use a thread to load the data. Use Event::ge
tState to find out when loading is complete. */ | | #define FMOD_EVENT_NONBLOCKING 0x00000001 /* For loading event d
ata asynchronously. FMOD will use a thread to load the data. Use Event::ge
tState to find out when loading is complete. */ | |
| #define FMOD_EVENT_ERROR_ON_DISKACCESS 0x00000002 /* For EventGroup::get
Event / EventGroup::getEventByIndex. If EventGroup::loadEventData has acci
dently been forgotten this flag will return an FMOD_ERR_FILE_UNWANTED if th
e getEvent function tries to load data. */ | | #define FMOD_EVENT_ERROR_ON_DISKACCESS 0x00000002 /* For EventGroup::get
Event / EventGroup::getEventByIndex. If EventGroup::loadEventData has acci
dently been forgotten this flag will return an FMOD_ERR_FILE_UNWANTED if th
e getEvent function tries to load data. */ | |
| #define FMOD_EVENT_INFOONLY 0x00000004 /* For EventGroup::get
Event / EventGroup::getEventByIndex. Don't allocate instances or load data
, just get a handle to allow user to get information from the event. */ | | #define FMOD_EVENT_INFOONLY 0x00000004 /* For EventGroup::get
Event / EventGroup::getEventByIndex. Don't allocate instances or load data
, just get a handle to allow user to get information from the event. */ | |
| #define FMOD_EVENT_USERDSP 0x00000008 /* For EventGroup::get
Event / EventGroup::getEventByIndex. Tells FMOD that you plan to add your
own DSP effects to this event's ChannelGroup at runtime. Omitting this flag
will yield a small memory gain. */ | | #define FMOD_EVENT_USERDSP 0x00000008 /* For EventGroup::get
Event / EventGroup::getEventByIndex. Tells FMOD that you plan to add your
own DSP effects to this event's ChannelGroup at runtime. Omitting this flag
will yield a small memory gain. */ | |
| | | | |
| #define FMOD_EVENT_NONBLOCKING_THREAD0 (FMOD_EVENT_NONBLOCKING)
/* FMOD_EVENT_NONBLOCKING, execute on thread 0. See remarks. (default
) */ | | #define FMOD_EVENT_NONBLOCKING_THREAD0 (FMOD_EVENT_NONBLOCKING)
/* FMOD_EVENT_NONBLOCKING, execute on thread 0. See remarks. (default
) */ | |
| #define FMOD_EVENT_NONBLOCKING_THREAD1 (FMOD_EVENT_NONBLOCKING | 0x000100
00) /* FMOD_EVENT_NONBLOCKING, execute on thread 1. See remarks. */ | | #define FMOD_EVENT_NONBLOCKING_THREAD1 (FMOD_EVENT_NONBLOCKING | 0x000100
00) /* FMOD_EVENT_NONBLOCKING, execute on thread 1. See remarks. */ | |
| #define FMOD_EVENT_NONBLOCKING_THREAD2 (FMOD_EVENT_NONBLOCKING | 0x000200
00) /* FMOD_EVENT_NONBLOCKING, execute on thread 2. See remarks. */ | | #define FMOD_EVENT_NONBLOCKING_THREAD2 (FMOD_EVENT_NONBLOCKING | 0x000200
00) /* FMOD_EVENT_NONBLOCKING, execute on thread 2. See remarks. */ | |
| #define FMOD_EVENT_NONBLOCKING_THREAD3 (FMOD_EVENT_NONBLOCKING | 0x000400
00) /* FMOD_EVENT_NONBLOCKING, execute on thread 3. See remarks. */ | | #define FMOD_EVENT_NONBLOCKING_THREAD3 (FMOD_EVENT_NONBLOCKING | 0x000400
00) /* FMOD_EVENT_NONBLOCKING, execute on thread 3. See remarks. */ | |
| #define FMOD_EVENT_NONBLOCKING_THREAD4 (FMOD_EVENT_NONBLOCKING | 0x000800
00) /* FMOD_EVENT_NONBLOCKING, execute on thread 4. See remarks. */ | | #define FMOD_EVENT_NONBLOCKING_THREAD4 (FMOD_EVENT_NONBLOCKING | 0x000800
00) /* FMOD_EVENT_NONBLOCKING, execute on thread 4. See remarks. */ | |
|
| | | #define FMOD_EVENT_NONBLOCKING_THREAD_MAX 5 | |
| /* [DEFINE_END] */ | | /* [DEFINE_END] */ | |
| | | | |
| /* | | /* | |
| [DEFINE] | | [DEFINE] | |
| [ | | [ | |
| [NAME] | | [NAME] | |
| FMOD_EVENT_STATE | | FMOD_EVENT_STATE | |
| | | | |
| [DESCRIPTION] | | [DESCRIPTION] | |
| These values describe what state an event is in. | | These values describe what state an event is in. | |
| | | | |
| skipping to change at line 503 | | skipping to change at line 504 | |
| | | | |
| [SEE_ALSO] | | [SEE_ALSO] | |
| EventSystem::getInfo | | EventSystem::getInfo | |
| EventProject::getInfo | | EventProject::getInfo | |
| FMOD_EVENT_WAVEBANKINFO | | FMOD_EVENT_WAVEBANKINFO | |
| ] | | ] | |
| */ | | */ | |
| typedef struct FMOD_EVENT_SYSTEMINFO | | typedef struct FMOD_EVENT_SYSTEMINFO | |
| { | | { | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
|
| FMOD_EVENT_SYSTEMINFO() : numevents(0), numinstances(0), maxwavebanks(0
), wavebankinfo(0), numplayingevents(0), playingevents(0) {} | | FMOD_EVENT_SYSTEMINFO() : numevents(0), numinstances(0), maxwavebanks(0
), wavebankinfo(0), numplayingevents(0), playingevents(0) { numloadsqueued[
0] = numloadsqueued[1] = numloadsqueued[2] = numloadsqueued[3] = numloadsqu
eued[4] = 0; } | |
| #endif | | #endif | |
| | | | |
| int numevents; /* [out] Total number of e
vents in all event groups in this event system. */ | | int numevents; /* [out] Total number of e
vents in all event groups in this event system. */ | |
| int numinstances; /* [out] Total number of e
vent instances in all event groups in this event system. */ | | int numinstances; /* [out] Total number of e
vent instances in all event groups in this event system. */ | |
| int maxwavebanks; /* [in/out] Out, number of
wavebanks loaded by the EventSystem. In. Maximum size of array of waveban
kinfo structures supplied by user. Optional. */ | | int maxwavebanks; /* [in/out] Out, number of
wavebanks loaded by the EventSystem. In. Maximum size of array of waveban
kinfo structures supplied by user. Optional. */ | |
| FMOD_EVENT_WAVEBANKINFO *wavebankinfo; /* [in] Pointer to array F
MOD_EVENT_WAVEBANKINFO structures (max size defined by maxwavebanks). FMOD
will fill these in with detailed information on each wave bank. Optional.
*/ | | FMOD_EVENT_WAVEBANKINFO *wavebankinfo; /* [in] Pointer to array F
MOD_EVENT_WAVEBANKINFO structures (max size defined by maxwavebanks). FMOD
will fill these in with detailed information on each wave bank. Optional.
*/ | |
| int numplayingevents; /* [in/out] On entry, maxi
mum number of entries in playingevents array. On exit, actual number of ent
ries in playingevents array, or if playingevents is null, then it is just t
he number of currently playing events. Optional. */ | | int numplayingevents; /* [in/out] On entry, maxi
mum number of entries in playingevents array. On exit, actual number of ent
ries in playingevents array, or if playingevents is null, then it is just t
he number of currently playing events. Optional. */ | |
| FMOD_EVENT **playingevents; /* [in/out] Pointer to an
array that will be filled with the event handles of all playing events. Opt
ional. Specify 0 if not needed. Must be used in conjunction with numplaying
events. */ | | FMOD_EVENT **playingevents; /* [in/out] Pointer to an
array that will be filled with the event handles of all playing events. Opt
ional. Specify 0 if not needed. Must be used in conjunction with numplaying
events. */ | |
|
| int numloadsqueued[5]; /* [out] Current number of
sound banks queued for loading due to using FMOD_EVENT_NONBLOCKING flag.
Note there are 5 because there are 5 possible loading threads. Add all val
ues together for total. */ | | int numloadsqueued[FMOD_EVENT_NONBLOCKING_THREAD_M
AX]; /* [out] Current number of sound banks queued for loading due to usin
g FMOD_EVENT_NONBLOCKING flag. Note there are multple possible loading thr
eads depending on what the programmer specified with EventGroup::loadEventD
ata/getEvent/getEventByIndex. Add all queue values together for total. */ | |
| } FMOD_EVENT_SYSTEMINFO; | | } FMOD_EVENT_SYSTEMINFO; | |
| | | | |
| /* | | /* | |
| [STRUCTURE] | | [STRUCTURE] | |
| [ | | [ | |
| [DESCRIPTION] | | [DESCRIPTION] | |
| Structure containing realtime information about an event project. | | Structure containing realtime information about an event project. | |
| | | | |
| [REMARKS] | | [REMARKS] | |
| On entry, numplayingevents should be set to the number of elements in t
he playingevents array. If the actual | | On entry, numplayingevents should be set to the number of elements in t
he playingevents array. If the actual | |
| | | | |
End of changes. 4 change blocks. |
| 3 lines changed or deleted | | 4 lines changed or added | |
|