19 #define FMOD_VERSION 0x00044433
25 #if defined(__CYGWIN32__)
26 #define F_CDECL __cdecl
27 #define F_STDCALL __stdcall
28 #define F_DECLSPEC __declspec
29 #define F_DLLEXPORT ( dllexport )
30 #elif defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(_WIN64)
31 #define F_CDECL _cdecl
32 #define F_STDCALL _stdcall
33 #define F_DECLSPEC __declspec
34 #define F_DLLEXPORT ( dllexport )
35 #elif defined(__MACH__) || defined(__ANDROID__) || defined(__linux__) || defined(__QNX__)
39 #define F_DLLEXPORT __attribute__ ((visibility("default")))
48 #if defined(__MACH__) || defined(__ANDROID__) || defined(__linux__) || defined(__QNX__)
49 #define F_API __attribute__ ((visibility("default")))
51 #define F_API __declspec(dllexport) F_STDCALL
54 #define F_API F_STDCALL
57 #define F_CALLBACK F_STDCALL
63 typedef int FMOD_BOOL;
64 typedef struct FMOD_SYSTEM FMOD_SYSTEM;
65 typedef struct FMOD_SOUND FMOD_SOUND;
66 typedef struct FMOD_CHANNEL FMOD_CHANNEL;
67 typedef struct FMOD_CHANNELGROUP FMOD_CHANNELGROUP;
68 typedef struct FMOD_SOUNDGROUP FMOD_SOUNDGROUP;
69 typedef struct FMOD_REVERB FMOD_REVERB;
70 typedef struct FMOD_DSP FMOD_DSP;
71 typedef struct FMOD_DSPCONNECTION FMOD_DSPCONNECTION;
72 typedef struct FMOD_POLYGON FMOD_POLYGON;
73 typedef struct FMOD_GEOMETRY FMOD_GEOMETRY;
74 typedef struct FMOD_SYNCPOINT FMOD_SYNCPOINT;
75 typedef unsigned int FMOD_MODE;
76 typedef unsigned int FMOD_TIMEUNIT;
77 typedef unsigned int FMOD_INITFLAGS;
78 typedef unsigned int FMOD_CAPS;
79 typedef unsigned int FMOD_DEBUGLEVEL;
80 typedef unsigned int FMOD_MEMORY_TYPE;
100 FMOD_ERR_ALREADYLOCKED,
102 FMOD_ERR_CDDA_DRIVERS,
104 FMOD_ERR_CDDA_INVALID_DEVICE,
105 FMOD_ERR_CDDA_NOAUDIO,
106 FMOD_ERR_CDDA_NODEVICES,
107 FMOD_ERR_CDDA_NODISC,
109 FMOD_ERR_CHANNEL_ALLOC,
110 FMOD_ERR_CHANNEL_STOLEN,
113 FMOD_ERR_DSP_CONNECTION,
115 FMOD_ERR_DSP_NOTFOUND,
116 FMOD_ERR_DSP_RUNNING,
117 FMOD_ERR_DSP_TOOMANYCONNECTIONS,
119 FMOD_ERR_FILE_COULDNOTSEEK,
120 FMOD_ERR_FILE_DISKEJECTED,
122 FMOD_ERR_FILE_NOTFOUND,
123 FMOD_ERR_FILE_UNWANTED,
126 FMOD_ERR_HTTP_ACCESS,
127 FMOD_ERR_HTTP_PROXY_AUTH,
128 FMOD_ERR_HTTP_SERVER_ERROR,
129 FMOD_ERR_HTTP_TIMEOUT,
130 FMOD_ERR_INITIALIZATION,
131 FMOD_ERR_INITIALIZED,
133 FMOD_ERR_INVALID_ADDRESS,
134 FMOD_ERR_INVALID_FLOAT,
135 FMOD_ERR_INVALID_HANDLE,
136 FMOD_ERR_INVALID_PARAM,
137 FMOD_ERR_INVALID_POSITION,
138 FMOD_ERR_INVALID_SPEAKER,
139 FMOD_ERR_INVALID_SYNCPOINT,
140 FMOD_ERR_INVALID_VECTOR,
143 FMOD_ERR_MEMORY_CANTPOINT,
144 FMOD_ERR_MEMORY_SRAM,
147 FMOD_ERR_NEEDSHARDWARE,
148 FMOD_ERR_NEEDSSOFTWARE,
149 FMOD_ERR_NET_CONNECT,
150 FMOD_ERR_NET_SOCKET_ERROR,
152 FMOD_ERR_NET_WOULD_BLOCK,
154 FMOD_ERR_OUTPUT_ALLOCATED,
155 FMOD_ERR_OUTPUT_CREATEBUFFER,
156 FMOD_ERR_OUTPUT_DRIVERCALL,
157 FMOD_ERR_OUTPUT_ENUMERATION,
158 FMOD_ERR_OUTPUT_FORMAT,
159 FMOD_ERR_OUTPUT_INIT,
160 FMOD_ERR_OUTPUT_NOHARDWARE,
161 FMOD_ERR_OUTPUT_NOSOFTWARE,
164 FMOD_ERR_PLUGIN_INSTANCES,
165 FMOD_ERR_PLUGIN_MISSING,
166 FMOD_ERR_PLUGIN_RESOURCE,
168 FMOD_ERR_PROGRAMMERSOUND,
170 FMOD_ERR_REVERB_INSTANCE,
171 FMOD_ERR_SUBSOUND_ALLOCATED,
172 FMOD_ERR_SUBSOUND_CANTMOVE,
173 FMOD_ERR_SUBSOUND_MODE,
175 FMOD_ERR_TAGNOTFOUND,
176 FMOD_ERR_TOOMANYCHANNELS,
177 FMOD_ERR_UNIMPLEMENTED,
178 FMOD_ERR_UNINITIALIZED,
179 FMOD_ERR_UNSUPPORTED,
183 FMOD_ERR_EVENT_FAILED,
184 FMOD_ERR_EVENT_INFOONLY,
185 FMOD_ERR_EVENT_INTERNAL,
186 FMOD_ERR_EVENT_MAXSTREAMS,
187 FMOD_ERR_EVENT_MISMATCH,
188 FMOD_ERR_EVENT_NAMECONFLICT,
189 FMOD_ERR_EVENT_NOTFOUND,
190 FMOD_ERR_EVENT_NEEDSSIMPLE,
191 FMOD_ERR_EVENT_GUIDCONFLICT,
192 FMOD_ERR_EVENT_ALREADY_LOADED,
194 FMOD_ERR_MUSIC_UNINITIALIZED,
195 FMOD_ERR_MUSIC_NOTFOUND,
196 FMOD_ERR_MUSIC_NOCALLBACK,
198 FMOD_RESULT_FORCEINT = 65536
262 unsigned short Data2;
263 unsigned short Data3;
264 unsigned char Data4[8];
298 unsigned int sizebytes;
302 unsigned int bytesread;
349 FMOD_OUTPUTTYPE_AUTODETECT,
351 FMOD_OUTPUTTYPE_UNKNOWN,
352 FMOD_OUTPUTTYPE_NOSOUND,
353 FMOD_OUTPUTTYPE_WAVWRITER,
354 FMOD_OUTPUTTYPE_NOSOUND_NRT,
355 FMOD_OUTPUTTYPE_WAVWRITER_NRT,
357 FMOD_OUTPUTTYPE_DSOUND,
358 FMOD_OUTPUTTYPE_WINMM,
359 FMOD_OUTPUTTYPE_WASAPI,
360 FMOD_OUTPUTTYPE_ASIO,
362 FMOD_OUTPUTTYPE_ALSA,
364 FMOD_OUTPUTTYPE_PULSEAUDIO,
365 FMOD_OUTPUTTYPE_COREAUDIO,
366 FMOD_OUTPUTTYPE_XBOX360,
372 FMOD_OUTPUTTYPE_AUDIOTRACK,
373 FMOD_OUTPUTTYPE_OPENSL,
374 FMOD_OUTPUTTYPE_NACL,
375 FMOD_OUTPUTTYPE_WIIU,
376 FMOD_OUTPUTTYPE_ASOUND,
377 FMOD_OUTPUTTYPE_AUDIOOUT,
378 FMOD_OUTPUTTYPE_XAUDIO,
381 FMOD_OUTPUTTYPE_FORCEINT = 65536
405 #define FMOD_CAPS_NONE 0x00000000
406 #define FMOD_CAPS_HARDWARE 0x00000001
407 #define FMOD_CAPS_HARDWARE_EMULATED 0x00000002
408 #define FMOD_CAPS_OUTPUT_MULTICHANNEL 0x00000004
409 #define FMOD_CAPS_OUTPUT_FORMAT_PCM8 0x00000008
410 #define FMOD_CAPS_OUTPUT_FORMAT_PCM16 0x00000010
411 #define FMOD_CAPS_OUTPUT_FORMAT_PCM24 0x00000020
412 #define FMOD_CAPS_OUTPUT_FORMAT_PCM32 0x00000040
413 #define FMOD_CAPS_OUTPUT_FORMAT_PCMFLOAT 0x00000080
414 #define FMOD_CAPS_REVERB_LIMITED 0x00002000
415 #define FMOD_CAPS_LOOPBACK 0x00004000
437 #define FMOD_DEBUG_LEVEL_NONE 0x00000000
438 #define FMOD_DEBUG_LEVEL_LOG 0x00000001
439 #define FMOD_DEBUG_LEVEL_ERROR 0x00000002
440 #define FMOD_DEBUG_LEVEL_WARNING 0x00000004
441 #define FMOD_DEBUG_LEVEL_HINT 0x00000008
442 #define FMOD_DEBUG_LEVEL_ALL 0x000000FF
443 #define FMOD_DEBUG_TYPE_MEMORY 0x00000100
444 #define FMOD_DEBUG_TYPE_THREAD 0x00000200
445 #define FMOD_DEBUG_TYPE_FILE 0x00000400
446 #define FMOD_DEBUG_TYPE_NET 0x00000800
447 #define FMOD_DEBUG_TYPE_EVENT 0x00001000
448 #define FMOD_DEBUG_TYPE_ALL 0x0000FFFF
449 #define FMOD_DEBUG_DISPLAY_TIMESTAMPS 0x01000000
450 #define FMOD_DEBUG_DISPLAY_LINENUMBERS 0x02000000
451 #define FMOD_DEBUG_DISPLAY_COMPRESS 0x04000000
452 #define FMOD_DEBUG_DISPLAY_THREAD 0x08000000
453 #define FMOD_DEBUG_DISPLAY_ALL 0x0F000000
454 #define FMOD_DEBUG_ALL 0xFFFFFFFF
482 #define FMOD_MEMORY_NORMAL 0x00000000
483 #define FMOD_MEMORY_STREAM_FILE 0x00000001
484 #define FMOD_MEMORY_STREAM_DECODE 0x00000002
485 #define FMOD_MEMORY_SAMPLEDATA 0x00000004
486 #define FMOD_MEMORY_DSP_OUTPUTBUFFER 0x00000008
487 #define FMOD_MEMORY_XBOX360_PHYSICAL 0x00100000
488 #define FMOD_MEMORY_PERSISTENT 0x00200000
489 #define FMOD_MEMORY_SECONDARY 0x00400000
490 #define FMOD_MEMORY_ALL 0xFFFFFFFF
618 FMOD_SPEAKERMODE_RAW,
619 FMOD_SPEAKERMODE_MONO,
620 FMOD_SPEAKERMODE_STEREO,
621 FMOD_SPEAKERMODE_QUAD,
622 FMOD_SPEAKERMODE_SURROUND,
623 FMOD_SPEAKERMODE_5POINT1,
624 FMOD_SPEAKERMODE_7POINT1,
626 FMOD_SPEAKERMODE_SRS5_1_MATRIX,
627 FMOD_SPEAKERMODE_DOLBY5_1_MATRIX,
628 FMOD_SPEAKERMODE_MYEARS,
630 FMOD_SPEAKERMODE_MAX,
631 FMOD_SPEAKERMODE_FORCEINT = 65536
664 FMOD_SPEAKER_FRONT_LEFT,
665 FMOD_SPEAKER_FRONT_RIGHT,
666 FMOD_SPEAKER_FRONT_CENTER,
667 FMOD_SPEAKER_LOW_FREQUENCY,
668 FMOD_SPEAKER_BACK_LEFT,
669 FMOD_SPEAKER_BACK_RIGHT,
670 FMOD_SPEAKER_SIDE_LEFT,
671 FMOD_SPEAKER_SIDE_RIGHT,
674 FMOD_SPEAKER_MONO = FMOD_SPEAKER_FRONT_LEFT,
675 FMOD_SPEAKER_NULL = 65535,
676 FMOD_SPEAKER_SBL = FMOD_SPEAKER_SIDE_LEFT,
677 FMOD_SPEAKER_SBR = FMOD_SPEAKER_SIDE_RIGHT,
678 FMOD_SPEAKER_FORCEINT = 65536
702 FMOD_PLUGINTYPE_OUTPUT,
703 FMOD_PLUGINTYPE_CODEC,
707 FMOD_PLUGINTYPE_FORCEINT = 65536
733 #define FMOD_INIT_NORMAL 0x00000000
734 #define FMOD_INIT_STREAM_FROM_UPDATE 0x00000001
735 #define FMOD_INIT_3D_RIGHTHANDED 0x00000002
736 #define FMOD_INIT_SOFTWARE_DISABLE 0x00000004
737 #define FMOD_INIT_OCCLUSION_LOWPASS 0x00000008
738 #define FMOD_INIT_HRTF_LOWPASS 0x00000010
739 #define FMOD_INIT_DISTANCE_FILTERING 0x00000200
740 #define FMOD_INIT_REVERB_PREALLOCBUFFERS 0x00000040
741 #define FMOD_INIT_ENABLE_PROFILE 0x00000020
742 #define FMOD_INIT_VOL0_BECOMES_VIRTUAL 0x00000080
743 #define FMOD_INIT_WASAPI_EXCLUSIVE 0x00000100
744 #define FMOD_INIT_PS3_PREFERDTS 0x00800000
745 #define FMOD_INIT_PS3_FORCE2CHLPCM 0x01000000
746 #define FMOD_INIT_DISABLEDOLBY 0x00100000
747 #define FMOD_INIT_SYSTEM_MUSICMUTENOTPAUSE 0x00200000
748 #define FMOD_INIT_SYNCMIXERWITHUPDATE 0x00400000
749 #define FMOD_INIT_GEOMETRY_USECLOSEST 0x04000000
750 #define FMOD_INIT_DISABLE_MYEARS_AUTODETECT 0x08000000
751 #define FMOD_INIT_PS3_DISABLEDTS 0x10000000
752 #define FMOD_INIT_PS3_DISABLEDOLBYDIGITAL 0x20000000
753 #define FMOD_INIT_7POINT1_DOLBYMAPPING 0x40000000
774 FMOD_SOUND_TYPE_UNKNOWN,
775 FMOD_SOUND_TYPE_AIFF,
778 FMOD_SOUND_TYPE_CDDA,
780 FMOD_SOUND_TYPE_FLAC,
782 FMOD_SOUND_TYPE_GCADPCM,
784 FMOD_SOUND_TYPE_MIDI,
786 FMOD_SOUND_TYPE_MPEG,
787 FMOD_SOUND_TYPE_OGGVORBIS,
788 FMOD_SOUND_TYPE_PLAYLIST,
792 FMOD_SOUND_TYPE_USER,
797 FMOD_SOUND_TYPE_AUDIOQUEUE,
798 FMOD_SOUND_TYPE_XWMA,
799 FMOD_SOUND_TYPE_BCWAV,
801 FMOD_SOUND_TYPE_VORBIS,
802 FMOD_SOUND_TYPE_MEDIA_FOUNDATION,
805 FMOD_SOUND_TYPE_FORCEINT = 65536
828 FMOD_SOUND_FORMAT_NONE,
829 FMOD_SOUND_FORMAT_PCM8,
830 FMOD_SOUND_FORMAT_PCM16,
831 FMOD_SOUND_FORMAT_PCM24,
832 FMOD_SOUND_FORMAT_PCM32,
833 FMOD_SOUND_FORMAT_PCMFLOAT,
834 FMOD_SOUND_FORMAT_GCADPCM,
835 FMOD_SOUND_FORMAT_IMAADPCM,
836 FMOD_SOUND_FORMAT_VAG,
837 FMOD_SOUND_FORMAT_HEVAG,
838 FMOD_SOUND_FORMAT_XMA,
839 FMOD_SOUND_FORMAT_MPEG,
840 FMOD_SOUND_FORMAT_CELT,
841 FMOD_SOUND_FORMAT_AT9,
842 FMOD_SOUND_FORMAT_XWMA,
843 FMOD_SOUND_FORMAT_VORBIS,
845 FMOD_SOUND_FORMAT_MAX,
846 FMOD_SOUND_FORMAT_FORCEINT = 65536
893 #define FMOD_DEFAULT 0x00000000
894 #define FMOD_LOOP_OFF 0x00000001
895 #define FMOD_LOOP_NORMAL 0x00000002
896 #define FMOD_LOOP_BIDI 0x00000004
897 #define FMOD_2D 0x00000008
898 #define FMOD_3D 0x00000010
899 #define FMOD_HARDWARE 0x00000020
900 #define FMOD_SOFTWARE 0x00000040
901 #define FMOD_CREATESTREAM 0x00000080
902 #define FMOD_CREATESAMPLE 0x00000100
903 #define FMOD_CREATECOMPRESSEDSAMPLE 0x00000200
904 #define FMOD_OPENUSER 0x00000400
905 #define FMOD_OPENMEMORY 0x00000800
906 #define FMOD_OPENMEMORY_POINT 0x10000000
907 #define FMOD_OPENRAW 0x00001000
908 #define FMOD_OPENONLY 0x00002000
909 #define FMOD_ACCURATETIME 0x00004000
910 #define FMOD_MPEGSEARCH 0x00008000
911 #define FMOD_NONBLOCKING 0x00010000
912 #define FMOD_UNIQUE 0x00020000
913 #define FMOD_3D_HEADRELATIVE 0x00040000
914 #define FMOD_3D_WORLDRELATIVE 0x00080000
915 #define FMOD_3D_INVERSEROLLOFF 0x00100000
916 #define FMOD_3D_LINEARROLLOFF 0x00200000
917 #define FMOD_3D_LINEARSQUAREROLLOFF 0x00400000
918 #define FMOD_3D_CUSTOMROLLOFF 0x04000000
919 #define FMOD_3D_IGNOREGEOMETRY 0x40000000
920 #define FMOD_UNICODE 0x01000000
921 #define FMOD_IGNORETAGS 0x02000000
922 #define FMOD_LOWMEM 0x08000000
923 #define FMOD_LOADSECONDARYRAM 0x20000000
924 #define FMOD_VIRTUAL_PLAYFROMSTART 0x80000000
949 FMOD_OPENSTATE_READY = 0,
950 FMOD_OPENSTATE_LOADING,
951 FMOD_OPENSTATE_ERROR,
952 FMOD_OPENSTATE_CONNECTING,
953 FMOD_OPENSTATE_BUFFERING,
954 FMOD_OPENSTATE_SEEKING,
955 FMOD_OPENSTATE_PLAYING,
956 FMOD_OPENSTATE_SETPOSITION,
959 FMOD_OPENSTATE_FORCEINT = 65536
988 FMOD_SOUNDGROUP_BEHAVIOR_FAIL,
989 FMOD_SOUNDGROUP_BEHAVIOR_MUTE,
990 FMOD_SOUNDGROUP_BEHAVIOR_STEALLOWEST,
992 FMOD_SOUNDGROUP_BEHAVIOR_MAX,
993 FMOD_SOUNDGROUP_BEHAVIOR_FORCEINT = 65536
994 } FMOD_SOUNDGROUP_BEHAVIOR;
1020 FMOD_CHANNEL_CALLBACKTYPE_END,
1021 FMOD_CHANNEL_CALLBACKTYPE_VIRTUALVOICE,
1022 FMOD_CHANNEL_CALLBACKTYPE_SYNCPOINT,
1023 FMOD_CHANNEL_CALLBACKTYPE_OCCLUSION,
1025 FMOD_CHANNEL_CALLBACKTYPE_MAX,
1026 FMOD_CHANNEL_CALLBACKTYPE_FORCEINT = 65536
1027 } FMOD_CHANNEL_CALLBACKTYPE;
1056 FMOD_SYSTEM_CALLBACKTYPE_DEVICELISTCHANGED,
1057 FMOD_SYSTEM_CALLBACKTYPE_DEVICELOST,
1058 FMOD_SYSTEM_CALLBACKTYPE_MEMORYALLOCATIONFAILED,
1059 FMOD_SYSTEM_CALLBACKTYPE_THREADCREATED,
1060 FMOD_SYSTEM_CALLBACKTYPE_BADDSPCONNECTION,
1061 FMOD_SYSTEM_CALLBACKTYPE_BADDSPLEVEL,
1062 FMOD_SYSTEM_CALLBACKTYPE_THREADDESTROYED,
1064 FMOD_SYSTEM_CALLBACKTYPE_MAX,
1065 FMOD_SYSTEM_CALLBACKTYPE_FORCEINT = 65536
1066 } FMOD_SYSTEM_CALLBACKTYPE;
1072 typedef FMOD_RESULT (F_CALLBACK *FMOD_SYSTEM_CALLBACK) (FMOD_SYSTEM *system, FMOD_SYSTEM_CALLBACKTYPE type,
void *commanddata1,
void *commanddata2);
1074 typedef FMOD_RESULT (F_CALLBACK *FMOD_CHANNEL_CALLBACK) (FMOD_CHANNEL *channel, FMOD_CHANNEL_CALLBACKTYPE type,
void *commanddata1,
void *commanddata2);
1076 typedef FMOD_RESULT (F_CALLBACK *FMOD_SOUND_NONBLOCKCALLBACK)(FMOD_SOUND *sound, FMOD_RESULT result);
1077 typedef FMOD_RESULT (F_CALLBACK *FMOD_SOUND_PCMREADCALLBACK)(FMOD_SOUND *sound,
void *data,
unsigned int datalen);
1078 typedef FMOD_RESULT (F_CALLBACK *FMOD_SOUND_PCMSETPOSCALLBACK)(FMOD_SOUND *sound,
int subsound,
unsigned int position, FMOD_TIMEUNIT postype);
1080 typedef FMOD_RESULT (F_CALLBACK *FMOD_FILE_OPENCALLBACK) (
const char *name,
int unicode,
unsigned int *filesize,
void **handle,
void **userdata);
1081 typedef FMOD_RESULT (F_CALLBACK *FMOD_FILE_CLOSECALLBACK) (
void *handle,
void *userdata);
1082 typedef FMOD_RESULT (F_CALLBACK *FMOD_FILE_READCALLBACK) (
void *handle,
void *buffer,
unsigned int sizebytes,
unsigned int *bytesread,
void *userdata);
1083 typedef FMOD_RESULT (F_CALLBACK *FMOD_FILE_SEEKCALLBACK) (
void *handle,
unsigned int pos,
void *userdata);
1084 typedef FMOD_RESULT (F_CALLBACK *FMOD_FILE_ASYNCREADCALLBACK)(
FMOD_ASYNCREADINFO *info,
void *userdata);
1085 typedef FMOD_RESULT (F_CALLBACK *FMOD_FILE_ASYNCCANCELCALLBACK)(
void *handle,
void *userdata);
1087 typedef void * (F_CALLBACK *FMOD_MEMORY_ALLOCCALLBACK) (
unsigned int size, FMOD_MEMORY_TYPE type,
const char *sourcestr);
1088 typedef void * (F_CALLBACK *FMOD_MEMORY_REALLOCCALLBACK)(
void *ptr,
unsigned int size, FMOD_MEMORY_TYPE type,
const char *sourcestr);
1089 typedef void (F_CALLBACK *FMOD_MEMORY_FREECALLBACK) (
void *ptr, FMOD_MEMORY_TYPE type,
const char *sourcestr);
1091 typedef float (F_CALLBACK *FMOD_3D_ROLLOFFCALLBACK) (FMOD_CHANNEL *channel,
float distance);
1138 FMOD_DSP_FFT_WINDOW_RECT,
1139 FMOD_DSP_FFT_WINDOW_TRIANGLE,
1140 FMOD_DSP_FFT_WINDOW_HAMMING,
1141 FMOD_DSP_FFT_WINDOW_HANNING,
1142 FMOD_DSP_FFT_WINDOW_BLACKMAN,
1143 FMOD_DSP_FFT_WINDOW_BLACKMANHARRIS,
1145 FMOD_DSP_FFT_WINDOW_MAX,
1146 FMOD_DSP_FFT_WINDOW_FORCEINT = 65536
1147 } FMOD_DSP_FFT_WINDOW;
1170 FMOD_DSP_RESAMPLER_NOINTERP,
1171 FMOD_DSP_RESAMPLER_LINEAR,
1172 FMOD_DSP_RESAMPLER_CUBIC,
1173 FMOD_DSP_RESAMPLER_SPLINE,
1175 FMOD_DSP_RESAMPLER_MAX,
1176 FMOD_DSP_RESAMPLER_FORCEINT = 65536
1177 } FMOD_DSP_RESAMPLER;
1197 FMOD_TAGTYPE_UNKNOWN = 0,
1200 FMOD_TAGTYPE_VORBISCOMMENT,
1201 FMOD_TAGTYPE_SHOUTCAST,
1202 FMOD_TAGTYPE_ICECAST,
1205 FMOD_TAGTYPE_PLAYLIST,
1210 FMOD_TAGTYPE_FORCEINT = 65536
1231 FMOD_TAGDATATYPE_BINARY = 0,
1232 FMOD_TAGDATATYPE_INT,
1233 FMOD_TAGDATATYPE_FLOAT,
1234 FMOD_TAGDATATYPE_STRING,
1235 FMOD_TAGDATATYPE_STRING_UTF16,
1236 FMOD_TAGDATATYPE_STRING_UTF16BE,
1237 FMOD_TAGDATATYPE_STRING_UTF8,
1238 FMOD_TAGDATATYPE_CDTOC,
1240 FMOD_TAGDATATYPE_MAX,
1241 FMOD_TAGDATATYPE_FORCEINT = 65536
1272 FMOD_DELAYTYPE_END_MS,
1273 FMOD_DELAYTYPE_DSPCLOCK_START,
1274 FMOD_DELAYTYPE_DSPCLOCK_END,
1275 FMOD_DELAYTYPE_DSPCLOCK_PAUSE,
1278 FMOD_DELAYTYPE_FORCEINT = 65536
1282 #define FMOD_64BIT_ADD(_hi1, _lo1, _hi2, _lo2) _hi1 += ((_hi2) + ((((_lo1) + (_lo2)) < (_lo1)) ? 1 : 0)); (_lo1) += (_lo2);
1283 #define FMOD_64BIT_SUB(_hi1, _lo1, _hi2, _lo2) _hi1 -= ((_hi2) + ((((_lo1) - (_lo2)) > (_lo1)) ? 1 : 0)); (_lo1) -= (_lo2);
1308 FMOD_TAGDATATYPE datatype;
1311 unsigned int datalen;
1364 #define FMOD_TIMEUNIT_MS 0x00000001
1365 #define FMOD_TIMEUNIT_PCM 0x00000002
1366 #define FMOD_TIMEUNIT_PCMBYTES 0x00000004
1367 #define FMOD_TIMEUNIT_RAWBYTES 0x00000008
1368 #define FMOD_TIMEUNIT_PCMFRACTION 0x00000010
1369 #define FMOD_TIMEUNIT_MODORDER 0x00000100
1370 #define FMOD_TIMEUNIT_MODROW 0x00000200
1371 #define FMOD_TIMEUNIT_MODPATTERN 0x00000400
1372 #define FMOD_TIMEUNIT_SENTENCE_MS 0x00010000
1373 #define FMOD_TIMEUNIT_SENTENCE_PCM 0x00020000
1374 #define FMOD_TIMEUNIT_SENTENCE_PCMBYTES 0x00040000
1375 #define FMOD_TIMEUNIT_SENTENCE 0x00080000
1376 #define FMOD_TIMEUNIT_SENTENCE_SUBSOUND 0x00100000
1377 #define FMOD_TIMEUNIT_BUFFERED 0x10000000
1403 FMOD_SPEAKERMAPTYPE_DEFAULT,
1404 FMOD_SPEAKERMAPTYPE_ALLMONO,
1405 FMOD_SPEAKERMAPTYPE_ALLSTEREO,
1406 FMOD_SPEAKERMAPTYPE_51_PROTOOLS
1407 } FMOD_SPEAKERMAPTYPE;
1493 unsigned int length;
1494 unsigned int fileoffset;
1496 int defaultfrequency;
1497 FMOD_SOUND_FORMAT format;
1498 unsigned int decodebuffersize;
1499 int initialsubsound;
1502 int inclusionlistnum;
1503 FMOD_SOUND_PCMREADCALLBACK pcmreadcallback;
1504 FMOD_SOUND_PCMSETPOSCALLBACK pcmsetposcallback;
1505 FMOD_SOUND_NONBLOCKCALLBACK nonblockcallback;
1506 const char *dlsname;
1507 const char *encryptionkey;
1510 FMOD_SOUND_TYPE suggestedsoundtype;
1511 FMOD_FILE_OPENCALLBACK useropen;
1512 FMOD_FILE_CLOSECALLBACK userclose;
1513 FMOD_FILE_READCALLBACK userread;
1514 FMOD_FILE_SEEKCALLBACK userseek;
1515 FMOD_FILE_ASYNCREADCALLBACK userasyncread;
1516 FMOD_FILE_ASYNCCANCELCALLBACK userasynccancel;
1517 FMOD_SPEAKERMAPTYPE speakermap;
1518 FMOD_SOUNDGROUP *initialsoundgroup;
1519 unsigned int initialseekposition;
1520 FMOD_TIMEUNIT initialseekpostype;
1521 int ignoresetfilesystem;
1523 unsigned int audioqueuepolicy;
1524 unsigned int minmidigranularity;
1525 int nonblockthreadid;
1583 float ReflectionsDelay;
1586 float ModulationTime;
1587 float ModulationDepth;
1614 #define FMOD_REVERB_FLAGS_HIGHQUALITYREVERB 0x00000400
1615 #define FMOD_REVERB_FLAGS_HIGHQUALITYDPL2REVERB 0x00000800
1616 #define FMOD_REVERB_FLAGS_HARDWAREONLY 0x00001000
1617 #define FMOD_REVERB_FLAGS_DEFAULT 0x00000000
1643 #define FMOD_PRESET_OFF { 0, -1, 1.00f, -10000, -10000, 0, 1.00f, 1.00f, 1.0f, -2602, 0.007f, 200, 0.011f, 0.25f, 0.000f, 5000.0f, 250.0f, 0.0f, 0.0f, 0x33f }
1644 #define FMOD_PRESET_GENERIC { 0, 0, 1.00f, -1000, -100, 0, 1.49f, 0.83f, 1.0f, -2602, 0.007f, 200, 0.011f, 0.25f, 0.000f, 5000.0f, 250.0f, 100.0f, 100.0f, 0x3f }
1645 #define FMOD_PRESET_PADDEDCELL { 0, 1, 1.00f, -1000, -6000, 0, 0.17f, 0.10f, 1.0f, -1204, 0.001f, 207, 0.002f, 0.25f, 0.000f, 5000.0f, 250.0f, 100.0f, 100.0f, 0x3f }
1646 #define FMOD_PRESET_ROOM { 0, 2, 1.00f, -1000, -454, 0, 0.40f, 0.83f, 1.0f, -1646, 0.002f, 53, 0.003f, 0.25f, 0.000f, 5000.0f, 250.0f, 100.0f, 100.0f, 0x3f }
1647 #define FMOD_PRESET_BATHROOM { 0, 3, 1.00f, -1000, -1200, 0, 1.49f, 0.54f, 1.0f, -370, 0.007f, 1030, 0.011f, 0.25f, 0.000f, 5000.0f, 250.0f, 100.0f, 60.0f, 0x3f }
1648 #define FMOD_PRESET_LIVINGROOM { 0, 4, 1.00f, -1000, -6000, 0, 0.50f, 0.10f, 1.0f, -1376, 0.003f, -1104, 0.004f, 0.25f, 0.000f, 5000.0f, 250.0f, 100.0f, 100.0f, 0x3f }
1649 #define FMOD_PRESET_STONEROOM { 0, 5, 1.00f, -1000, -300, 0, 2.31f, 0.64f, 1.0f, -711, 0.012f, 83, 0.017f, 0.25f, 0.000f, 5000.0f, 250.0f, 100.0f, 100.0f, 0x3f }
1650 #define FMOD_PRESET_AUDITORIUM { 0, 6, 1.00f, -1000, -476, 0, 4.32f, 0.59f, 1.0f, -789, 0.020f, -289, 0.030f, 0.25f, 0.000f, 5000.0f, 250.0f, 100.0f, 100.0f, 0x3f }
1651 #define FMOD_PRESET_CONCERTHALL { 0, 7, 1.00f, -1000, -500, 0, 3.92f, 0.70f, 1.0f, -1230, 0.020f, -2, 0.029f, 0.25f, 0.000f, 5000.0f, 250.0f, 100.0f, 100.0f, 0x3f }
1652 #define FMOD_PRESET_CAVE { 0, 8, 1.00f, -1000, 0, 0, 2.91f, 1.30f, 1.0f, -602, 0.015f, -302, 0.022f, 0.25f, 0.000f, 5000.0f, 250.0f, 100.0f, 100.0f, 0x1f }
1653 #define FMOD_PRESET_ARENA { 0, 9, 1.00f, -1000, -698, 0, 7.24f, 0.33f, 1.0f, -1166, 0.020f, 16, 0.030f, 0.25f, 0.000f, 5000.0f, 250.0f, 100.0f, 100.0f, 0x3f }
1654 #define FMOD_PRESET_HANGAR { 0, 10, 1.00f, -1000, -1000, 0, 10.05f, 0.23f, 1.0f, -602, 0.020f, 198, 0.030f, 0.25f, 0.000f, 5000.0f, 250.0f, 100.0f, 100.0f, 0x3f }
1655 #define FMOD_PRESET_CARPETTEDHALLWAY { 0, 11, 1.00f, -1000, -4000, 0, 0.30f, 0.10f, 1.0f, -1831, 0.002f, -1630, 0.030f, 0.25f, 0.000f, 5000.0f, 250.0f, 100.0f, 100.0f, 0x3f }
1656 #define FMOD_PRESET_HALLWAY { 0, 12, 1.00f, -1000, -300, 0, 1.49f, 0.59f, 1.0f, -1219, 0.007f, 441, 0.011f, 0.25f, 0.000f, 5000.0f, 250.0f, 100.0f, 100.0f, 0x3f }
1657 #define FMOD_PRESET_STONECORRIDOR { 0, 13, 1.00f, -1000, -237, 0, 2.70f, 0.79f, 1.0f, -1214, 0.013f, 395, 0.020f, 0.25f, 0.000f, 5000.0f, 250.0f, 100.0f, 100.0f, 0x3f }
1658 #define FMOD_PRESET_ALLEY { 0, 14, 0.30f, -1000, -270, 0, 1.49f, 0.86f, 1.0f, -1204, 0.007f, -4, 0.011f, 0.25f, 0.000f, 5000.0f, 250.0f, 100.0f, 100.0f, 0x3f }
1659 #define FMOD_PRESET_FOREST { 0, 15, 0.30f, -1000, -3300, 0, 1.49f, 0.54f, 1.0f, -2560, 0.162f, -229, 0.088f, 0.25f, 0.000f, 5000.0f, 250.0f, 79.0f, 100.0f, 0x3f }
1660 #define FMOD_PRESET_CITY { 0, 16, 0.50f, -1000, -800, 0, 1.49f, 0.67f, 1.0f, -2273, 0.007f, -1691, 0.011f, 0.25f, 0.000f, 5000.0f, 250.0f, 50.0f, 100.0f, 0x3f }
1661 #define FMOD_PRESET_MOUNTAINS { 0, 17, 0.27f, -1000, -2500, 0, 1.49f, 0.21f, 1.0f, -2780, 0.300f, -1434, 0.100f, 0.25f, 0.000f, 5000.0f, 250.0f, 27.0f, 100.0f, 0x1f }
1662 #define FMOD_PRESET_QUARRY { 0, 18, 1.00f, -1000, -1000, 0, 1.49f, 0.83f, 1.0f, -10000, 0.061f, 500, 0.025f, 0.25f, 0.000f, 5000.0f, 250.0f, 100.0f, 100.0f, 0x3f }
1663 #define FMOD_PRESET_PLAIN { 0, 19, 0.21f, -1000, -2000, 0, 1.49f, 0.50f, 1.0f, -2466, 0.179f, -1926, 0.100f, 0.25f, 0.000f, 5000.0f, 250.0f, 21.0f, 100.0f, 0x3f }
1664 #define FMOD_PRESET_PARKINGLOT { 0, 20, 1.00f, -1000, 0, 0, 1.65f, 1.50f, 1.0f, -1363, 0.008f, -1153, 0.012f, 0.25f, 0.000f, 5000.0f, 250.0f, 100.0f, 100.0f, 0x1f }
1665 #define FMOD_PRESET_SEWERPIPE { 0, 21, 0.80f, -1000, -1000, 0, 2.81f, 0.14f, 1.0f, 429, 0.014f, 1023, 0.021f, 0.25f, 0.000f, 5000.0f, 250.0f, 80.0f, 60.0f, 0x3f }
1666 #define FMOD_PRESET_UNDERWATER { 0, 22, 1.00f, -1000, -4000, 0, 1.49f, 0.10f, 1.0f, -449, 0.007f, 1700, 0.011f, 1.18f, 0.348f, 5000.0f, 250.0f, 100.0f, 100.0f, 0x3f }
1669 #define FMOD_PRESET_PSP_ROOM { 0, 1, 0, 0, 0, 0, 0.0f, 0.0f, 0.0f, 0, 0.000f, 0, 0.000f, 0.00f, 0.000f, 0000.0f, 0.0f, 0.0f, 0.0f, 0x31f }
1670 #define FMOD_PRESET_PSP_STUDIO_A { 0, 2, 0, 0, 0, 0, 0.0f, 0.0f, 0.0f, 0, 0.000f, 0, 0.000f, 0.00f, 0.000f, 0000.0f, 0.0f, 0.0f, 0.0f, 0x31f }
1671 #define FMOD_PRESET_PSP_STUDIO_B { 0, 3, 0, 0, 0, 0, 0.0f, 0.0f, 0.0f, 0, 0.000f, 0, 0.000f, 0.00f, 0.000f, 0000.0f, 0.0f, 0.0f, 0.0f, 0x31f }
1672 #define FMOD_PRESET_PSP_STUDIO_C { 0, 4, 0, 0, 0, 0, 0.0f, 0.0f, 0.0f, 0, 0.000f, 0, 0.000f, 0.00f, 0.000f, 0000.0f, 0.0f, 0.0f, 0.0f, 0x31f }
1673 #define FMOD_PRESET_PSP_HALL { 0, 5, 0, 0, 0, 0, 0.0f, 0.0f, 0.0f, 0, 0.000f, 0, 0.000f, 0.00f, 0.000f, 0000.0f, 0.0f, 0.0f, 0.0f, 0x31f }
1674 #define FMOD_PRESET_PSP_SPACE { 0, 6, 0, 0, 0, 0, 0.0f, 0.0f, 0.0f, 0, 0.000f, 0, 0.000f, 0.00f, 0.000f, 0000.0f, 0.0f, 0.0f, 0.0f, 0x31f }
1675 #define FMOD_PRESET_PSP_ECHO { 0, 7, 0, 0, 0, 0, 0.0f, 0.0f, 0.0f, 0, 0.000f, 0, 0.000f, 0.00f, 0.000f, 0000.0f, 0.0f, 0.0f, 0.0f, 0x31f }
1676 #define FMOD_PRESET_PSP_DELAY { 0, 8, 0, 0, 0, 0, 0.0f, 0.0f, 0.0f, 0, 0.000f, 0, 0.000f, 0.00f, 0.000f, 0000.0f, 0.0f, 0.0f, 0.0f, 0x31f }
1677 #define FMOD_PRESET_PSP_PIPE { 0, 9, 0, 0, 0, 0, 0.0f, 0.0f, 0.0f, 0, 0.000f, 0, 0.000f, 0.00f, 0.000f, 0000.0f, 0.0f, 0.0f, 0.0f, 0x31f }
1725 FMOD_DSP *ConnectionPoint;
1753 #define FMOD_REVERB_CHANNELFLAGS_INSTANCE0 0x00000010
1754 #define FMOD_REVERB_CHANNELFLAGS_INSTANCE1 0x00000020
1755 #define FMOD_REVERB_CHANNELFLAGS_INSTANCE2 0x00000040
1756 #define FMOD_REVERB_CHANNELFLAGS_INSTANCE3 0x00000080
1758 #define FMOD_REVERB_CHANNELFLAGS_DEFAULT FMOD_REVERB_CHANNELFLAGS_INSTANCE0
1799 int maxVORBIScodecs;
1802 int ASIONumChannels;
1803 char **ASIOChannelList;
1804 FMOD_SPEAKER *ASIOSpeakerList;
1805 int max3DReverbDSPs;
1809 float vol0virtualvol;
1811 unsigned int defaultDecodeBufferSize;
1812 char *debugLogFilename;
1813 unsigned short profileport;
1814 unsigned int geometryMaxFadeTime;
1815 unsigned int maxSpectrumWaveDataBuffers;
1816 unsigned int musicSystemCacheDelay;
1817 float distanceFilterCenterFreq;
1818 unsigned int stackSizeStream;
1819 unsigned int stackSizeNonBlocking;
1820 unsigned int stackSizeMixer;
1845 FMOD_CHANNEL_FREE = -1,
1846 FMOD_CHANNEL_REUSE = -2
1847 } FMOD_CHANNELINDEX;
1849 #include "fmod_codec.h"
1850 #include "fmod_dsp.h"
1851 #include "fmod_memoryinfo.h"
1866 FMOD_RESULT F_API FMOD_Memory_Initialize (
void *poolmem,
int poollen, FMOD_MEMORY_ALLOCCALLBACK useralloc, FMOD_MEMORY_REALLOCCALLBACK userrealloc, FMOD_MEMORY_FREECALLBACK userfree, FMOD_MEMORY_TYPE memtypeflags);
1867 FMOD_RESULT F_API FMOD_Memory_GetStats (
int *currentalloced,
int *maxalloced, FMOD_BOOL blocking);
1868 FMOD_RESULT F_API FMOD_Debug_SetLevel (FMOD_DEBUGLEVEL level);
1869 FMOD_RESULT F_API FMOD_Debug_GetLevel (FMOD_DEBUGLEVEL *level);
1870 FMOD_RESULT F_API FMOD_File_SetDiskBusy (
int busy);
1871 FMOD_RESULT F_API FMOD_File_GetDiskBusy (
int *busy);
1877 FMOD_RESULT F_API FMOD_System_Create (FMOD_SYSTEM **system);
1878 FMOD_RESULT F_API FMOD_System_Release (FMOD_SYSTEM *system);
1890 FMOD_RESULT F_API FMOD_System_SetOutput (FMOD_SYSTEM *system, FMOD_OUTPUTTYPE output);
1891 FMOD_RESULT F_API FMOD_System_GetOutput (FMOD_SYSTEM *system, FMOD_OUTPUTTYPE *output);
1892 FMOD_RESULT F_API FMOD_System_GetNumDrivers (FMOD_SYSTEM *system,
int *numdrivers);
1893 FMOD_RESULT F_API FMOD_System_GetDriverInfo (FMOD_SYSTEM *system,
int id,
char *name,
int namelen,
FMOD_GUID *guid);
1894 FMOD_RESULT F_API FMOD_System_GetDriverInfoW (FMOD_SYSTEM *system,
int id,
short *name,
int namelen,
FMOD_GUID *guid);
1895 FMOD_RESULT F_API FMOD_System_GetDriverCaps (FMOD_SYSTEM *system,
int id, FMOD_CAPS *caps,
int *controlpaneloutputrate, FMOD_SPEAKERMODE *controlpanelspeakermode);
1896 FMOD_RESULT F_API FMOD_System_SetDriver (FMOD_SYSTEM *system,
int driver);
1897 FMOD_RESULT F_API FMOD_System_GetDriver (FMOD_SYSTEM *system,
int *driver);
1898 FMOD_RESULT F_API FMOD_System_SetHardwareChannels (FMOD_SYSTEM *system,
int numhardwarechannels);
1899 FMOD_RESULT F_API FMOD_System_SetSoftwareChannels (FMOD_SYSTEM *system,
int numsoftwarechannels);
1900 FMOD_RESULT F_API FMOD_System_GetSoftwareChannels (FMOD_SYSTEM *system,
int *numsoftwarechannels);
1901 FMOD_RESULT F_API FMOD_System_SetSoftwareFormat (FMOD_SYSTEM *system,
int samplerate, FMOD_SOUND_FORMAT format,
int numoutputchannels,
int maxinputchannels, FMOD_DSP_RESAMPLER resamplemethod);
1902 FMOD_RESULT F_API FMOD_System_GetSoftwareFormat (FMOD_SYSTEM *system,
int *samplerate, FMOD_SOUND_FORMAT *format,
int *numoutputchannels,
int *maxinputchannels, FMOD_DSP_RESAMPLER *resamplemethod,
int *bits);
1903 FMOD_RESULT F_API FMOD_System_SetDSPBufferSize (FMOD_SYSTEM *system,
unsigned int bufferlength,
int numbuffers);
1904 FMOD_RESULT F_API FMOD_System_GetDSPBufferSize (FMOD_SYSTEM *system,
unsigned int *bufferlength,
int *numbuffers);
1905 FMOD_RESULT F_API FMOD_System_SetFileSystem (FMOD_SYSTEM *system, FMOD_FILE_OPENCALLBACK useropen, FMOD_FILE_CLOSECALLBACK userclose, FMOD_FILE_READCALLBACK userread, FMOD_FILE_SEEKCALLBACK userseek, FMOD_FILE_ASYNCREADCALLBACK userasyncread, FMOD_FILE_ASYNCCANCELCALLBACK userasynccancel,
int blockalign);
1906 FMOD_RESULT F_API FMOD_System_AttachFileSystem (FMOD_SYSTEM *system, FMOD_FILE_OPENCALLBACK useropen, FMOD_FILE_CLOSECALLBACK userclose, FMOD_FILE_READCALLBACK userread, FMOD_FILE_SEEKCALLBACK userseek);
1907 FMOD_RESULT F_API FMOD_System_SetAdvancedSettings (FMOD_SYSTEM *system,
FMOD_ADVANCEDSETTINGS *settings);
1908 FMOD_RESULT F_API FMOD_System_GetAdvancedSettings (FMOD_SYSTEM *system,
FMOD_ADVANCEDSETTINGS *settings);
1909 FMOD_RESULT F_API FMOD_System_SetSpeakerMode (FMOD_SYSTEM *system, FMOD_SPEAKERMODE speakermode);
1910 FMOD_RESULT F_API FMOD_System_GetSpeakerMode (FMOD_SYSTEM *system, FMOD_SPEAKERMODE *speakermode);
1911 FMOD_RESULT F_API FMOD_System_SetCallback (FMOD_SYSTEM *system, FMOD_SYSTEM_CALLBACK callback);
1917 FMOD_RESULT F_API FMOD_System_SetPluginPath (FMOD_SYSTEM *system,
const char *path);
1918 FMOD_RESULT F_API FMOD_System_LoadPlugin (FMOD_SYSTEM *system,
const char *filename,
unsigned int *handle,
unsigned int priority);
1919 FMOD_RESULT F_API FMOD_System_UnloadPlugin (FMOD_SYSTEM *system,
unsigned int handle);
1920 FMOD_RESULT F_API FMOD_System_GetNumPlugins (FMOD_SYSTEM *system, FMOD_PLUGINTYPE plugintype,
int *numplugins);
1921 FMOD_RESULT F_API FMOD_System_GetPluginHandle (FMOD_SYSTEM *system, FMOD_PLUGINTYPE plugintype,
int index,
unsigned int *handle);
1922 FMOD_RESULT F_API FMOD_System_GetPluginInfo (FMOD_SYSTEM *system,
unsigned int handle, FMOD_PLUGINTYPE *plugintype,
char *name,
int namelen,
unsigned int *version);
1923 FMOD_RESULT F_API FMOD_System_SetOutputByPlugin (FMOD_SYSTEM *system,
unsigned int handle);
1924 FMOD_RESULT F_API FMOD_System_GetOutputByPlugin (FMOD_SYSTEM *system,
unsigned int *handle);
1925 FMOD_RESULT F_API FMOD_System_CreateDSPByPlugin (FMOD_SYSTEM *system,
unsigned int handle, FMOD_DSP **dsp);
1926 FMOD_RESULT F_API FMOD_System_RegisterCodec (FMOD_SYSTEM *system,
FMOD_CODEC_DESCRIPTION *description,
unsigned int *handle,
unsigned int priority);
1927 FMOD_RESULT F_API FMOD_System_RegisterDSP (FMOD_SYSTEM *system,
FMOD_DSP_DESCRIPTION *description,
unsigned int *handle);
1933 FMOD_RESULT F_API FMOD_System_Init (FMOD_SYSTEM *system,
int maxchannels, FMOD_INITFLAGS flags,
void *extradriverdata);
1934 FMOD_RESULT F_API FMOD_System_Close (FMOD_SYSTEM *system);
1940 FMOD_RESULT F_API FMOD_System_Update (FMOD_SYSTEM *system);
1942 FMOD_RESULT F_API FMOD_System_Set3DSettings (FMOD_SYSTEM *system,
float dopplerscale,
float distancefactor,
float rolloffscale);
1943 FMOD_RESULT F_API FMOD_System_Get3DSettings (FMOD_SYSTEM *system,
float *dopplerscale,
float *distancefactor,
float *rolloffscale);
1944 FMOD_RESULT F_API FMOD_System_Set3DNumListeners (FMOD_SYSTEM *system,
int numlisteners);
1945 FMOD_RESULT F_API FMOD_System_Get3DNumListeners (FMOD_SYSTEM *system,
int *numlisteners);
1948 FMOD_RESULT F_API FMOD_System_Set3DRolloffCallback (FMOD_SYSTEM *system, FMOD_3D_ROLLOFFCALLBACK callback);
1949 FMOD_RESULT F_API FMOD_System_Set3DSpeakerPosition (FMOD_SYSTEM *system, FMOD_SPEAKER speaker,
float x,
float y, FMOD_BOOL active);
1950 FMOD_RESULT F_API FMOD_System_Get3DSpeakerPosition (FMOD_SYSTEM *system, FMOD_SPEAKER speaker,
float *x,
float *y, FMOD_BOOL *active);
1952 FMOD_RESULT F_API FMOD_System_SetStreamBufferSize (FMOD_SYSTEM *system,
unsigned int filebuffersize, FMOD_TIMEUNIT filebuffersizetype);
1953 FMOD_RESULT F_API FMOD_System_GetStreamBufferSize (FMOD_SYSTEM *system,
unsigned int *filebuffersize, FMOD_TIMEUNIT *filebuffersizetype);
1959 FMOD_RESULT F_API FMOD_System_GetVersion (FMOD_SYSTEM *system,
unsigned int *version);
1960 FMOD_RESULT F_API FMOD_System_GetOutputHandle (FMOD_SYSTEM *system,
void **handle);
1961 FMOD_RESULT F_API FMOD_System_GetChannelsPlaying (FMOD_SYSTEM *system,
int *channels);
1962 FMOD_RESULT F_API FMOD_System_GetHardwareChannels (FMOD_SYSTEM *system,
int *numhardwarechannels);
1963 FMOD_RESULT F_API FMOD_System_GetCPUUsage (FMOD_SYSTEM *system,
float *dsp,
float *stream,
float *geometry,
float *update,
float *total);
1964 FMOD_RESULT F_API FMOD_System_GetSoundRAM (FMOD_SYSTEM *system,
int *currentalloced,
int *maxalloced,
int *total);
1965 FMOD_RESULT F_API FMOD_System_GetNumCDROMDrives (FMOD_SYSTEM *system,
int *numdrives);
1966 FMOD_RESULT F_API FMOD_System_GetCDROMDriveName (FMOD_SYSTEM *system,
int drive,
char *drivename,
int drivenamelen,
char *scsiname,
int scsinamelen,
char *devicename,
int devicenamelen);
1967 FMOD_RESULT F_API FMOD_System_GetSpectrum (FMOD_SYSTEM *system,
float *spectrumarray,
int numvalues,
int channeloffset, FMOD_DSP_FFT_WINDOW windowtype);
1968 FMOD_RESULT F_API FMOD_System_GetWaveData (FMOD_SYSTEM *system,
float *wavearray,
int numvalues,
int channeloffset);
1974 FMOD_RESULT F_API FMOD_System_CreateSound (FMOD_SYSTEM *system,
const char *name_or_data, FMOD_MODE mode,
FMOD_CREATESOUNDEXINFO *exinfo, FMOD_SOUND **sound);
1975 FMOD_RESULT F_API FMOD_System_CreateStream (FMOD_SYSTEM *system,
const char *name_or_data, FMOD_MODE mode,
FMOD_CREATESOUNDEXINFO *exinfo, FMOD_SOUND **sound);
1976 FMOD_RESULT F_API FMOD_System_CreateDSP (FMOD_SYSTEM *system,
FMOD_DSP_DESCRIPTION *description, FMOD_DSP **dsp);
1977 FMOD_RESULT F_API FMOD_System_CreateDSPByType (FMOD_SYSTEM *system, FMOD_DSP_TYPE type, FMOD_DSP **dsp);
1978 FMOD_RESULT F_API FMOD_System_CreateChannelGroup (FMOD_SYSTEM *system,
const char *name, FMOD_CHANNELGROUP **channelgroup);
1979 FMOD_RESULT F_API FMOD_System_CreateSoundGroup (FMOD_SYSTEM *system,
const char *name, FMOD_SOUNDGROUP **soundgroup);
1980 FMOD_RESULT F_API FMOD_System_CreateReverb (FMOD_SYSTEM *system, FMOD_REVERB **reverb);
1982 FMOD_RESULT F_API FMOD_System_PlaySound (FMOD_SYSTEM *system, FMOD_CHANNELINDEX channelid, FMOD_SOUND *sound, FMOD_BOOL paused, FMOD_CHANNEL **channel);
1983 FMOD_RESULT F_API FMOD_System_PlayDSP (FMOD_SYSTEM *system, FMOD_CHANNELINDEX channelid, FMOD_DSP *dsp, FMOD_BOOL paused, FMOD_CHANNEL **channel);
1984 FMOD_RESULT F_API FMOD_System_GetChannel (FMOD_SYSTEM *system,
int channelid, FMOD_CHANNEL **channel);
1985 FMOD_RESULT F_API FMOD_System_GetMasterChannelGroup (FMOD_SYSTEM *system, FMOD_CHANNELGROUP **channelgroup);
1986 FMOD_RESULT F_API FMOD_System_GetMasterSoundGroup (FMOD_SYSTEM *system, FMOD_SOUNDGROUP **soundgroup);
1992 FMOD_RESULT F_API FMOD_System_SetReverbProperties (FMOD_SYSTEM *system,
const FMOD_REVERB_PROPERTIES *prop);
1994 FMOD_RESULT F_API FMOD_System_SetReverbAmbientProperties(FMOD_SYSTEM *system,
FMOD_REVERB_PROPERTIES *prop);
1995 FMOD_RESULT F_API FMOD_System_GetReverbAmbientProperties(FMOD_SYSTEM *system,
FMOD_REVERB_PROPERTIES *prop);
2001 FMOD_RESULT F_API FMOD_System_GetDSPHead (FMOD_SYSTEM *system, FMOD_DSP **dsp);
2002 FMOD_RESULT F_API FMOD_System_AddDSP (FMOD_SYSTEM *system, FMOD_DSP *dsp, FMOD_DSPCONNECTION **connection);
2003 FMOD_RESULT F_API FMOD_System_LockDSP (FMOD_SYSTEM *system);
2004 FMOD_RESULT F_API FMOD_System_UnlockDSP (FMOD_SYSTEM *system);
2005 FMOD_RESULT F_API FMOD_System_GetDSPClock (FMOD_SYSTEM *system,
unsigned int *hi,
unsigned int *lo);
2011 FMOD_RESULT F_API FMOD_System_GetRecordNumDrivers (FMOD_SYSTEM *system,
int *numdrivers);
2012 FMOD_RESULT F_API FMOD_System_GetRecordDriverInfo (FMOD_SYSTEM *system,
int id,
char *name,
int namelen,
FMOD_GUID *guid);
2013 FMOD_RESULT F_API FMOD_System_GetRecordDriverInfoW (FMOD_SYSTEM *system,
int id,
short *name,
int namelen,
FMOD_GUID *guid);
2014 FMOD_RESULT F_API FMOD_System_GetRecordDriverCaps (FMOD_SYSTEM *system,
int id, FMOD_CAPS *caps,
int *minfrequency,
int *maxfrequency);
2015 FMOD_RESULT F_API FMOD_System_GetRecordPosition (FMOD_SYSTEM *system,
int id,
unsigned int *position);
2017 FMOD_RESULT F_API FMOD_System_RecordStart (FMOD_SYSTEM *system,
int id, FMOD_SOUND *sound, FMOD_BOOL loop);
2018 FMOD_RESULT F_API FMOD_System_RecordStop (FMOD_SYSTEM *system,
int id);
2019 FMOD_RESULT F_API FMOD_System_IsRecording (FMOD_SYSTEM *system,
int id, FMOD_BOOL *recording);
2025 FMOD_RESULT F_API FMOD_System_CreateGeometry (FMOD_SYSTEM *system,
int maxpolygons,
int maxvertices, FMOD_GEOMETRY **geometry);
2026 FMOD_RESULT F_API FMOD_System_SetGeometrySettings (FMOD_SYSTEM *system,
float maxworldsize);
2027 FMOD_RESULT F_API FMOD_System_GetGeometrySettings (FMOD_SYSTEM *system,
float *maxworldsize);
2028 FMOD_RESULT F_API FMOD_System_LoadGeometry (FMOD_SYSTEM *system,
const void *data,
int datasize, FMOD_GEOMETRY **geometry);
2029 FMOD_RESULT F_API FMOD_System_GetGeometryOcclusion (FMOD_SYSTEM *system,
const FMOD_VECTOR *listener,
const FMOD_VECTOR *source,
float *direct,
float *reverb);
2035 FMOD_RESULT F_API FMOD_System_SetNetworkProxy (FMOD_SYSTEM *system,
const char *proxy);
2036 FMOD_RESULT F_API FMOD_System_GetNetworkProxy (FMOD_SYSTEM *system,
char *proxy,
int proxylen);
2037 FMOD_RESULT F_API FMOD_System_SetNetworkTimeout (FMOD_SYSTEM *system,
int timeout);
2038 FMOD_RESULT F_API FMOD_System_GetNetworkTimeout (FMOD_SYSTEM *system,
int *timeout);
2044 FMOD_RESULT F_API FMOD_System_SetUserData (FMOD_SYSTEM *system,
void *userdata);
2045 FMOD_RESULT F_API FMOD_System_GetUserData (FMOD_SYSTEM *system,
void **userdata);
2047 FMOD_RESULT F_API FMOD_System_GetMemoryInfo (FMOD_SYSTEM *system,
unsigned int memorybits,
unsigned int event_memorybits,
unsigned int *memoryused,
FMOD_MEMORY_USAGE_DETAILS *memoryused_details);
2053 FMOD_RESULT F_API FMOD_Sound_Release (FMOD_SOUND *sound);
2054 FMOD_RESULT F_API FMOD_Sound_GetSystemObject (FMOD_SOUND *sound, FMOD_SYSTEM **system);
2060 FMOD_RESULT F_API FMOD_Sound_Lock (FMOD_SOUND *sound,
unsigned int offset,
unsigned int length,
void **ptr1,
void **ptr2,
unsigned int *len1,
unsigned int *len2);
2061 FMOD_RESULT F_API FMOD_Sound_Unlock (FMOD_SOUND *sound,
void *ptr1,
void *ptr2,
unsigned int len1,
unsigned int len2);
2062 FMOD_RESULT F_API FMOD_Sound_SetDefaults (FMOD_SOUND *sound,
float frequency,
float volume,
float pan,
int priority);
2063 FMOD_RESULT F_API FMOD_Sound_GetDefaults (FMOD_SOUND *sound,
float *frequency,
float *volume,
float *pan,
int *priority);
2064 FMOD_RESULT F_API FMOD_Sound_SetVariations (FMOD_SOUND *sound,
float frequencyvar,
float volumevar,
float panvar);
2065 FMOD_RESULT F_API FMOD_Sound_GetVariations (FMOD_SOUND *sound,
float *frequencyvar,
float *volumevar,
float *panvar);
2066 FMOD_RESULT F_API FMOD_Sound_Set3DMinMaxDistance (FMOD_SOUND *sound,
float min,
float max);
2067 FMOD_RESULT F_API FMOD_Sound_Get3DMinMaxDistance (FMOD_SOUND *sound,
float *min,
float *max);
2068 FMOD_RESULT F_API FMOD_Sound_Set3DConeSettings (FMOD_SOUND *sound,
float insideconeangle,
float outsideconeangle,
float outsidevolume);
2069 FMOD_RESULT F_API FMOD_Sound_Get3DConeSettings (FMOD_SOUND *sound,
float *insideconeangle,
float *outsideconeangle,
float *outsidevolume);
2070 FMOD_RESULT F_API FMOD_Sound_Set3DCustomRolloff (FMOD_SOUND *sound,
FMOD_VECTOR *points,
int numpoints);
2071 FMOD_RESULT F_API FMOD_Sound_Get3DCustomRolloff (FMOD_SOUND *sound,
FMOD_VECTOR **points,
int *numpoints);
2072 FMOD_RESULT F_API FMOD_Sound_SetSubSound (FMOD_SOUND *sound,
int index, FMOD_SOUND *subsound);
2073 FMOD_RESULT F_API FMOD_Sound_GetSubSound (FMOD_SOUND *sound,
int index, FMOD_SOUND **subsound);
2074 FMOD_RESULT F_API FMOD_Sound_SetSubSoundSentence (FMOD_SOUND *sound,
int *subsoundlist,
int numsubsounds);
2075 FMOD_RESULT F_API FMOD_Sound_GetName (FMOD_SOUND *sound,
char *name,
int namelen);
2076 FMOD_RESULT F_API FMOD_Sound_GetLength (FMOD_SOUND *sound,
unsigned int *length, FMOD_TIMEUNIT lengthtype);
2077 FMOD_RESULT F_API FMOD_Sound_GetFormat (FMOD_SOUND *sound, FMOD_SOUND_TYPE *type, FMOD_SOUND_FORMAT *format,
int *channels,
int *bits);
2078 FMOD_RESULT F_API FMOD_Sound_GetNumSubSounds (FMOD_SOUND *sound,
int *numsubsounds);
2079 FMOD_RESULT F_API FMOD_Sound_GetNumTags (FMOD_SOUND *sound,
int *numtags,
int *numtagsupdated);
2080 FMOD_RESULT F_API FMOD_Sound_GetTag (FMOD_SOUND *sound,
const char *name,
int index,
FMOD_TAG *tag);
2081 FMOD_RESULT F_API FMOD_Sound_GetOpenState (FMOD_SOUND *sound, FMOD_OPENSTATE *openstate,
unsigned int *percentbuffered, FMOD_BOOL *starving, FMOD_BOOL *diskbusy);
2082 FMOD_RESULT F_API FMOD_Sound_ReadData (FMOD_SOUND *sound,
void *buffer,
unsigned int lenbytes,
unsigned int *read);
2083 FMOD_RESULT F_API FMOD_Sound_SeekData (FMOD_SOUND *sound,
unsigned int pcm);
2085 FMOD_RESULT F_API FMOD_Sound_SetSoundGroup (FMOD_SOUND *sound, FMOD_SOUNDGROUP *soundgroup);
2086 FMOD_RESULT F_API FMOD_Sound_GetSoundGroup (FMOD_SOUND *sound, FMOD_SOUNDGROUP **soundgroup);
2092 FMOD_RESULT F_API FMOD_Sound_GetNumSyncPoints (FMOD_SOUND *sound,
int *numsyncpoints);
2093 FMOD_RESULT F_API FMOD_Sound_GetSyncPoint (FMOD_SOUND *sound,
int index, FMOD_SYNCPOINT **point);
2094 FMOD_RESULT F_API FMOD_Sound_GetSyncPointInfo (FMOD_SOUND *sound, FMOD_SYNCPOINT *point,
char *name,
int namelen,
unsigned int *offset, FMOD_TIMEUNIT offsettype);
2095 FMOD_RESULT F_API FMOD_Sound_AddSyncPoint (FMOD_SOUND *sound,
unsigned int offset, FMOD_TIMEUNIT offsettype,
const char *name, FMOD_SYNCPOINT **point);
2096 FMOD_RESULT F_API FMOD_Sound_DeleteSyncPoint (FMOD_SOUND *sound, FMOD_SYNCPOINT *point);
2102 FMOD_RESULT F_API FMOD_Sound_SetMode (FMOD_SOUND *sound, FMOD_MODE mode);
2103 FMOD_RESULT F_API FMOD_Sound_GetMode (FMOD_SOUND *sound, FMOD_MODE *mode);
2104 FMOD_RESULT F_API FMOD_Sound_SetLoopCount (FMOD_SOUND *sound,
int loopcount);
2105 FMOD_RESULT F_API FMOD_Sound_GetLoopCount (FMOD_SOUND *sound,
int *loopcount);
2106 FMOD_RESULT F_API FMOD_Sound_SetLoopPoints (FMOD_SOUND *sound,
unsigned int loopstart, FMOD_TIMEUNIT loopstarttype,
unsigned int loopend, FMOD_TIMEUNIT loopendtype);
2107 FMOD_RESULT F_API FMOD_Sound_GetLoopPoints (FMOD_SOUND *sound,
unsigned int *loopstart, FMOD_TIMEUNIT loopstarttype,
unsigned int *loopend, FMOD_TIMEUNIT loopendtype);
2113 FMOD_RESULT F_API FMOD_Sound_GetMusicNumChannels (FMOD_SOUND *sound,
int *numchannels);
2114 FMOD_RESULT F_API FMOD_Sound_SetMusicChannelVolume (FMOD_SOUND *sound,
int channel,
float volume);
2115 FMOD_RESULT F_API FMOD_Sound_GetMusicChannelVolume (FMOD_SOUND *sound,
int channel,
float *volume);
2116 FMOD_RESULT F_API FMOD_Sound_SetMusicSpeed (FMOD_SOUND *sound,
float speed);
2117 FMOD_RESULT F_API FMOD_Sound_GetMusicSpeed (FMOD_SOUND *sound,
float *speed);
2123 FMOD_RESULT F_API FMOD_Sound_SetUserData (FMOD_SOUND *sound,
void *userdata);
2124 FMOD_RESULT F_API FMOD_Sound_GetUserData (FMOD_SOUND *sound,
void **userdata);
2126 FMOD_RESULT F_API FMOD_Sound_GetMemoryInfo (FMOD_SOUND *sound,
unsigned int memorybits,
unsigned int event_memorybits,
unsigned int *memoryused,
FMOD_MEMORY_USAGE_DETAILS *memoryused_details);
2132 FMOD_RESULT F_API FMOD_Channel_GetSystemObject (FMOD_CHANNEL *channel, FMOD_SYSTEM **system);
2134 FMOD_RESULT F_API FMOD_Channel_Stop (FMOD_CHANNEL *channel);
2135 FMOD_RESULT F_API FMOD_Channel_SetPaused (FMOD_CHANNEL *channel, FMOD_BOOL paused);
2136 FMOD_RESULT F_API FMOD_Channel_GetPaused (FMOD_CHANNEL *channel, FMOD_BOOL *paused);
2137 FMOD_RESULT F_API FMOD_Channel_SetVolume (FMOD_CHANNEL *channel,
float volume);
2138 FMOD_RESULT F_API FMOD_Channel_GetVolume (FMOD_CHANNEL *channel,
float *volume);
2139 FMOD_RESULT F_API FMOD_Channel_SetFrequency (FMOD_CHANNEL *channel,
float frequency);
2140 FMOD_RESULT F_API FMOD_Channel_GetFrequency (FMOD_CHANNEL *channel,
float *frequency);
2141 FMOD_RESULT F_API FMOD_Channel_SetPan (FMOD_CHANNEL *channel,
float pan);
2142 FMOD_RESULT F_API FMOD_Channel_GetPan (FMOD_CHANNEL *channel,
float *pan);
2143 FMOD_RESULT F_API FMOD_Channel_SetDelay (FMOD_CHANNEL *channel, FMOD_DELAYTYPE delaytype,
unsigned int delayhi,
unsigned int delaylo);
2144 FMOD_RESULT F_API FMOD_Channel_GetDelay (FMOD_CHANNEL *channel, FMOD_DELAYTYPE delaytype,
unsigned int *delayhi,
unsigned int *delaylo);
2145 FMOD_RESULT F_API FMOD_Channel_SetSpeakerMix (FMOD_CHANNEL *channel,
float frontleft,
float frontright,
float center,
float lfe,
float backleft,
float backright,
float sideleft,
float sideright);
2146 FMOD_RESULT F_API FMOD_Channel_GetSpeakerMix (FMOD_CHANNEL *channel,
float *frontleft,
float *frontright,
float *center,
float *lfe,
float *backleft,
float *backright,
float *sideleft,
float *sideright);
2147 FMOD_RESULT F_API FMOD_Channel_SetSpeakerLevels (FMOD_CHANNEL *channel, FMOD_SPEAKER speaker,
float *levels,
int numlevels);
2148 FMOD_RESULT F_API FMOD_Channel_GetSpeakerLevels (FMOD_CHANNEL *channel, FMOD_SPEAKER speaker,
float *levels,
int numlevels);
2149 FMOD_RESULT F_API FMOD_Channel_SetInputChannelMix (FMOD_CHANNEL *channel,
float *levels,
int numlevels);
2150 FMOD_RESULT F_API FMOD_Channel_GetInputChannelMix (FMOD_CHANNEL *channel,
float *levels,
int numlevels);
2151 FMOD_RESULT F_API FMOD_Channel_SetMute (FMOD_CHANNEL *channel, FMOD_BOOL mute);
2152 FMOD_RESULT F_API FMOD_Channel_GetMute (FMOD_CHANNEL *channel, FMOD_BOOL *mute);
2153 FMOD_RESULT F_API FMOD_Channel_SetPriority (FMOD_CHANNEL *channel,
int priority);
2154 FMOD_RESULT F_API FMOD_Channel_GetPriority (FMOD_CHANNEL *channel,
int *priority);
2155 FMOD_RESULT F_API FMOD_Channel_SetPosition (FMOD_CHANNEL *channel,
unsigned int position, FMOD_TIMEUNIT postype);
2156 FMOD_RESULT F_API FMOD_Channel_GetPosition (FMOD_CHANNEL *channel,
unsigned int *position, FMOD_TIMEUNIT postype);
2159 FMOD_RESULT F_API FMOD_Channel_SetLowPassGain (FMOD_CHANNEL *channel,
float gain);
2160 FMOD_RESULT F_API FMOD_Channel_GetLowPassGain (FMOD_CHANNEL *channel,
float *gain);
2162 FMOD_RESULT F_API FMOD_Channel_SetChannelGroup (FMOD_CHANNEL *channel, FMOD_CHANNELGROUP *channelgroup);
2163 FMOD_RESULT F_API FMOD_Channel_GetChannelGroup (FMOD_CHANNEL *channel, FMOD_CHANNELGROUP **channelgroup);
2164 FMOD_RESULT F_API FMOD_Channel_SetCallback (FMOD_CHANNEL *channel, FMOD_CHANNEL_CALLBACK callback);
2170 FMOD_RESULT F_API FMOD_Channel_Set3DAttributes (FMOD_CHANNEL *channel,
const FMOD_VECTOR *pos,
const FMOD_VECTOR *vel);
2171 FMOD_RESULT F_API FMOD_Channel_Get3DAttributes (FMOD_CHANNEL *channel,
FMOD_VECTOR *pos,
FMOD_VECTOR *vel);
2172 FMOD_RESULT F_API FMOD_Channel_Set3DMinMaxDistance (FMOD_CHANNEL *channel,
float mindistance,
float maxdistance);
2173 FMOD_RESULT F_API FMOD_Channel_Get3DMinMaxDistance (FMOD_CHANNEL *channel,
float *mindistance,
float *maxdistance);
2174 FMOD_RESULT F_API FMOD_Channel_Set3DConeSettings (FMOD_CHANNEL *channel,
float insideconeangle,
float outsideconeangle,
float outsidevolume);
2175 FMOD_RESULT F_API FMOD_Channel_Get3DConeSettings (FMOD_CHANNEL *channel,
float *insideconeangle,
float *outsideconeangle,
float *outsidevolume);
2176 FMOD_RESULT F_API FMOD_Channel_Set3DConeOrientation (FMOD_CHANNEL *channel,
FMOD_VECTOR *orientation);
2177 FMOD_RESULT F_API FMOD_Channel_Get3DConeOrientation (FMOD_CHANNEL *channel,
FMOD_VECTOR *orientation);
2178 FMOD_RESULT F_API FMOD_Channel_Set3DCustomRolloff (FMOD_CHANNEL *channel,
FMOD_VECTOR *points,
int numpoints);
2179 FMOD_RESULT F_API FMOD_Channel_Get3DCustomRolloff (FMOD_CHANNEL *channel,
FMOD_VECTOR **points,
int *numpoints);
2180 FMOD_RESULT F_API FMOD_Channel_Set3DOcclusion (FMOD_CHANNEL *channel,
float directocclusion,
float reverbocclusion);
2181 FMOD_RESULT F_API FMOD_Channel_Get3DOcclusion (FMOD_CHANNEL *channel,
float *directocclusion,
float *reverbocclusion);
2182 FMOD_RESULT F_API FMOD_Channel_Set3DSpread (FMOD_CHANNEL *channel,
float angle);
2183 FMOD_RESULT F_API FMOD_Channel_Get3DSpread (FMOD_CHANNEL *channel,
float *angle);
2184 FMOD_RESULT F_API FMOD_Channel_Set3DPanLevel (FMOD_CHANNEL *channel,
float level);
2185 FMOD_RESULT F_API FMOD_Channel_Get3DPanLevel (FMOD_CHANNEL *channel,
float *level);
2186 FMOD_RESULT F_API FMOD_Channel_Set3DDopplerLevel (FMOD_CHANNEL *channel,
float level);
2187 FMOD_RESULT F_API FMOD_Channel_Get3DDopplerLevel (FMOD_CHANNEL *channel,
float *level);
2188 FMOD_RESULT F_API FMOD_Channel_Set3DDistanceFilter (FMOD_CHANNEL *channel, FMOD_BOOL custom,
float customLevel,
float centerFreq);
2189 FMOD_RESULT F_API FMOD_Channel_Get3DDistanceFilter (FMOD_CHANNEL *channel, FMOD_BOOL *custom,
float *customLevel,
float *centerFreq);
2195 FMOD_RESULT F_API FMOD_Channel_GetDSPHead (FMOD_CHANNEL *channel, FMOD_DSP **dsp);
2196 FMOD_RESULT F_API FMOD_Channel_AddDSP (FMOD_CHANNEL *channel, FMOD_DSP *dsp, FMOD_DSPCONNECTION **connection);
2202 FMOD_RESULT F_API FMOD_Channel_IsPlaying (FMOD_CHANNEL *channel, FMOD_BOOL *isplaying);
2203 FMOD_RESULT F_API FMOD_Channel_IsVirtual (FMOD_CHANNEL *channel, FMOD_BOOL *isvirtual);
2204 FMOD_RESULT F_API FMOD_Channel_GetAudibility (FMOD_CHANNEL *channel,
float *audibility);
2205 FMOD_RESULT F_API FMOD_Channel_GetCurrentSound (FMOD_CHANNEL *channel, FMOD_SOUND **sound);
2206 FMOD_RESULT F_API FMOD_Channel_GetSpectrum (FMOD_CHANNEL *channel,
float *spectrumarray,
int numvalues,
int channeloffset, FMOD_DSP_FFT_WINDOW windowtype);
2207 FMOD_RESULT F_API FMOD_Channel_GetWaveData (FMOD_CHANNEL *channel,
float *wavearray,
int numvalues,
int channeloffset);
2208 FMOD_RESULT F_API FMOD_Channel_GetIndex (FMOD_CHANNEL *channel,
int *index);
2214 FMOD_RESULT F_API FMOD_Channel_SetMode (FMOD_CHANNEL *channel, FMOD_MODE mode);
2215 FMOD_RESULT F_API FMOD_Channel_GetMode (FMOD_CHANNEL *channel, FMOD_MODE *mode);
2216 FMOD_RESULT F_API FMOD_Channel_SetLoopCount (FMOD_CHANNEL *channel,
int loopcount);
2217 FMOD_RESULT F_API FMOD_Channel_GetLoopCount (FMOD_CHANNEL *channel,
int *loopcount);
2218 FMOD_RESULT F_API FMOD_Channel_SetLoopPoints (FMOD_CHANNEL *channel,
unsigned int loopstart, FMOD_TIMEUNIT loopstarttype,
unsigned int loopend, FMOD_TIMEUNIT loopendtype);
2219 FMOD_RESULT F_API FMOD_Channel_GetLoopPoints (FMOD_CHANNEL *channel,
unsigned int *loopstart, FMOD_TIMEUNIT loopstarttype,
unsigned int *loopend, FMOD_TIMEUNIT loopendtype);
2225 FMOD_RESULT F_API FMOD_Channel_SetUserData (FMOD_CHANNEL *channel,
void *userdata);
2226 FMOD_RESULT F_API FMOD_Channel_GetUserData (FMOD_CHANNEL *channel,
void **userdata);
2228 FMOD_RESULT F_API FMOD_Channel_GetMemoryInfo (FMOD_CHANNEL *channel,
unsigned int memorybits,
unsigned int event_memorybits,
unsigned int *memoryused,
FMOD_MEMORY_USAGE_DETAILS *memoryused_details);
2234 FMOD_RESULT F_API FMOD_ChannelGroup_Release (FMOD_CHANNELGROUP *channelgroup);
2235 FMOD_RESULT F_API FMOD_ChannelGroup_GetSystemObject (FMOD_CHANNELGROUP *channelgroup, FMOD_SYSTEM **system);
2241 FMOD_RESULT F_API FMOD_ChannelGroup_SetVolume (FMOD_CHANNELGROUP *channelgroup,
float volume);
2242 FMOD_RESULT F_API FMOD_ChannelGroup_GetVolume (FMOD_CHANNELGROUP *channelgroup,
float *volume);
2243 FMOD_RESULT F_API FMOD_ChannelGroup_SetPitch (FMOD_CHANNELGROUP *channelgroup,
float pitch);
2244 FMOD_RESULT F_API FMOD_ChannelGroup_GetPitch (FMOD_CHANNELGROUP *channelgroup,
float *pitch);
2245 FMOD_RESULT F_API FMOD_ChannelGroup_Set3DOcclusion (FMOD_CHANNELGROUP *channelgroup,
float directocclusion,
float reverbocclusion);
2246 FMOD_RESULT F_API FMOD_ChannelGroup_Get3DOcclusion (FMOD_CHANNELGROUP *channelgroup,
float *directocclusion,
float *reverbocclusion);
2247 FMOD_RESULT F_API FMOD_ChannelGroup_SetPaused (FMOD_CHANNELGROUP *channelgroup, FMOD_BOOL paused);
2248 FMOD_RESULT F_API FMOD_ChannelGroup_GetPaused (FMOD_CHANNELGROUP *channelgroup, FMOD_BOOL *paused);
2249 FMOD_RESULT F_API FMOD_ChannelGroup_SetMute (FMOD_CHANNELGROUP *channelgroup, FMOD_BOOL mute);
2250 FMOD_RESULT F_API FMOD_ChannelGroup_GetMute (FMOD_CHANNELGROUP *channelgroup, FMOD_BOOL *mute);
2256 FMOD_RESULT F_API FMOD_ChannelGroup_Stop (FMOD_CHANNELGROUP *channelgroup);
2257 FMOD_RESULT F_API FMOD_ChannelGroup_OverrideVolume (FMOD_CHANNELGROUP *channelgroup,
float volume);
2258 FMOD_RESULT F_API FMOD_ChannelGroup_OverrideFrequency(FMOD_CHANNELGROUP *channelgroup,
float frequency);
2259 FMOD_RESULT F_API FMOD_ChannelGroup_OverridePan (FMOD_CHANNELGROUP *channelgroup,
float pan);
2261 FMOD_RESULT F_API FMOD_ChannelGroup_Override3DAttributes(FMOD_CHANNELGROUP *channelgroup,
const FMOD_VECTOR *pos,
const FMOD_VECTOR *vel);
2262 FMOD_RESULT F_API FMOD_ChannelGroup_OverrideSpeakerMix(FMOD_CHANNELGROUP *channelgroup,
float frontleft,
float frontright,
float center,
float lfe,
float backleft,
float backright,
float sideleft,
float sideright);
2268 FMOD_RESULT F_API FMOD_ChannelGroup_AddGroup (FMOD_CHANNELGROUP *channelgroup, FMOD_CHANNELGROUP *group);
2269 FMOD_RESULT F_API FMOD_ChannelGroup_GetNumGroups (FMOD_CHANNELGROUP *channelgroup,
int *numgroups);
2270 FMOD_RESULT F_API FMOD_ChannelGroup_GetGroup (FMOD_CHANNELGROUP *channelgroup,
int index, FMOD_CHANNELGROUP **group);
2271 FMOD_RESULT F_API FMOD_ChannelGroup_GetParentGroup (FMOD_CHANNELGROUP *channelgroup, FMOD_CHANNELGROUP **group);
2277 FMOD_RESULT F_API FMOD_ChannelGroup_GetDSPHead (FMOD_CHANNELGROUP *channelgroup, FMOD_DSP **dsp);
2278 FMOD_RESULT F_API FMOD_ChannelGroup_AddDSP (FMOD_CHANNELGROUP *channelgroup, FMOD_DSP *dsp, FMOD_DSPCONNECTION **connection);
2284 FMOD_RESULT F_API FMOD_ChannelGroup_GetName (FMOD_CHANNELGROUP *channelgroup,
char *name,
int namelen);
2285 FMOD_RESULT F_API FMOD_ChannelGroup_GetNumChannels (FMOD_CHANNELGROUP *channelgroup,
int *numchannels);
2286 FMOD_RESULT F_API FMOD_ChannelGroup_GetChannel (FMOD_CHANNELGROUP *channelgroup,
int index, FMOD_CHANNEL **channel);
2287 FMOD_RESULT F_API FMOD_ChannelGroup_GetSpectrum (FMOD_CHANNELGROUP *channelgroup,
float *spectrumarray,
int numvalues,
int channeloffset, FMOD_DSP_FFT_WINDOW windowtype);
2288 FMOD_RESULT F_API FMOD_ChannelGroup_GetWaveData (FMOD_CHANNELGROUP *channelgroup,
float *wavearray,
int numvalues,
int channeloffset);
2294 FMOD_RESULT F_API FMOD_ChannelGroup_SetUserData (FMOD_CHANNELGROUP *channelgroup,
void *userdata);
2295 FMOD_RESULT F_API FMOD_ChannelGroup_GetUserData (FMOD_CHANNELGROUP *channelgroup,
void **userdata);
2297 FMOD_RESULT F_API FMOD_ChannelGroup_GetMemoryInfo (FMOD_CHANNELGROUP *channelgroup,
unsigned int memorybits,
unsigned int event_memorybits,
unsigned int *memoryused,
FMOD_MEMORY_USAGE_DETAILS *memoryused_details);
2303 FMOD_RESULT F_API FMOD_SoundGroup_Release (FMOD_SOUNDGROUP *soundgroup);
2304 FMOD_RESULT F_API FMOD_SoundGroup_GetSystemObject (FMOD_SOUNDGROUP *soundgroup, FMOD_SYSTEM **system);
2310 FMOD_RESULT F_API FMOD_SoundGroup_SetMaxAudible (FMOD_SOUNDGROUP *soundgroup,
int maxaudible);
2311 FMOD_RESULT F_API FMOD_SoundGroup_GetMaxAudible (FMOD_SOUNDGROUP *soundgroup,
int *maxaudible);
2312 FMOD_RESULT F_API FMOD_SoundGroup_SetMaxAudibleBehavior(FMOD_SOUNDGROUP *soundgroup, FMOD_SOUNDGROUP_BEHAVIOR behavior);
2313 FMOD_RESULT F_API FMOD_SoundGroup_GetMaxAudibleBehavior(FMOD_SOUNDGROUP *soundgroup, FMOD_SOUNDGROUP_BEHAVIOR *behavior);
2314 FMOD_RESULT F_API FMOD_SoundGroup_SetMuteFadeSpeed (FMOD_SOUNDGROUP *soundgroup,
float speed);
2315 FMOD_RESULT F_API FMOD_SoundGroup_GetMuteFadeSpeed (FMOD_SOUNDGROUP *soundgroup,
float *speed);
2316 FMOD_RESULT F_API FMOD_SoundGroup_SetVolume (FMOD_SOUNDGROUP *soundgroup,
float volume);
2317 FMOD_RESULT F_API FMOD_SoundGroup_GetVolume (FMOD_SOUNDGROUP *soundgroup,
float *volume);
2318 FMOD_RESULT F_API FMOD_SoundGroup_Stop (FMOD_SOUNDGROUP *soundgroup);
2324 FMOD_RESULT F_API FMOD_SoundGroup_GetName (FMOD_SOUNDGROUP *soundgroup,
char *name,
int namelen);
2325 FMOD_RESULT F_API FMOD_SoundGroup_GetNumSounds (FMOD_SOUNDGROUP *soundgroup,
int *numsounds);
2326 FMOD_RESULT F_API FMOD_SoundGroup_GetSound (FMOD_SOUNDGROUP *soundgroup,
int index, FMOD_SOUND **sound);
2327 FMOD_RESULT F_API FMOD_SoundGroup_GetNumPlaying (FMOD_SOUNDGROUP *soundgroup,
int *numplaying);
2333 FMOD_RESULT F_API FMOD_SoundGroup_SetUserData (FMOD_SOUNDGROUP *soundgroup,
void *userdata);
2334 FMOD_RESULT F_API FMOD_SoundGroup_GetUserData (FMOD_SOUNDGROUP *soundgroup,
void **userdata);
2336 FMOD_RESULT F_API FMOD_SoundGroup_GetMemoryInfo (FMOD_SOUNDGROUP *soundgroup,
unsigned int memorybits,
unsigned int event_memorybits,
unsigned int *memoryused,
FMOD_MEMORY_USAGE_DETAILS *memoryused_details);
2342 FMOD_RESULT F_API FMOD_DSP_Release (FMOD_DSP *dsp);
2343 FMOD_RESULT F_API FMOD_DSP_GetSystemObject (FMOD_DSP *dsp, FMOD_SYSTEM **system);
2349 FMOD_RESULT F_API FMOD_DSP_AddInput (FMOD_DSP *dsp, FMOD_DSP *target, FMOD_DSPCONNECTION **connection);
2350 FMOD_RESULT F_API FMOD_DSP_DisconnectFrom (FMOD_DSP *dsp, FMOD_DSP *target);
2351 FMOD_RESULT F_API FMOD_DSP_DisconnectAll (FMOD_DSP *dsp, FMOD_BOOL inputs, FMOD_BOOL outputs);
2352 FMOD_RESULT F_API FMOD_DSP_Remove (FMOD_DSP *dsp);
2353 FMOD_RESULT F_API FMOD_DSP_GetNumInputs (FMOD_DSP *dsp,
int *numinputs);
2354 FMOD_RESULT F_API FMOD_DSP_GetNumOutputs (FMOD_DSP *dsp,
int *numoutputs);
2355 FMOD_RESULT F_API FMOD_DSP_GetInput (FMOD_DSP *dsp,
int index, FMOD_DSP **input, FMOD_DSPCONNECTION **inputconnection);
2356 FMOD_RESULT F_API FMOD_DSP_GetOutput (FMOD_DSP *dsp,
int index, FMOD_DSP **output, FMOD_DSPCONNECTION **outputconnection);
2362 FMOD_RESULT F_API FMOD_DSP_SetActive (FMOD_DSP *dsp, FMOD_BOOL active);
2363 FMOD_RESULT F_API FMOD_DSP_GetActive (FMOD_DSP *dsp, FMOD_BOOL *active);
2364 FMOD_RESULT F_API FMOD_DSP_SetBypass (FMOD_DSP *dsp, FMOD_BOOL bypass);
2365 FMOD_RESULT F_API FMOD_DSP_GetBypass (FMOD_DSP *dsp, FMOD_BOOL *bypass);
2366 FMOD_RESULT F_API FMOD_DSP_SetSpeakerActive (FMOD_DSP *dsp, FMOD_SPEAKER speaker, FMOD_BOOL active);
2367 FMOD_RESULT F_API FMOD_DSP_GetSpeakerActive (FMOD_DSP *dsp, FMOD_SPEAKER speaker, FMOD_BOOL *active);
2368 FMOD_RESULT F_API FMOD_DSP_Reset (FMOD_DSP *dsp);
2374 FMOD_RESULT F_API FMOD_DSP_SetParameter (FMOD_DSP *dsp,
int index,
float value);
2375 FMOD_RESULT F_API FMOD_DSP_GetParameter (FMOD_DSP *dsp,
int index,
float *value,
char *valuestr,
int valuestrlen);
2376 FMOD_RESULT F_API FMOD_DSP_GetNumParameters (FMOD_DSP *dsp,
int *numparams);
2377 FMOD_RESULT F_API FMOD_DSP_GetParameterInfo (FMOD_DSP *dsp,
int index,
char *name,
char *label,
char *description,
int descriptionlen,
float *min,
float *max);
2378 FMOD_RESULT F_API FMOD_DSP_ShowConfigDialog (FMOD_DSP *dsp,
void *hwnd, FMOD_BOOL show);
2384 FMOD_RESULT F_API FMOD_DSP_GetInfo (FMOD_DSP *dsp,
char *name,
unsigned int *version,
int *channels,
int *configwidth,
int *configheight);
2385 FMOD_RESULT F_API FMOD_DSP_GetType (FMOD_DSP *dsp, FMOD_DSP_TYPE *type);
2386 FMOD_RESULT F_API FMOD_DSP_SetDefaults (FMOD_DSP *dsp,
float frequency,
float volume,
float pan,
int priority);
2387 FMOD_RESULT F_API FMOD_DSP_GetDefaults (FMOD_DSP *dsp,
float *frequency,
float *volume,
float *pan,
int *priority);
2393 FMOD_RESULT F_API FMOD_DSP_SetUserData (FMOD_DSP *dsp,
void *userdata);
2394 FMOD_RESULT F_API FMOD_DSP_GetUserData (FMOD_DSP *dsp,
void **userdata);
2396 FMOD_RESULT F_API FMOD_DSP_GetMemoryInfo (FMOD_DSP *dsp,
unsigned int memorybits,
unsigned int event_memorybits,
unsigned int *memoryused,
FMOD_MEMORY_USAGE_DETAILS *memoryused_details);
2402 FMOD_RESULT F_API FMOD_DSPConnection_GetInput (FMOD_DSPCONNECTION *dspconnection, FMOD_DSP **input);
2403 FMOD_RESULT F_API FMOD_DSPConnection_GetOutput (FMOD_DSPCONNECTION *dspconnection, FMOD_DSP **output);
2404 FMOD_RESULT F_API FMOD_DSPConnection_SetMix (FMOD_DSPCONNECTION *dspconnection,
float volume);
2405 FMOD_RESULT F_API FMOD_DSPConnection_GetMix (FMOD_DSPCONNECTION *dspconnection,
float *volume);
2406 FMOD_RESULT F_API FMOD_DSPConnection_SetLevels (FMOD_DSPCONNECTION *dspconnection, FMOD_SPEAKER speaker,
float *levels,
int numlevels);
2407 FMOD_RESULT F_API FMOD_DSPConnection_GetLevels (FMOD_DSPCONNECTION *dspconnection, FMOD_SPEAKER speaker,
float *levels,
int numlevels);
2413 FMOD_RESULT F_API FMOD_DSPConnection_SetUserData (FMOD_DSPCONNECTION *dspconnection,
void *userdata);
2414 FMOD_RESULT F_API FMOD_DSPConnection_GetUserData (FMOD_DSPCONNECTION *dspconnection,
void **userdata);
2416 FMOD_RESULT F_API FMOD_DSPConnection_GetMemoryInfo (FMOD_DSPCONNECTION *dspconnection,
unsigned int memorybits,
unsigned int event_memorybits,
unsigned int *memoryused,
FMOD_MEMORY_USAGE_DETAILS *memoryused_details);
2422 FMOD_RESULT F_API FMOD_Geometry_Release (FMOD_GEOMETRY *geometry);
2428 FMOD_RESULT F_API FMOD_Geometry_AddPolygon (FMOD_GEOMETRY *geometry,
float directocclusion,
float reverbocclusion, FMOD_BOOL doublesided,
int numvertices,
const FMOD_VECTOR *vertices,
int *polygonindex);
2429 FMOD_RESULT F_API FMOD_Geometry_GetNumPolygons (FMOD_GEOMETRY *geometry,
int *numpolygons);
2430 FMOD_RESULT F_API FMOD_Geometry_GetMaxPolygons (FMOD_GEOMETRY *geometry,
int *maxpolygons,
int *maxvertices);
2431 FMOD_RESULT F_API FMOD_Geometry_GetPolygonNumVertices(FMOD_GEOMETRY *geometry,
int index,
int *numvertices);
2432 FMOD_RESULT F_API FMOD_Geometry_SetPolygonVertex (FMOD_GEOMETRY *geometry,
int index,
int vertexindex,
const FMOD_VECTOR *vertex);
2433 FMOD_RESULT F_API FMOD_Geometry_GetPolygonVertex (FMOD_GEOMETRY *geometry,
int index,
int vertexindex,
FMOD_VECTOR *vertex);
2434 FMOD_RESULT F_API FMOD_Geometry_SetPolygonAttributes (FMOD_GEOMETRY *geometry,
int index,
float directocclusion,
float reverbocclusion, FMOD_BOOL doublesided);
2435 FMOD_RESULT F_API FMOD_Geometry_GetPolygonAttributes (FMOD_GEOMETRY *geometry,
int index,
float *directocclusion,
float *reverbocclusion, FMOD_BOOL *doublesided);
2441 FMOD_RESULT F_API FMOD_Geometry_SetActive (FMOD_GEOMETRY *geometry, FMOD_BOOL active);
2442 FMOD_RESULT F_API FMOD_Geometry_GetActive (FMOD_GEOMETRY *geometry, FMOD_BOOL *active);
2443 FMOD_RESULT F_API FMOD_Geometry_SetRotation (FMOD_GEOMETRY *geometry,
const FMOD_VECTOR *forward,
const FMOD_VECTOR *up);
2444 FMOD_RESULT F_API FMOD_Geometry_GetRotation (FMOD_GEOMETRY *geometry,
FMOD_VECTOR *forward,
FMOD_VECTOR *up);
2445 FMOD_RESULT F_API FMOD_Geometry_SetPosition (FMOD_GEOMETRY *geometry,
const FMOD_VECTOR *position);
2446 FMOD_RESULT F_API FMOD_Geometry_GetPosition (FMOD_GEOMETRY *geometry,
FMOD_VECTOR *position);
2447 FMOD_RESULT F_API FMOD_Geometry_SetScale (FMOD_GEOMETRY *geometry,
const FMOD_VECTOR *scale);
2448 FMOD_RESULT F_API FMOD_Geometry_GetScale (FMOD_GEOMETRY *geometry,
FMOD_VECTOR *scale);
2449 FMOD_RESULT F_API FMOD_Geometry_Save (FMOD_GEOMETRY *geometry,
void *data,
int *datasize);
2455 FMOD_RESULT F_API FMOD_Geometry_SetUserData (FMOD_GEOMETRY *geometry,
void *userdata);
2456 FMOD_RESULT F_API FMOD_Geometry_GetUserData (FMOD_GEOMETRY *geometry,
void **userdata);
2458 FMOD_RESULT F_API FMOD_Geometry_GetMemoryInfo (FMOD_GEOMETRY *geometry,
unsigned int memorybits,
unsigned int event_memorybits,
unsigned int *memoryused,
FMOD_MEMORY_USAGE_DETAILS *memoryused_details);
2464 FMOD_RESULT F_API FMOD_Reverb_Release (FMOD_REVERB *reverb);
2470 FMOD_RESULT F_API FMOD_Reverb_Set3DAttributes (FMOD_REVERB *reverb,
const FMOD_VECTOR *position,
float mindistance,
float maxdistance);
2471 FMOD_RESULT F_API FMOD_Reverb_Get3DAttributes (FMOD_REVERB *reverb,
FMOD_VECTOR *position,
float *mindistance,
float *maxdistance);
2472 FMOD_RESULT F_API FMOD_Reverb_SetProperties (FMOD_REVERB *reverb,
const FMOD_REVERB_PROPERTIES *properties);
2474 FMOD_RESULT F_API FMOD_Reverb_SetActive (FMOD_REVERB *reverb, FMOD_BOOL active);
2475 FMOD_RESULT F_API FMOD_Reverb_GetActive (FMOD_REVERB *reverb, FMOD_BOOL *active);
2481 FMOD_RESULT F_API FMOD_Reverb_SetUserData (FMOD_REVERB *reverb,
void *userdata);
2482 FMOD_RESULT F_API FMOD_Reverb_GetUserData (FMOD_REVERB *reverb,
void **userdata);
2484 FMOD_RESULT F_API FMOD_Reverb_GetMemoryInfo (FMOD_REVERB *reverb,
unsigned int memorybits,
unsigned int event_memorybits,
unsigned int *memoryused,
FMOD_MEMORY_USAGE_DETAILS *memoryused_details);
Definition: fmod_dsp.h:130
Definition: fmod_codec.h:47
Definition: fmod_memoryinfo.h:36