# PonyTracker: Fichier source de sources/fmod/include/fmod.hpp

Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Définitions de type Énumérations Valeurs énumérées Macros Pages
fmod.hpp
Aller à la documentation de ce fichier.
/* ========================================================================================== */
/* FMOD Ex - C++ header file. Copyright (c), Firelight Technologies Pty, Ltd. 2004-2014. */
/* */
/* Use this header in conjunction with fmod.h (which contains all the constants / callbacks) */
/* to develop using C++ classes. */
/* ========================================================================================== */
#ifndef _FMOD_HPP
#define _FMOD_HPP
#include "fmod.h"
/*
Constant and defines
*/
/*
FMOD Namespace
*/
namespace FMOD
{
class System;
class Sound;
class Channel;
class ChannelGroup;
class SoundGroup;
class Reverb;
class DSP;
class DSPConnection;
class Geometry;
/*
FMOD global system functions (optional).
*/
inline FMOD_RESULT Memory_Initialize(void *poolmem, int poollen, FMOD_MEMORY_ALLOCCALLBACK useralloc, FMOD_MEMORY_REALLOCCALLBACK userrealloc, FMOD_MEMORY_FREECALLBACK userfree, FMOD_MEMORY_TYPE memtypeflags = FMOD_MEMORY_ALL) { return FMOD_Memory_Initialize(poolmem, poollen, useralloc, userrealloc, userfree, memtypeflags); }
inline FMOD_RESULT Memory_GetStats (int *currentalloced, int *maxalloced, bool blocking = true) { return FMOD_Memory_GetStats(currentalloced, maxalloced, blocking); }
inline FMOD_RESULT Debug_SetLevel(FMOD_DEBUGLEVEL level) { return FMOD_Debug_SetLevel(level); }
inline FMOD_RESULT Debug_GetLevel(FMOD_DEBUGLEVEL *level) { return FMOD_Debug_GetLevel(level); }
inline FMOD_RESULT File_SetDiskBusy(int busy) { return FMOD_File_SetDiskBusy(busy); }
inline FMOD_RESULT File_GetDiskBusy(int *busy) { return FMOD_File_GetDiskBusy(busy); }
/*
FMOD System factory functions.
*/
inline FMOD_RESULT System_Create(System **system) { return FMOD_System_Create((FMOD_SYSTEM **)system); }
/*
'System' API
*/
class System
{
private:
System(); /* Constructor made private so user cannot statically instance a System class.
System_Create must be used. */
public:
FMOD_RESULT F_API release ();
// Pre-init functions.
FMOD_RESULT F_API setOutput (FMOD_OUTPUTTYPE output);
FMOD_RESULT F_API getOutput (FMOD_OUTPUTTYPE *output);
FMOD_RESULT F_API getNumDrivers (int *numdrivers);
FMOD_RESULT F_API getDriverInfo (int id, char *name, int namelen, FMOD_GUID *guid);
FMOD_RESULT F_API getDriverInfoW (int id, short *name, int namelen, FMOD_GUID *guid);
FMOD_RESULT F_API getDriverCaps (int id, FMOD_CAPS *caps, int *controlpaneloutputrate, FMOD_SPEAKERMODE *controlpanelspeakermode);
FMOD_RESULT F_API setDriver (int driver);
FMOD_RESULT F_API getDriver (int *driver);
FMOD_RESULT F_API setHardwareChannels (int numhardwarechannels);
FMOD_RESULT F_API setSoftwareChannels (int numsoftwarechannels);
FMOD_RESULT F_API getSoftwareChannels (int *numsoftwarechannels);
FMOD_RESULT F_API setSoftwareFormat (int samplerate, FMOD_SOUND_FORMAT format, int numoutputchannels, int maxinputchannels, FMOD_DSP_RESAMPLER resamplemethod);
FMOD_RESULT F_API getSoftwareFormat (int *samplerate, FMOD_SOUND_FORMAT *format, int *numoutputchannels, int *maxinputchannels, FMOD_DSP_RESAMPLER *resamplemethod, int *bits);
FMOD_RESULT F_API setDSPBufferSize (unsigned int bufferlength, int numbuffers);
FMOD_RESULT F_API getDSPBufferSize (unsigned int *bufferlength, int *numbuffers);
FMOD_RESULT F_API setFileSystem (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);
FMOD_RESULT F_API attachFileSystem (FMOD_FILE_OPENCALLBACK useropen, FMOD_FILE_CLOSECALLBACK userclose, FMOD_FILE_READCALLBACK userread, FMOD_FILE_SEEKCALLBACK userseek);
FMOD_RESULT F_API setAdvancedSettings (FMOD_ADVANCEDSETTINGS *settings);
FMOD_RESULT F_API getAdvancedSettings (FMOD_ADVANCEDSETTINGS *settings);
FMOD_RESULT F_API setSpeakerMode (FMOD_SPEAKERMODE speakermode);
FMOD_RESULT F_API getSpeakerMode (FMOD_SPEAKERMODE *speakermode);
FMOD_RESULT F_API setCallback (FMOD_SYSTEM_CALLBACK callback);
// Plug-in support
FMOD_RESULT F_API setPluginPath (const char *path);
FMOD_RESULT F_API loadPlugin (const char *filename, unsigned int *handle, unsigned int priority = 0);
FMOD_RESULT F_API unloadPlugin (unsigned int handle);
FMOD_RESULT F_API getNumPlugins (FMOD_PLUGINTYPE plugintype, int *numplugins);
FMOD_RESULT F_API getPluginHandle (FMOD_PLUGINTYPE plugintype, int index, unsigned int *handle);
FMOD_RESULT F_API getPluginInfo (unsigned int handle, FMOD_PLUGINTYPE *plugintype, char *name, int namelen, unsigned int *version);
FMOD_RESULT F_API setOutputByPlugin (unsigned int handle);
FMOD_RESULT F_API getOutputByPlugin (unsigned int *handle);
FMOD_RESULT F_API createDSPByPlugin (unsigned int handle, DSP **dsp);
FMOD_RESULT F_API registerCodec (FMOD_CODEC_DESCRIPTION *description, unsigned int *handle, unsigned int priority = 0);
FMOD_RESULT F_API registerDSP (FMOD_DSP_DESCRIPTION *description, unsigned int *handle);
// Init/Close
FMOD_RESULT F_API init (int maxchannels, FMOD_INITFLAGS flags, void *extradriverdata);
FMOD_RESULT F_API close ();
// General post-init system functions
FMOD_RESULT F_API update (); /* IMPORTANT! CALL THIS ONCE PER FRAME! */
FMOD_RESULT F_API set3DSettings (float dopplerscale, float distancefactor, float rolloffscale);
FMOD_RESULT F_API get3DSettings (float *dopplerscale, float *distancefactor, float *rolloffscale);
FMOD_RESULT F_API set3DNumListeners (int numlisteners);
FMOD_RESULT F_API get3DNumListeners (int *numlisteners);
FMOD_RESULT F_API set3DListenerAttributes(int listener, const FMOD_VECTOR *pos, const FMOD_VECTOR *vel, const FMOD_VECTOR *forward, const FMOD_VECTOR *up);
FMOD_RESULT F_API get3DListenerAttributes(int listener, FMOD_VECTOR *pos, FMOD_VECTOR *vel, FMOD_VECTOR *forward, FMOD_VECTOR *up);
FMOD_RESULT F_API set3DRolloffCallback (FMOD_3D_ROLLOFFCALLBACK callback);
FMOD_RESULT F_API set3DSpeakerPosition (FMOD_SPEAKER speaker, float x, float y, bool active);
FMOD_RESULT F_API get3DSpeakerPosition (FMOD_SPEAKER speaker, float *x, float *y, bool *active);
FMOD_RESULT F_API setStreamBufferSize (unsigned int filebuffersize, FMOD_TIMEUNIT filebuffersizetype);
FMOD_RESULT F_API getStreamBufferSize (unsigned int *filebuffersize, FMOD_TIMEUNIT *filebuffersizetype);
// System information functions.
FMOD_RESULT F_API getVersion (unsigned int *version);
FMOD_RESULT F_API getOutputHandle (void **handle);
FMOD_RESULT F_API getChannelsPlaying (int *channels);
FMOD_RESULT F_API getHardwareChannels (int *numhardwarechannels);
FMOD_RESULT F_API getCPUUsage (float *dsp, float *stream, float *geometry, float *update, float *total);
FMOD_RESULT F_API getSoundRAM (int *currentalloced, int *maxalloced, int *total);
FMOD_RESULT F_API getNumCDROMDrives (int *numdrives);
FMOD_RESULT F_API getCDROMDriveName (int drive, char *drivename, int drivenamelen, char *scsiname, int scsinamelen, char *devicename, int devicenamelen);
FMOD_RESULT F_API getSpectrum (float *spectrumarray, int numvalues, int channeloffset, FMOD_DSP_FFT_WINDOW windowtype);
FMOD_RESULT F_API getWaveData (float *wavearray, int numvalues, int channeloffset);
// Sound/DSP/Channel/FX creation and retrieval.
FMOD_RESULT F_API createSound (const char *name_or_data, FMOD_MODE mode, FMOD_CREATESOUNDEXINFO *exinfo, Sound **sound);
FMOD_RESULT F_API createStream (const char *name_or_data, FMOD_MODE mode, FMOD_CREATESOUNDEXINFO *exinfo, Sound **sound);
FMOD_RESULT F_API createDSP (FMOD_DSP_DESCRIPTION *description, DSP **dsp);
FMOD_RESULT F_API createDSPByType (FMOD_DSP_TYPE type, DSP **dsp);
FMOD_RESULT F_API createChannelGroup (const char *name, ChannelGroup **channelgroup);
FMOD_RESULT F_API createSoundGroup (const char *name, SoundGroup **soundgroup);
FMOD_RESULT F_API createReverb (Reverb **reverb);
FMOD_RESULT F_API playSound (FMOD_CHANNELINDEX channelid, Sound *sound, bool paused, Channel **channel);
FMOD_RESULT F_API playDSP (FMOD_CHANNELINDEX channelid, DSP *dsp, bool paused, Channel **channel);
FMOD_RESULT F_API getChannel (int channelid, Channel **channel);
FMOD_RESULT F_API getMasterChannelGroup (ChannelGroup **channelgroup);
FMOD_RESULT F_API getMasterSoundGroup (SoundGroup **soundgroup);
// Reverb API
FMOD_RESULT F_API setReverbProperties (const FMOD_REVERB_PROPERTIES *prop);
FMOD_RESULT F_API getReverbProperties (FMOD_REVERB_PROPERTIES *prop);
FMOD_RESULT F_API setReverbAmbientProperties(FMOD_REVERB_PROPERTIES *prop);
FMOD_RESULT F_API getReverbAmbientProperties(FMOD_REVERB_PROPERTIES *prop);
// System level DSP access.
FMOD_RESULT F_API getDSPHead (DSP **dsp);
FMOD_RESULT F_API addDSP (DSP *dsp, DSPConnection **connection);
FMOD_RESULT F_API lockDSP ();
FMOD_RESULT F_API unlockDSP ();
FMOD_RESULT F_API getDSPClock (unsigned int *hi, unsigned int *lo);
// Recording API.
FMOD_RESULT F_API getRecordNumDrivers (int *numdrivers);
FMOD_RESULT F_API getRecordDriverInfo (int id, char *name, int namelen, FMOD_GUID *guid);
FMOD_RESULT F_API getRecordDriverInfoW (int id, short *name, int namelen, FMOD_GUID *guid);
FMOD_RESULT F_API getRecordDriverCaps (int id, FMOD_CAPS *caps, int *minfrequency, int *maxfrequency);
FMOD_RESULT F_API getRecordPosition (int id, unsigned int *position);
FMOD_RESULT F_API recordStart (int id, Sound *sound, bool loop);
FMOD_RESULT F_API recordStop (int id);
FMOD_RESULT F_API isRecording (int id, bool *recording);
// Geometry API.
FMOD_RESULT F_API createGeometry (int maxpolygons, int maxvertices, Geometry **geometry);
FMOD_RESULT F_API setGeometrySettings (float maxworldsize);
FMOD_RESULT F_API getGeometrySettings (float *maxworldsize);
FMOD_RESULT F_API loadGeometry (const void *data, int datasize, Geometry **geometry);
FMOD_RESULT F_API getGeometryOcclusion (const FMOD_VECTOR *listener, const FMOD_VECTOR *source, float *direct, float *reverb);
// Network functions.
FMOD_RESULT F_API setNetworkProxy (const char *proxy);
FMOD_RESULT F_API getNetworkProxy (char *proxy, int proxylen);
FMOD_RESULT F_API setNetworkTimeout (int timeout);
FMOD_RESULT F_API getNetworkTimeout (int *timeout);
// Userdata set/get.
FMOD_RESULT F_API setUserData (void *userdata);
FMOD_RESULT F_API getUserData (void **userdata);
FMOD_RESULT F_API getMemoryInfo (unsigned int memorybits, unsigned int event_memorybits, unsigned int *memoryused, FMOD_MEMORY_USAGE_DETAILS *memoryused_details);
};
/*
'Sound' API
*/
class Sound
{
private:
Sound(); /* Constructor made private so user cannot statically instance a Sound class.
Appropriate Sound creation or retrieval function must be used. */
public:
FMOD_RESULT F_API release ();
FMOD_RESULT F_API getSystemObject (System **system);
// Standard sound manipulation functions.
FMOD_RESULT F_API lock (unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2);
FMOD_RESULT F_API unlock (void *ptr1, void *ptr2, unsigned int len1, unsigned int len2);
FMOD_RESULT F_API setDefaults (float frequency, float volume, float pan, int priority);
FMOD_RESULT F_API getDefaults (float *frequency, float *volume, float *pan, int *priority);
FMOD_RESULT F_API setVariations (float frequencyvar, float volumevar, float panvar);
FMOD_RESULT F_API getVariations (float *frequencyvar, float *volumevar, float *panvar);
FMOD_RESULT F_API set3DMinMaxDistance (float min, float max);
FMOD_RESULT F_API get3DMinMaxDistance (float *min, float *max);
FMOD_RESULT F_API set3DConeSettings (float insideconeangle, float outsideconeangle, float outsidevolume);
FMOD_RESULT F_API get3DConeSettings (float *insideconeangle, float *outsideconeangle, float *outsidevolume);
FMOD_RESULT F_API set3DCustomRolloff (FMOD_VECTOR *points, int numpoints);
FMOD_RESULT F_API get3DCustomRolloff (FMOD_VECTOR **points, int *numpoints);
FMOD_RESULT F_API setSubSound (int index, Sound *subsound);
FMOD_RESULT F_API getSubSound (int index, Sound **subsound);
FMOD_RESULT F_API setSubSoundSentence (int *subsoundlist, int numsubsounds);
FMOD_RESULT F_API getName (char *name, int namelen);
FMOD_RESULT F_API getLength (unsigned int *length, FMOD_TIMEUNIT lengthtype);
FMOD_RESULT F_API getFormat (FMOD_SOUND_TYPE *type, FMOD_SOUND_FORMAT *format, int *channels, int *bits);
FMOD_RESULT F_API getNumSubSounds (int *numsubsounds);
FMOD_RESULT F_API getNumTags (int *numtags, int *numtagsupdated);
FMOD_RESULT F_API getTag (const char *name, int index, FMOD_TAG *tag);
FMOD_RESULT F_API getOpenState (FMOD_OPENSTATE *openstate, unsigned int *percentbuffered, bool *starving, bool *diskbusy);
FMOD_RESULT F_API readData (void *buffer, unsigned int lenbytes, unsigned int *read);
FMOD_RESULT F_API seekData (unsigned int pcm);
FMOD_RESULT F_API setSoundGroup (SoundGroup *soundgroup);
FMOD_RESULT F_API getSoundGroup (SoundGroup **soundgroup);
// Synchronization point API. These points can come from markers embedded in wav files, and can also generate channel callbacks.
FMOD_RESULT F_API getNumSyncPoints (int *numsyncpoints);
FMOD_RESULT F_API getSyncPoint (int index, FMOD_SYNCPOINT **point);
FMOD_RESULT F_API getSyncPointInfo (FMOD_SYNCPOINT *point, char *name, int namelen, unsigned int *offset, FMOD_TIMEUNIT offsettype);
FMOD_RESULT F_API addSyncPoint (unsigned int offset, FMOD_TIMEUNIT offsettype, const char *name, FMOD_SYNCPOINT **point);
FMOD_RESULT F_API deleteSyncPoint (FMOD_SYNCPOINT *point);
// Functions also in Channel class but here they are the 'default' to save having to change it in Channel all the time.
FMOD_RESULT F_API setMode (FMOD_MODE mode);
FMOD_RESULT F_API getMode (FMOD_MODE *mode);
FMOD_RESULT F_API setLoopCount (int loopcount);
FMOD_RESULT F_API getLoopCount (int *loopcount);
FMOD_RESULT F_API setLoopPoints (unsigned int loopstart, FMOD_TIMEUNIT loopstarttype, unsigned int loopend, FMOD_TIMEUNIT loopendtype);
FMOD_RESULT F_API getLoopPoints (unsigned int *loopstart, FMOD_TIMEUNIT loopstarttype, unsigned int *loopend, FMOD_TIMEUNIT loopendtype);
// For MOD/S3M/XM/IT/MID sequenced formats only.
FMOD_RESULT F_API getMusicNumChannels (int *numchannels);
FMOD_RESULT F_API setMusicChannelVolume (int channel, float volume);
FMOD_RESULT F_API getMusicChannelVolume (int channel, float *volume);
FMOD_RESULT F_API setMusicSpeed (float speed);
FMOD_RESULT F_API getMusicSpeed (float *speed);
// Userdata set/get.
FMOD_RESULT F_API setUserData (void *userdata);
FMOD_RESULT F_API getUserData (void **userdata);
FMOD_RESULT F_API getMemoryInfo (unsigned int memorybits, unsigned int event_memorybits, unsigned int *memoryused, FMOD_MEMORY_USAGE_DETAILS *memoryused_details);
};
/*
'Channel' API.
*/
class Channel
{
private:
Channel(); /* Constructor made private so user cannot statically instance a Channel class.
Appropriate Channel creation or retrieval function must be used. */
public:
FMOD_RESULT F_API getSystemObject (System **system);
FMOD_RESULT F_API stop ();
FMOD_RESULT F_API setPaused (bool paused);
FMOD_RESULT F_API getPaused (bool *paused);
FMOD_RESULT F_API setVolume (float volume);
FMOD_RESULT F_API getVolume (float *volume);
FMOD_RESULT F_API setFrequency (float frequency);
FMOD_RESULT F_API getFrequency (float *frequency);
FMOD_RESULT F_API setPan (float pan);
FMOD_RESULT F_API getPan (float *pan);
FMOD_RESULT F_API setDelay (FMOD_DELAYTYPE delaytype, unsigned int delayhi, unsigned int delaylo);
FMOD_RESULT F_API getDelay (FMOD_DELAYTYPE delaytype, unsigned int *delayhi, unsigned int *delaylo);
FMOD_RESULT F_API setSpeakerMix (float frontleft, float frontright, float center, float lfe, float backleft, float backright, float sideleft, float sideright);
FMOD_RESULT F_API getSpeakerMix (float *frontleft, float *frontright, float *center, float *lfe, float *backleft, float *backright, float *sideleft, float *sideright);
FMOD_RESULT F_API setSpeakerLevels (FMOD_SPEAKER speaker, float *levels, int numlevels);
FMOD_RESULT F_API getSpeakerLevels (FMOD_SPEAKER speaker, float *levels, int numlevels);
FMOD_RESULT F_API setInputChannelMix (float *levels, int numlevels);
FMOD_RESULT F_API getInputChannelMix (float *levels, int numlevels);
FMOD_RESULT F_API setMute (bool mute);
FMOD_RESULT F_API getMute (bool *mute);
FMOD_RESULT F_API setPriority (int priority);
FMOD_RESULT F_API getPriority (int *priority);
FMOD_RESULT F_API setPosition (unsigned int position, FMOD_TIMEUNIT postype);
FMOD_RESULT F_API getPosition (unsigned int *position, FMOD_TIMEUNIT postype);
FMOD_RESULT F_API setReverbProperties (const FMOD_REVERB_CHANNELPROPERTIES *prop);
FMOD_RESULT F_API getReverbProperties (FMOD_REVERB_CHANNELPROPERTIES *prop);
FMOD_RESULT F_API setLowPassGain (float gain);
FMOD_RESULT F_API getLowPassGain (float *gain);
FMOD_RESULT F_API setChannelGroup (ChannelGroup *channelgroup);
FMOD_RESULT F_API getChannelGroup (ChannelGroup **channelgroup);
FMOD_RESULT F_API setCallback (FMOD_CHANNEL_CALLBACK callback);
// 3D functionality.
FMOD_RESULT F_API set3DAttributes (const FMOD_VECTOR *pos, const FMOD_VECTOR *vel);
FMOD_RESULT F_API get3DAttributes (FMOD_VECTOR *pos, FMOD_VECTOR *vel);
FMOD_RESULT F_API set3DMinMaxDistance (float mindistance, float maxdistance);
FMOD_RESULT F_API get3DMinMaxDistance (float *mindistance, float *maxdistance);
FMOD_RESULT F_API set3DConeSettings (float insideconeangle, float outsideconeangle, float outsidevolume);
FMOD_RESULT F_API get3DConeSettings (float *insideconeangle, float *outsideconeangle, float *outsidevolume);
FMOD_RESULT F_API set3DConeOrientation (FMOD_VECTOR *orientation);
FMOD_RESULT F_API get3DConeOrientation (FMOD_VECTOR *orientation);
FMOD_RESULT F_API set3DCustomRolloff (FMOD_VECTOR *points, int numpoints);
FMOD_RESULT F_API get3DCustomRolloff (FMOD_VECTOR **points, int *numpoints);
FMOD_RESULT F_API set3DOcclusion (float directocclusion, float reverbocclusion);
FMOD_RESULT F_API get3DOcclusion (float *directocclusion, float *reverbocclusion);
FMOD_RESULT F_API set3DSpread (float angle);
FMOD_RESULT F_API get3DSpread (float *angle);
FMOD_RESULT F_API set3DPanLevel (float level);
FMOD_RESULT F_API get3DPanLevel (float *level);
FMOD_RESULT F_API set3DDopplerLevel (float level);
FMOD_RESULT F_API get3DDopplerLevel (float *level);
FMOD_RESULT F_API set3DDistanceFilter (bool custom, float customLevel, float centerFreq);
FMOD_RESULT F_API get3DDistanceFilter (bool *custom, float *customLevel, float *centerFreq);
// DSP functionality only for channels playing sounds created with FMOD_SOFTWARE.
FMOD_RESULT F_API getDSPHead (DSP **dsp);
FMOD_RESULT F_API addDSP (DSP *dsp, DSPConnection **connection);
// Information only functions.
FMOD_RESULT F_API isPlaying (bool *isplaying);
FMOD_RESULT F_API isVirtual (bool *isvirtual);
FMOD_RESULT F_API getAudibility (float *audibility);
FMOD_RESULT F_API getCurrentSound (Sound **sound);
FMOD_RESULT F_API getSpectrum (float *spectrumarray, int numvalues, int channeloffset, FMOD_DSP_FFT_WINDOW windowtype);
FMOD_RESULT F_API getWaveData (float *wavearray, int numvalues, int channeloffset);
FMOD_RESULT F_API getIndex (int *index);
// Functions also found in Sound class but here they can be set per channel.
FMOD_RESULT F_API setMode (FMOD_MODE mode);
FMOD_RESULT F_API getMode (FMOD_MODE *mode);
FMOD_RESULT F_API setLoopCount (int loopcount);
FMOD_RESULT F_API getLoopCount (int *loopcount);
FMOD_RESULT F_API setLoopPoints (unsigned int loopstart, FMOD_TIMEUNIT loopstarttype, unsigned int loopend, FMOD_TIMEUNIT loopendtype);
FMOD_RESULT F_API getLoopPoints (unsigned int *loopstart, FMOD_TIMEUNIT loopstarttype, unsigned int *loopend, FMOD_TIMEUNIT loopendtype);
// Userdata set/get.
FMOD_RESULT F_API setUserData (void *userdata);
FMOD_RESULT F_API getUserData (void **userdata);
FMOD_RESULT F_API getMemoryInfo (unsigned int memorybits, unsigned int event_memorybits, unsigned int *memoryused, FMOD_MEMORY_USAGE_DETAILS *memoryused_details);
};
/*
'ChannelGroup' API
*/
class ChannelGroup
{
private:
ChannelGroup(); /* Constructor made private so user cannot statically instance a ChannelGroup class.
Appropriate ChannelGroup creation or retrieval function must be used. */
public:
FMOD_RESULT F_API release ();
FMOD_RESULT F_API getSystemObject (System **system);
// Channelgroup scale values. (changes attributes relative to the channels, doesn't overwrite them)
FMOD_RESULT F_API setVolume (float volume);
FMOD_RESULT F_API getVolume (float *volume);
FMOD_RESULT F_API setPitch (float pitch);
FMOD_RESULT F_API getPitch (float *pitch);
FMOD_RESULT F_API set3DOcclusion (float directocclusion, float reverbocclusion);
FMOD_RESULT F_API get3DOcclusion (float *directocclusion, float *reverbocclusion);
FMOD_RESULT F_API setPaused (bool paused);
FMOD_RESULT F_API getPaused (bool *paused);
FMOD_RESULT F_API setMute (bool mute);
FMOD_RESULT F_API getMute (bool *mute);
// Channelgroup override values. (recursively overwrites whatever settings the channels had)
FMOD_RESULT F_API stop ();
FMOD_RESULT F_API overrideVolume (float volume);
FMOD_RESULT F_API overrideFrequency (float frequency);
FMOD_RESULT F_API overridePan (float pan);
FMOD_RESULT F_API overrideReverbProperties(const FMOD_REVERB_CHANNELPROPERTIES *prop);
FMOD_RESULT F_API override3DAttributes (const FMOD_VECTOR *pos, const FMOD_VECTOR *vel);
FMOD_RESULT F_API overrideSpeakerMix (float frontleft, float frontright, float center, float lfe, float backleft, float backright, float sideleft, float sideright);
// Nested channel groups.
FMOD_RESULT F_API addGroup (ChannelGroup *group);
FMOD_RESULT F_API getNumGroups (int *numgroups);
FMOD_RESULT F_API getGroup (int index, ChannelGroup **group);
FMOD_RESULT F_API getParentGroup (ChannelGroup **group);
// DSP functionality only for channel groups playing sounds created with FMOD_SOFTWARE.
FMOD_RESULT F_API getDSPHead (DSP **dsp);
FMOD_RESULT F_API addDSP (DSP *dsp, DSPConnection **connection);
// Information only functions.
FMOD_RESULT F_API getName (char *name, int namelen);
FMOD_RESULT F_API getNumChannels (int *numchannels);
FMOD_RESULT F_API getChannel (int index, Channel **channel);
FMOD_RESULT F_API getSpectrum (float *spectrumarray, int numvalues, int channeloffset, FMOD_DSP_FFT_WINDOW windowtype);
FMOD_RESULT F_API getWaveData (float *wavearray, int numvalues, int channeloffset);
// Userdata set/get.
FMOD_RESULT F_API setUserData (void *userdata);
FMOD_RESULT F_API getUserData (void **userdata);
FMOD_RESULT F_API getMemoryInfo (unsigned int memorybits, unsigned int event_memorybits, unsigned int *memoryused, FMOD_MEMORY_USAGE_DETAILS *memoryused_details);
};
/*
'SoundGroup' API
*/
class SoundGroup
{
private:
SoundGroup(); /* Constructor made private so user cannot statically instance a SoundGroup class.
Appropriate SoundGroup creation or retrieval function must be used. */
public:
FMOD_RESULT F_API release ();
FMOD_RESULT F_API getSystemObject (System **system);
// SoundGroup control functions.
FMOD_RESULT F_API setMaxAudible (int maxaudible);
FMOD_RESULT F_API getMaxAudible (int *maxaudible);
FMOD_RESULT F_API setMaxAudibleBehavior (FMOD_SOUNDGROUP_BEHAVIOR behavior);
FMOD_RESULT F_API getMaxAudibleBehavior (FMOD_SOUNDGROUP_BEHAVIOR *behavior);
FMOD_RESULT F_API setMuteFadeSpeed (float speed);
FMOD_RESULT F_API getMuteFadeSpeed (float *speed);
FMOD_RESULT F_API setVolume (float volume);
FMOD_RESULT F_API getVolume (float *volume);
FMOD_RESULT F_API stop ();
// Information only functions.
FMOD_RESULT F_API getName (char *name, int namelen);
FMOD_RESULT F_API getNumSounds (int *numsounds);
FMOD_RESULT F_API getSound (int index, Sound **sound);
FMOD_RESULT F_API getNumPlaying (int *numplaying);
// Userdata set/get.
FMOD_RESULT F_API setUserData (void *userdata);
FMOD_RESULT F_API getUserData (void **userdata);
FMOD_RESULT F_API getMemoryInfo (unsigned int memorybits, unsigned int event_memorybits, unsigned int *memoryused, FMOD_MEMORY_USAGE_DETAILS *memoryused_details);
};
/*
'DSP' API
*/
class DSP
{
private:
DSP(); /* Constructor made private so user cannot statically instance a DSP class.
Appropriate DSP creation or retrieval function must be used. */
public:
FMOD_RESULT F_API release ();
FMOD_RESULT F_API getSystemObject (System **system);
// Connection / disconnection / input and output enumeration.
FMOD_RESULT F_API addInput (DSP *target, DSPConnection **connection);
FMOD_RESULT F_API disconnectFrom (DSP *target);
FMOD_RESULT F_API disconnectAll (bool inputs, bool outputs);
FMOD_RESULT F_API remove ();
FMOD_RESULT F_API getNumInputs (int *numinputs);
FMOD_RESULT F_API getNumOutputs (int *numoutputs);
FMOD_RESULT F_API getInput (int index, DSP **input, DSPConnection **inputconnection);
FMOD_RESULT F_API getOutput (int index, DSP **output, DSPConnection **outputconnection);
// DSP unit control.
FMOD_RESULT F_API setActive (bool active);
FMOD_RESULT F_API getActive (bool *active);
FMOD_RESULT F_API setBypass (bool bypass);
FMOD_RESULT F_API getBypass (bool *bypass);
FMOD_RESULT F_API setSpeakerActive (FMOD_SPEAKER speaker, bool active);
FMOD_RESULT F_API getSpeakerActive (FMOD_SPEAKER speaker, bool *active);
FMOD_RESULT F_API reset ();
// DSP parameter control.
FMOD_RESULT F_API setParameter (int index, float value);
FMOD_RESULT F_API getParameter (int index, float *value, char *valuestr, int valuestrlen);
FMOD_RESULT F_API getNumParameters (int *numparams);
FMOD_RESULT F_API getParameterInfo (int index, char *name, char *label, char *description, int descriptionlen, float *min, float *max);
FMOD_RESULT F_API showConfigDialog (void *hwnd, bool show);
// DSP attributes.
FMOD_RESULT F_API getInfo (char *name, unsigned int *version, int *channels, int *configwidth, int *configheight);
FMOD_RESULT F_API getType (FMOD_DSP_TYPE *type);
FMOD_RESULT F_API setDefaults (float frequency, float volume, float pan, int priority);
FMOD_RESULT F_API getDefaults (float *frequency, float *volume, float *pan, int *priority);
// Userdata set/get.
FMOD_RESULT F_API setUserData (void *userdata);
FMOD_RESULT F_API getUserData (void **userdata);
FMOD_RESULT F_API getMemoryInfo (unsigned int memorybits, unsigned int event_memorybits, unsigned int *memoryused, FMOD_MEMORY_USAGE_DETAILS *memoryused_details);
};
/*
'DSPConnection' API
*/
class DSPConnection
{
private:
DSPConnection(); /* Constructor made private so user cannot statically instance a DSPConnection class.
Appropriate DSPConnection creation or retrieval function must be used. */
public:
FMOD_RESULT F_API getInput (DSP **input);
FMOD_RESULT F_API getOutput (DSP **output);
FMOD_RESULT F_API setMix (float volume);
FMOD_RESULT F_API getMix (float *volume);
FMOD_RESULT F_API setLevels (FMOD_SPEAKER speaker, float *levels, int numlevels);
FMOD_RESULT F_API getLevels (FMOD_SPEAKER speaker, float *levels, int numlevels);
// Userdata set/get.
FMOD_RESULT F_API setUserData (void *userdata);
FMOD_RESULT F_API getUserData (void **userdata);
FMOD_RESULT F_API getMemoryInfo (unsigned int memorybits, unsigned int event_memorybits, unsigned int *memoryused, FMOD_MEMORY_USAGE_DETAILS *memoryused_details);
};
/*
'Geometry' API
*/
class Geometry
{
private:
Geometry(); /* Constructor made private so user cannot statically instance a Geometry class.
Appropriate Geometry creation or retrieval function must be used. */
public:
FMOD_RESULT F_API release ();
// Polygon manipulation.
FMOD_RESULT F_API addPolygon (float directocclusion, float reverbocclusion, bool doublesided, int numvertices, const FMOD_VECTOR *vertices, int *polygonindex);
FMOD_RESULT F_API getNumPolygons (int *numpolygons);
FMOD_RESULT F_API getMaxPolygons (int *maxpolygons, int *maxvertices);
FMOD_RESULT F_API getPolygonNumVertices (int index, int *numvertices);
FMOD_RESULT F_API setPolygonVertex (int index, int vertexindex, const FMOD_VECTOR *vertex);
FMOD_RESULT F_API getPolygonVertex (int index, int vertexindex, FMOD_VECTOR *vertex);
FMOD_RESULT F_API setPolygonAttributes (int index, float directocclusion, float reverbocclusion, bool doublesided);
FMOD_RESULT F_API getPolygonAttributes (int index, float *directocclusion, float *reverbocclusion, bool *doublesided);
// Object manipulation.
FMOD_RESULT F_API setActive (bool active);
FMOD_RESULT F_API getActive (bool *active);
FMOD_RESULT F_API setRotation (const FMOD_VECTOR *forward, const FMOD_VECTOR *up);
FMOD_RESULT F_API getRotation (FMOD_VECTOR *forward, FMOD_VECTOR *up);
FMOD_RESULT F_API setPosition (const FMOD_VECTOR *position);
FMOD_RESULT F_API getPosition (FMOD_VECTOR *position);
FMOD_RESULT F_API setScale (const FMOD_VECTOR *scale);
FMOD_RESULT F_API getScale (FMOD_VECTOR *scale);
FMOD_RESULT F_API save (void *data, int *datasize);
// Userdata set/get.
FMOD_RESULT F_API setUserData (void *userdata);
FMOD_RESULT F_API getUserData (void **userdata);
FMOD_RESULT F_API getMemoryInfo (unsigned int memorybits, unsigned int event_memorybits, unsigned int *memoryused, FMOD_MEMORY_USAGE_DETAILS *memoryused_details);
};
/*
'Reverb' API
*/
class Reverb
{
private:
Reverb(); /* Constructor made private so user cannot statically instance a Reverb class.
Appropriate Reverb creation or retrieval function must be used. */
public:
FMOD_RESULT F_API release ();
// Reverb manipulation.
FMOD_RESULT F_API set3DAttributes (const FMOD_VECTOR *position, float mindistance, float maxdistance);
FMOD_RESULT F_API get3DAttributes (FMOD_VECTOR *position, float *mindistance,float *maxdistance);
FMOD_RESULT F_API setProperties (const FMOD_REVERB_PROPERTIES *properties);
FMOD_RESULT F_API getProperties (FMOD_REVERB_PROPERTIES *properties);
FMOD_RESULT F_API setActive (bool active);
FMOD_RESULT F_API getActive (bool *active);
// Userdata set/get.
FMOD_RESULT F_API setUserData (void *userdata);
FMOD_RESULT F_API getUserData (void **userdata);
FMOD_RESULT F_API getMemoryInfo (unsigned int memorybits, unsigned int event_memorybits, unsigned int *memoryused, FMOD_MEMORY_USAGE_DETAILS *memoryused_details);
};
}
#endif
FMOD::Sound::set3DMinMaxDistance
FMOD_RESULT F_API set3DMinMaxDistance(float min, float max)
FMOD::System::getGeometryOcclusion
FMOD_RESULT F_API getGeometryOcclusion(const FMOD_VECTOR *listener, const FMOD_VECTOR *source, float *direct, float *reverb)
FMOD::Channel::set3DDistanceFilter
FMOD_RESULT F_API set3DDistanceFilter(bool custom, float customLevel, float centerFreq)
FMOD::DSP::getBypass
FMOD_RESULT F_API getBypass(bool *bypass)
FMOD_SPEAKER
FMOD_SPEAKER
Definition: fmod.h:662
FMOD::System::getHardwareChannels
FMOD_RESULT F_API getHardwareChannels(int *numhardwarechannels)
FMOD::Sound::getSystemObject
FMOD_RESULT F_API getSystemObject(System **system)
FMOD::Channel::setPaused
FMOD_RESULT F_API setPaused(bool paused)
FMOD::Reverb::setProperties
FMOD_RESULT F_API setProperties(const FMOD_REVERB_PROPERTIES *properties)
FMOD::System::getVersion
FMOD_RESULT F_API getVersion(unsigned int *version)
FMOD::Geometry::getPolygonNumVertices
FMOD_RESULT F_API getPolygonNumVertices(int index, int *numvertices)
FMOD::Channel::getIndex
FMOD_RESULT F_API getIndex(int *index)
FMOD::ChannelGroup::release
FMOD_RESULT F_API release()
FMOD::Channel::set3DSpread
FMOD_RESULT F_API set3DSpread(float angle)
FMOD::System::createDSPByPlugin
FMOD_RESULT F_API createDSPByPlugin(unsigned int handle, DSP **dsp)
FMOD::SoundGroup::getUserData
FMOD_RESULT F_API getUserData(void **userdata)
FMOD::DSP::addInput
FMOD_RESULT F_API addInput(DSP *target, DSPConnection **connection)
FMOD::Sound::getNumSubSounds
FMOD_RESULT F_API getNumSubSounds(int *numsubsounds)
FMOD_DEBUGLEVEL
unsigned int FMOD_DEBUGLEVEL
Definition: fmod.h:79
FMOD_PLUGINTYPE
FMOD_PLUGINTYPE
Definition: fmod.h:700
FMOD_SOUND_FORMAT
FMOD_SOUND_FORMAT
Definition: fmod.h:826
FMOD::Channel::getLoopPoints
FMOD_RESULT F_API getLoopPoints(unsigned int *loopstart, FMOD_TIMEUNIT loopstarttype, unsigned int *loopend, FMOD_TIMEUNIT loopendtype)
FMOD::Channel::getDelay
FMOD_RESULT F_API getDelay(FMOD_DELAYTYPE delaytype, unsigned int *delayhi, unsigned int *delaylo)
FMOD_Debug_SetLevel
FMOD_RESULT F_API FMOD_Debug_SetLevel(FMOD_DEBUGLEVEL level)
FMOD::ChannelGroup::getUserData
FMOD_RESULT F_API getUserData(void **userdata)
FMOD::Channel::set3DConeSettings
FMOD_RESULT F_API set3DConeSettings(float insideconeangle, float outsideconeangle, float outsidevolume)
FMOD::Geometry::getPosition
FMOD_RESULT F_API getPosition(FMOD_VECTOR *position)
FMOD::SoundGroup::setMuteFadeSpeed
FMOD_RESULT F_API setMuteFadeSpeed(float speed)
FMOD::System::getRecordPosition
FMOD_RESULT F_API getRecordPosition(int id, unsigned int *position)
FMOD::DSPConnection::getMemoryInfo
FMOD_RESULT F_API getMemoryInfo(unsigned int memorybits, unsigned int event_memorybits, unsigned int *memoryused, FMOD_MEMORY_USAGE_DETAILS *memoryused_details)
FMOD_TAG
Definition: fmod.h:1305
FMOD::System::createStream
FMOD_RESULT F_API createStream(const char *name_or_data, FMOD_MODE mode, FMOD_CREATESOUNDEXINFO *exinfo, Sound **sound)
FMOD::System::attachFileSystem
FMOD_RESULT F_API attachFileSystem(FMOD_FILE_OPENCALLBACK useropen, FMOD_FILE_CLOSECALLBACK userclose, FMOD_FILE_READCALLBACK userread, FMOD_FILE_SEEKCALLBACK userseek)
FMOD::DSP::setUserData
FMOD_RESULT F_API setUserData(void *userdata)
FMOD::System::setSoftwareFormat
FMOD_RESULT F_API setSoftwareFormat(int samplerate, FMOD_SOUND_FORMAT format, int numoutputchannels, int maxinputchannels, FMOD_DSP_RESAMPLER resamplemethod)
FMOD::System::set3DSettings
FMOD_RESULT F_API set3DSettings(float dopplerscale, float distancefactor, float rolloffscale)
FMOD::Geometry::setUserData
FMOD_RESULT F_API setUserData(void *userdata)
FMOD::Channel::getPaused
FMOD_RESULT F_API getPaused(bool *paused)
FMOD::Channel::set3DDopplerLevel
FMOD_RESULT F_API set3DDopplerLevel(float level)
FMOD_INITFLAGS
unsigned int FMOD_INITFLAGS
Definition: fmod.h:77
FMOD::Channel::get3DSpread
FMOD_RESULT F_API get3DSpread(float *angle)
FMOD::Sound::deleteSyncPoint
FMOD_RESULT F_API deleteSyncPoint(FMOD_SYNCPOINT *point)
FMOD::Channel::getAudibility
FMOD_RESULT F_API getAudibility(float *audibility)
FMOD::Sound::getMemoryInfo
FMOD_RESULT F_API getMemoryInfo(unsigned int memorybits, unsigned int event_memorybits, unsigned int *memoryused, FMOD_MEMORY_USAGE_DETAILS *memoryused_details)
hwnd
void * hwnd
Definition: fmod_dsp.h:28
FMOD_Memory_Initialize
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)
FMOD_SYNCPOINT
struct FMOD_SYNCPOINT FMOD_SYNCPOINT
Definition: fmod.h:74
FMOD::Channel::setSpeakerLevels
FMOD_RESULT F_API setSpeakerLevels(FMOD_SPEAKER speaker, float *levels, int numlevels)
FMOD::Channel::isVirtual
FMOD_RESULT F_API isVirtual(bool *isvirtual)
FMOD_OUTPUTTYPE
FMOD_OUTPUTTYPE
Definition: fmod.h:347
FMOD::Debug_SetLevel
FMOD_RESULT Debug_SetLevel(FMOD_DEBUGLEVEL level)
Definition: fmod.hpp:37
FMOD::Sound::getSyncPointInfo
FMOD_RESULT F_API getSyncPointInfo(FMOD_SYNCPOINT *point, char *name, int namelen, unsigned int *offset, FMOD_TIMEUNIT offsettype)
FMOD::DSPConnection::setUserData
FMOD_RESULT F_API setUserData(void *userdata)
FMOD::Channel::setMute
FMOD_RESULT F_API setMute(bool mute)
FMOD::DSP::setDefaults
FMOD_RESULT F_API setDefaults(float frequency, float volume, float pan, int priority)
FMOD::Channel::get3DMinMaxDistance
FMOD_RESULT F_API get3DMinMaxDistance(float *mindistance, float *maxdistance)
FMOD::DSP::getInput
FMOD_RESULT F_API getInput(int index, DSP **input, DSPConnection **inputconnection)
FMOD::Channel::get3DCustomRolloff
FMOD_RESULT F_API get3DCustomRolloff(FMOD_VECTOR **points, int *numpoints)
FMOD::Geometry::getUserData
FMOD_RESULT F_API getUserData(void **userdata)
FMOD::DSP::getParameterInfo
FMOD_RESULT F_API getParameterInfo(int index, char *name, char *label, char *description, int descriptionlen, float *min, float *max)
FMOD::Geometry::getActive
FMOD_RESULT F_API getActive(bool *active)
FMOD::ChannelGroup::overrideVolume
FMOD_RESULT F_API overrideVolume(float volume)
FMOD::System::createSound
FMOD_RESULT F_API createSound(const char *name_or_data, FMOD_MODE mode, FMOD_CREATESOUNDEXINFO *exinfo, Sound **sound)
FMOD::System::unlockDSP
FMOD_RESULT F_API unlockDSP()
FMOD::SoundGroup::getMemoryInfo
FMOD_RESULT F_API getMemoryInfo(unsigned int memorybits, unsigned int event_memorybits, unsigned int *memoryused, FMOD_MEMORY_USAGE_DETAILS *memoryused_details)
FMOD::ChannelGroup::getWaveData
FMOD_RESULT F_API getWaveData(float *wavearray, int numvalues, int channeloffset)
FMOD::Sound::getMusicSpeed
FMOD_RESULT F_API getMusicSpeed(float *speed)
FMOD::Channel::getWaveData
FMOD_RESULT F_API getWaveData(float *wavearray, int numvalues, int channeloffset)
FMOD::System::getMemoryInfo
FMOD_RESULT F_API getMemoryInfo(unsigned int memorybits, unsigned int event_memorybits, unsigned int *memoryused, FMOD_MEMORY_USAGE_DETAILS *memoryused_details)
FMOD_SOUND_TYPE
FMOD_SOUND_TYPE
Definition: fmod.h:772
name
FMOD_TAGTYPE char * name
Definition: fmod_codec.h:26
FMOD::Channel::setLoopPoints
FMOD_RESULT F_API setLoopPoints(unsigned int loopstart, FMOD_TIMEUNIT loopstarttype, unsigned int loopend, FMOD_TIMEUNIT loopendtype)
FMOD::System::getWaveData
FMOD_RESULT F_API getWaveData(float *wavearray, int numvalues, int channeloffset)
sound
int FMOD_SOUND * sound
Definition: fmod_codec.h:25
FMOD::System::getNetworkTimeout
FMOD_RESULT F_API getNetworkTimeout(int *timeout)
FMOD::Channel::getCurrentSound
FMOD_RESULT F_API getCurrentSound(Sound **sound)
FMOD::Sound::setVariations
FMOD_RESULT F_API setVariations(float frequencyvar, float volumevar, float panvar)
FMOD::ChannelGroup::setVolume
FMOD_RESULT F_API setVolume(float volume)
FMOD::ChannelGroup::setUserData
FMOD_RESULT F_API setUserData(void *userdata)
FMOD::Channel::getUserData
FMOD_RESULT F_API getUserData(void **userdata)
FMOD::DSPConnection::getMix
FMOD_RESULT F_API getMix(float *volume)
FMOD::Channel::set3DPanLevel
FMOD_RESULT F_API set3DPanLevel(float level)
FMOD_Memory_GetStats
FMOD_RESULT F_API FMOD_Memory_GetStats(int *currentalloced, int *maxalloced, FMOD_BOOL blocking)
FMOD::DSPConnection::getUserData
FMOD_RESULT F_API getUserData(void **userdata)
FMOD::ChannelGroup::getName
FMOD_RESULT F_API getName(char *name, int namelen)
flags
int FMOD_INITFLAGS flags
Definition: fmod_output.h:23
FMOD::DSP::showConfigDialog
FMOD_RESULT F_API showConfigDialog(void *hwnd, bool show)
FMOD::DSP::getNumOutputs
FMOD_RESULT F_API getNumOutputs(int *numoutputs)
FMOD::Reverb::release
FMOD_RESULT F_API release()
FMOD::Channel::getSpectrum
FMOD_RESULT F_API getSpectrum(float *spectrumarray, int numvalues, int channeloffset, FMOD_DSP_FFT_WINDOW windowtype)
FMOD::System::getRecordDriverCaps
FMOD_RESULT F_API getRecordDriverCaps(int id, FMOD_CAPS *caps, int *minfrequency, int *maxfrequency)
FMOD::Sound::setLoopPoints
FMOD_RESULT F_API setLoopPoints(unsigned int loopstart, FMOD_TIMEUNIT loopstarttype, unsigned int loopend, FMOD_TIMEUNIT loopendtype)
len2
unsigned int unsigned int void void unsigned int unsigned int * len2
Definition: fmod_output.h:28
FMOD::System::getOutput
FMOD_RESULT F_API getOutput(FMOD_OUTPUTTYPE *output)
FMOD::DSPConnection::setLevels
FMOD_RESULT F_API setLevels(FMOD_SPEAKER speaker, float *levels, int numlevels)
FMOD::Sound::get3DMinMaxDistance
FMOD_RESULT F_API get3DMinMaxDistance(float *min, float *max)
userdata
int unsigned int void void ** userdata
Definition: fmod.h:1080
FMOD::Geometry
Definition: fmod.hpp:538
FMOD::Reverb::getUserData
FMOD_RESULT F_API getUserData(void **userdata)
FMOD::DSP::getActive
FMOD_RESULT F_API getActive(bool *active)
FMOD::Channel::getPriority
FMOD_RESULT F_API getPriority(int *priority)
FMOD::Channel::getLowPassGain
FMOD_RESULT F_API getLowPassGain(float *gain)
FMOD::Channel::get3DDopplerLevel
FMOD_RESULT F_API get3DDopplerLevel(float *level)
FMOD::Sound::seekData
FMOD_RESULT F_API seekData(unsigned int pcm)
FMOD::Channel::setPriority
FMOD_RESULT F_API setPriority(int priority)
FMOD::System::get3DSpeakerPosition
FMOD_RESULT F_API get3DSpeakerPosition(FMOD_SPEAKER speaker, float *x, float *y, bool *active)
FMOD::Sound::getDefaults
FMOD_RESULT F_API getDefaults(float *frequency, float *volume, float *pan, int *priority)
FMOD::Channel::getChannelGroup
FMOD_RESULT F_API getChannelGroup(ChannelGroup **channelgroup)
FMOD::Channel::set3DOcclusion
FMOD_RESULT F_API set3DOcclusion(float directocclusion, float reverbocclusion)
FMOD_DELAYTYPE
FMOD_DELAYTYPE
Definition: fmod.h:1270
FMOD::Geometry::getRotation
FMOD_RESULT F_API getRotation(FMOD_VECTOR *forward, FMOD_VECTOR *up)
FMOD::System::setDriver
FMOD_RESULT F_API setDriver(int driver)
FMOD::System::getChannelsPlaying
FMOD_RESULT F_API getChannelsPlaying(int *channels)
FMOD::Channel::setSpeakerMix
FMOD_RESULT F_API setSpeakerMix(float frontleft, float frontright, float center, float lfe, float backleft, float backright, float sideleft, float sideright)
FMOD::DSPConnection::getOutput
FMOD_RESULT F_API getOutput(DSP **output)
FMOD::Sound::getSyncPoint
FMOD_RESULT F_API getSyncPoint(int index, FMOD_SYNCPOINT **point)
FMOD::System::addDSP
FMOD_RESULT F_API addDSP(DSP *dsp, DSPConnection **connection)
FMOD::ChannelGroup::getDSPHead
FMOD_RESULT F_API getDSPHead(DSP **dsp)
FMOD::System::getChannel
FMOD_RESULT F_API getChannel(int channelid, Channel **channel)
FMOD_MEMORY_REALLOCCALLBACK
void *(F_CALLBACK * FMOD_MEMORY_REALLOCCALLBACK)(void *ptr, unsigned int size, FMOD_MEMORY_TYPE type, const char *sourcestr)
Definition: fmod.h:1088
FMOD_VECTOR
Definition: fmod.h:237
FMOD::Channel::setReverbProperties
FMOD_RESULT F_API setReverbProperties(const FMOD_REVERB_CHANNELPROPERTIES *prop)
FMOD::System::set3DRolloffCallback
FMOD_RESULT F_API set3DRolloffCallback(FMOD_3D_ROLLOFFCALLBACK callback)
FMOD::System::createSoundGroup
FMOD_RESULT F_API createSoundGroup(const char *name, SoundGroup **soundgroup)
FMOD::System::loadPlugin
FMOD_RESULT F_API loadPlugin(const char *filename, unsigned int *handle, unsigned int priority=0)
FMOD::ChannelGroup::getNumGroups
FMOD_RESULT F_API getNumGroups(int *numgroups)
FMOD::System::setGeometrySettings
FMOD_RESULT F_API setGeometrySettings(float maxworldsize)
FMOD::Channel::setFrequency
FMOD_RESULT F_API setFrequency(float frequency)
FMOD_DSP_DESCRIPTION
Definition: fmod_dsp.h:130
FMOD::DSP::getParameter
FMOD_RESULT F_API getParameter(int index, float *value, char *valuestr, int valuestrlen)
FMOD::System::getRecordNumDrivers
FMOD_RESULT F_API getRecordNumDrivers(int *numdrivers)
FMOD::System::close
FMOD_RESULT F_API close()
FMOD::System::getCDROMDriveName
FMOD_RESULT F_API getCDROMDriveName(int drive, char *drivename, int drivenamelen, char *scsiname, int scsinamelen, char *devicename, int devicenamelen)
FMOD::Geometry::release
FMOD_RESULT F_API release()
FMOD_CAPS
unsigned int FMOD_CAPS
Definition: fmod.h:78
FMOD::ChannelGroup::getSystemObject
FMOD_RESULT F_API getSystemObject(System **system)
FMOD::SoundGroup::setUserData
FMOD_RESULT F_API setUserData(void *userdata)
FMOD::System::setSpeakerMode
FMOD_RESULT F_API setSpeakerMode(FMOD_SPEAKERMODE speakermode)
FMOD::ChannelGroup::getPaused
FMOD_RESULT F_API getPaused(bool *paused)
FMOD::ChannelGroup::getGroup
FMOD_RESULT F_API getGroup(int index, ChannelGroup **group)
FMOD::Channel::getSpeakerMix
FMOD_RESULT F_API getSpeakerMix(float *frontleft, float *frontright, float *center, float *lfe, float *backleft, float *backright, float *sideleft, float *sideright)
FMOD::Memory_GetStats
FMOD_RESULT Memory_GetStats(int *currentalloced, int *maxalloced, bool blocking=true)
Definition: fmod.hpp:36
FMOD::System::get3DListenerAttributes
FMOD_RESULT F_API get3DListenerAttributes(int listener, FMOD_VECTOR *pos, FMOD_VECTOR *vel, FMOD_VECTOR *forward, FMOD_VECTOR *up)
FMOD::System::getReverbAmbientProperties
FMOD_RESULT F_API getReverbAmbientProperties(FMOD_REVERB_PROPERTIES *prop)
FMOD::ChannelGroup::getSpectrum
FMOD_RESULT F_API getSpectrum(float *spectrumarray, int numvalues, int channeloffset, FMOD_DSP_FFT_WINDOW windowtype)
FMOD::Geometry::setActive
FMOD_RESULT F_API setActive(bool active)
FMOD::Sound::setSubSound
FMOD_RESULT F_API setSubSound(int index, Sound *subsound)
FMOD::Channel::getMute
FMOD_RESULT F_API getMute(bool *mute)
FMOD::System::getNumPlugins
FMOD_RESULT F_API getNumPlugins(FMOD_PLUGINTYPE plugintype, int *numplugins)
FMOD_ADVANCEDSETTINGS
Definition: fmod.h:1792
FMOD::Geometry::getNumPolygons
FMOD_RESULT F_API getNumPolygons(int *numpolygons)
FMOD::System::getNetworkProxy
FMOD_RESULT F_API getNetworkProxy(char *proxy, int proxylen)
FMOD::SoundGroup::release
FMOD_RESULT F_API release()
FMOD::Sound::getNumSyncPoints
FMOD_RESULT F_API getNumSyncPoints(int *numsyncpoints)
FMOD::System::createGeometry
FMOD_RESULT F_API createGeometry(int maxpolygons, int maxvertices, Geometry **geometry)
FMOD::DSP::setBypass
FMOD_RESULT F_API setBypass(bool bypass)
FMOD::Geometry::getPolygonVertex
FMOD_RESULT F_API getPolygonVertex(int index, int vertexindex, FMOD_VECTOR *vertex)
FMOD::System::registerDSP
FMOD_RESULT F_API registerDSP(FMOD_DSP_DESCRIPTION *description, unsigned int *handle)
FMOD::System::playSound
FMOD_RESULT F_API playSound(FMOD_CHANNELINDEX channelid, Sound *sound, bool paused, Channel **channel)
FMOD::ChannelGroup::getPitch
FMOD_RESULT F_API getPitch(float *pitch)
FMOD::System::update
FMOD_RESULT F_API update()
FMOD_SYSTEM_CALLBACKTYPE
FMOD_SYSTEM_CALLBACKTYPE
Definition: fmod.h:1054
pcm
unsigned int * pcm
Definition: fmod_output.h:27
FMOD::DSPConnection
Definition: fmod.hpp:511
FMOD::Reverb::setUserData
FMOD_RESULT F_API setUserData(void *userdata)
FMOD_RESULT
FMOD_RESULT
Definition: fmod.h:97
FMOD::System::getNumDrivers
FMOD_RESULT F_API getNumDrivers(int *numdrivers)
FMOD::Sound::release
FMOD_RESULT F_API release()
FMOD::ChannelGroup::overridePan
FMOD_RESULT F_API overridePan(float pan)
FMOD_CHANNELINDEX
FMOD_CHANNELINDEX
Definition: fmod.h:1843
FMOD::Channel::setVolume
FMOD_RESULT F_API setVolume(float volume)
FMOD::System::setUserData
FMOD_RESULT F_API setUserData(void *userdata)
FMOD::Channel::get3DOcclusion
FMOD_RESULT F_API get3DOcclusion(float *directocclusion, float *reverbocclusion)
FMOD::System::set3DListenerAttributes
FMOD_RESULT F_API set3DListenerAttributes(int listener, const FMOD_VECTOR *pos, const FMOD_VECTOR *vel, const FMOD_VECTOR *forward, const FMOD_VECTOR *up)
ptr1
unsigned int unsigned int void ** ptr1
Definition: fmod_output.h:28
FMOD::Sound::getMusicNumChannels
FMOD_RESULT F_API getMusicNumChannels(int *numchannels)
FMOD_CODEC_DESCRIPTION
Definition: fmod_codec.h:47
FMOD_File_SetDiskBusy
FMOD_RESULT F_API FMOD_File_SetDiskBusy(int busy)
FMOD::Channel::getLoopCount
FMOD_RESULT F_API getLoopCount(int *loopcount)
FMOD::System::getDriverInfoW
FMOD_RESULT F_API getDriverInfoW(int id, short *name, int namelen, FMOD_GUID *guid)
FMOD::System::getDriver
FMOD_RESULT F_API getDriver(int *driver)
FMOD::Channel::getSpeakerLevels
FMOD_RESULT F_API getSpeakerLevels(FMOD_SPEAKER speaker, float *levels, int numlevels)
FMOD::System::createDSPByType
FMOD_RESULT F_API createDSPByType(FMOD_DSP_TYPE type, DSP **dsp)
handle
int unsigned int void ** handle
Definition: fmod.h:1080
FMOD::Reverb
Definition: fmod.hpp:581
FMOD::System::getOutputByPlugin
FMOD_RESULT F_API getOutputByPlugin(unsigned int *handle)
FMOD::Sound::getLoopPoints
FMOD_RESULT F_API getLoopPoints(unsigned int *loopstart, FMOD_TIMEUNIT loopstarttype, unsigned int *loopend, FMOD_TIMEUNIT loopendtype)
FMOD::System::getRecordDriverInfoW
FMOD_RESULT F_API getRecordDriverInfoW(int id, short *name, int namelen, FMOD_GUID *guid)
FMOD_System_Create
FMOD_RESULT F_API FMOD_System_Create(FMOD_SYSTEM **system)
FMOD::Channel::addDSP
FMOD_RESULT F_API addDSP(DSP *dsp, DSPConnection **connection)
FMOD_REVERB_CHANNELPROPERTIES
Definition: fmod.h:1720
FMOD::SoundGroup::getVolume
FMOD_RESULT F_API getVolume(float *volume)
FMOD::Sound::getMode
FMOD_RESULT F_API getMode(FMOD_MODE *mode)
FMOD::Geometry::addPolygon
FMOD_RESULT F_API addPolygon(float directocclusion, float reverbocclusion, bool doublesided, int numvertices, const FMOD_VECTOR *vertices, int *polygonindex)
show
void int show
Definition: fmod_dsp.h:28
FMOD::System::setNetworkProxy
FMOD_RESULT F_API setNetworkProxy(const char *proxy)
FMOD::System::getUserData
FMOD_RESULT F_API getUserData(void **userdata)
FMOD::System::set3DSpeakerPosition
FMOD_RESULT F_API set3DSpeakerPosition(FMOD_SPEAKER speaker, float x, float y, bool active)
FMOD::Sound::setMode
FMOD_RESULT F_API setMode(FMOD_MODE mode)
FMOD::Channel::setLoopCount
FMOD_RESULT F_API setLoopCount(int loopcount)
FMOD::Sound::getTag
FMOD_RESULT F_API getTag(const char *name, int index, FMOD_TAG *tag)
FMOD::DSP::release
FMOD_RESULT F_API release()
FMOD::System::getNumCDROMDrives
FMOD_RESULT F_API getNumCDROMDrives(int *numdrives)
FMOD_SOUNDGROUP_BEHAVIOR
FMOD_SOUNDGROUP_BEHAVIOR
Definition: fmod.h:986
FMOD::System
Definition: fmod.hpp:51
FMOD::Sound::addSyncPoint
FMOD_RESULT F_API addSyncPoint(unsigned int offset, FMOD_TIMEUNIT offsettype, const char *name, FMOD_SYNCPOINT **point)
FMOD::DSP::getNumParameters
FMOD_RESULT F_API getNumParameters(int *numparams)
position
int unsigned int position
Definition: fmod_codec.h:23
F_API
#define F_API
Definition: fmod.h:54
FMOD::Sound::getMusicChannelVolume
FMOD_RESULT F_API getMusicChannelVolume(int channel, float *volume)
FMOD::Channel::getPan
FMOD_RESULT F_API getPan(float *pan)
FMOD::Geometry::getMemoryInfo
FMOD_RESULT F_API getMemoryInfo(unsigned int memorybits, unsigned int event_memorybits, unsigned int *memoryused, FMOD_MEMORY_USAGE_DETAILS *memoryused_details)
FMOD_Debug_GetLevel
FMOD_RESULT F_API FMOD_Debug_GetLevel(FMOD_DEBUGLEVEL *level)
FMOD::ChannelGroup::addDSP
FMOD_RESULT F_API addDSP(DSP *dsp, DSPConnection **connection)
FMOD::SoundGroup::getMaxAudibleBehavior
FMOD_RESULT F_API getMaxAudibleBehavior(FMOD_SOUNDGROUP_BEHAVIOR *behavior)
FMOD::Memory_Initialize
FMOD_RESULT Memory_Initialize(void *poolmem, int poollen, FMOD_MEMORY_ALLOCCALLBACK useralloc, FMOD_MEMORY_REALLOCCALLBACK userrealloc, FMOD_MEMORY_FREECALLBACK userfree, FMOD_MEMORY_TYPE memtypeflags=FMOD_MEMORY_ALL)
Definition: fmod.hpp:35
FMOD::Channel::setCallback
FMOD_RESULT F_API setCallback(FMOD_CHANNEL_CALLBACK callback)
postype
int unsigned int FMOD_TIMEUNIT postype
Definition: fmod_codec.h:23
FMOD::System::getSoftwareFormat
FMOD_RESULT F_API getSoftwareFormat(int *samplerate, FMOD_SOUND_FORMAT *format, int *numoutputchannels, int *maxinputchannels, FMOD_DSP_RESAMPLER *resamplemethod, int *bits)
FMOD::Sound::setUserData
FMOD_RESULT F_API setUserData(void *userdata)
FMOD::Sound::getOpenState
FMOD_RESULT F_API getOpenState(FMOD_OPENSTATE *openstate, unsigned int *percentbuffered, bool *starving, bool *diskbusy)
FMOD_SYSTEM
struct FMOD_SYSTEM FMOD_SYSTEM
Definition: fmod.h:64
FMOD_SPEAKERMODE
FMOD_SPEAKERMODE
Definition: fmod.h:616
FMOD::DSP::getOutput
FMOD_RESULT F_API getOutput(int index, DSP **output, DSPConnection **outputconnection)
FMOD::System::getMasterSoundGroup
FMOD_RESULT F_API getMasterSoundGroup(SoundGroup **soundgroup)
FMOD_MEMORY_ALLOCCALLBACK
void *F_CALLBACK * FMOD_MEMORY_ALLOCCALLBACK(unsigned int size, FMOD_MEMORY_TYPE type, const char *sourcestr)
Definition: fmod.h:1087
FMOD_DSP_TYPE
FMOD_DSP_TYPE
Definition: fmod_dsp.h:46
FMOD::Geometry::getMaxPolygons
FMOD_RESULT F_API getMaxPolygons(int *maxpolygons, int *maxvertices)
FMOD::System::release
FMOD_RESULT F_API release()
FMOD::ChannelGroup
Definition: fmod.hpp:359
FMOD::ChannelGroup::override3DAttributes
FMOD_RESULT F_API override3DAttributes(const FMOD_VECTOR *pos, const FMOD_VECTOR *vel)
FMOD::SoundGroup::setMaxAudibleBehavior
FMOD_RESULT F_API setMaxAudibleBehavior(FMOD_SOUNDGROUP_BEHAVIOR behavior)
FMOD::ChannelGroup::get3DOcclusion
FMOD_RESULT F_API get3DOcclusion(float *directocclusion, float *reverbocclusion)
FMOD::Reverb::getMemoryInfo
FMOD_RESULT F_API getMemoryInfo(unsigned int memorybits, unsigned int event_memorybits, unsigned int *memoryused, FMOD_MEMORY_USAGE_DETAILS *memoryused_details)
FMOD::System::getSoftwareChannels
FMOD_RESULT F_API getSoftwareChannels(int *numsoftwarechannels)
FMOD::System::getMasterChannelGroup
FMOD_RESULT F_API getMasterChannelGroup(ChannelGroup **channelgroup)
FMOD::System::isRecording
FMOD_RESULT F_API isRecording(int id, bool *recording)
subsound
int subsound
Definition: fmod_codec.h:23
FMOD::Sound::setSubSoundSentence
FMOD_RESULT F_API setSubSoundSentence(int *subsoundlist, int numsubsounds)
FMOD::ChannelGroup::overrideFrequency
FMOD_RESULT F_API overrideFrequency(float frequency)
FMOD::System::setOutputByPlugin
FMOD_RESULT F_API setOutputByPlugin(unsigned int handle)
FMOD::Reverb::get3DAttributes
FMOD_RESULT F_API get3DAttributes(FMOD_VECTOR *position, float *mindistance, float *maxdistance)
FMOD::ChannelGroup::getChannel
FMOD_RESULT F_API getChannel(int index, Channel **channel)
FMOD::ChannelGroup::getNumChannels
FMOD_RESULT F_API getNumChannels(int *numchannels)
FMOD::DSP
Definition: fmod.hpp:456
FMOD::System::setSoftwareChannels
FMOD_RESULT F_API setSoftwareChannels(int numsoftwarechannels)
FMOD_FILE_ASYNCCANCELCALLBACK
FMOD_RESULT(F_CALLBACK * FMOD_FILE_ASYNCCANCELCALLBACK)(void *handle, void *userdata)
Definition: fmod.h:1085
FMOD::Channel::set3DMinMaxDistance
FMOD_RESULT F_API set3DMinMaxDistance(float mindistance, float maxdistance)
FMOD::System::getDriverInfo
FMOD_RESULT F_API getDriverInfo(int id, char *name, int namelen, FMOD_GUID *guid)
FMOD::System::getSoundRAM
FMOD_RESULT F_API getSoundRAM(int *currentalloced, int *maxalloced, int *total)
FMOD::Sound::lock
FMOD_RESULT F_API lock(unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2)
FMOD::System::lockDSP
FMOD_RESULT F_API lockDSP()
FMOD::System::getDSPClock
FMOD_RESULT F_API getDSPClock(unsigned int *hi, unsigned int *lo)
FMOD::SoundGroup::stop
FMOD_RESULT F_API stop()
FMOD::Geometry::getPolygonAttributes
FMOD_RESULT F_API getPolygonAttributes(int index, float *directocclusion, float *reverbocclusion, bool *doublesided)
FMOD::System::setDSPBufferSize
FMOD_RESULT F_API setDSPBufferSize(unsigned int bufferlength, int numbuffers)
FMOD::Channel::setLowPassGain
FMOD_RESULT F_API setLowPassGain(float gain)
FMOD::DSP::setParameter
FMOD_RESULT F_API setParameter(int index, float value)
FMOD::Sound::readData
FMOD_RESULT F_API readData(void *buffer, unsigned int lenbytes, unsigned int *read)
FMOD::System::setReverbAmbientProperties
FMOD_RESULT F_API setReverbAmbientProperties(FMOD_REVERB_PROPERTIES *prop)
FMOD::DSP::getSpeakerActive
FMOD_RESULT F_API getSpeakerActive(FMOD_SPEAKER speaker, bool *active)
FMOD::System::getDSPBufferSize
FMOD_RESULT F_API getDSPBufferSize(unsigned int *bufferlength, int *numbuffers)
FMOD::Channel
Definition: fmod.hpp:264
FMOD_DSP_RESAMPLER
FMOD_DSP_RESAMPLER
Definition: fmod.h:1168
FMOD::Channel::set3DAttributes
FMOD_RESULT F_API set3DAttributes(const FMOD_VECTOR *pos, const FMOD_VECTOR *vel)
FMOD::DSP::getDefaults
FMOD_RESULT F_API getDefaults(float *frequency, float *volume, float *pan, int *priority)
FMOD::Sound::getUserData
FMOD_RESULT F_API getUserData(void **userdata)
FMOD::SoundGroup::getSound
FMOD_RESULT F_API getSound(int index, Sound **sound)
FMOD::ChannelGroup::setPaused
FMOD_RESULT F_API setPaused(bool paused)
offset
unsigned int offset
Definition: fmod_output.h:28
FMOD::Sound::setDefaults
FMOD_RESULT F_API setDefaults(float frequency, float volume, float pan, int priority)
FMOD::System::getDSPHead
FMOD_RESULT F_API getDSPHead(DSP **dsp)
FMOD::Channel::stop
FMOD_RESULT F_API stop()
FMOD_MODE
unsigned int FMOD_MODE
Definition: fmod.h:75
FMOD::Channel::get3DConeSettings
FMOD_RESULT F_API get3DConeSettings(float *insideconeangle, float *outsideconeangle, float *outsidevolume)
FMOD::ChannelGroup::getParentGroup
FMOD_RESULT F_API getParentGroup(ChannelGroup **group)
FMOD::Channel::getMemoryInfo
FMOD_RESULT F_API getMemoryInfo(unsigned int memorybits, unsigned int event_memorybits, unsigned int *memoryused, FMOD_MEMORY_USAGE_DETAILS *memoryused_details)
FMOD_GUID
Definition: fmod.h:259
FMOD::Channel::set3DConeOrientation
FMOD_RESULT F_API set3DConeOrientation(FMOD_VECTOR *orientation)
FMOD::Sound::getSoundGroup
FMOD_RESULT F_API getSoundGroup(SoundGroup **soundgroup)
FMOD::SoundGroup::setMaxAudible
FMOD_RESULT F_API setMaxAudible(int maxaudible)
FMOD::ChannelGroup::overrideSpeakerMix
FMOD_RESULT F_API overrideSpeakerMix(float frontleft, float frontright, float center, float lfe, float backleft, float backright, float sideleft, float sideright)
FMOD::System::getSpectrum
FMOD_RESULT F_API getSpectrum(float *spectrumarray, int numvalues, int channeloffset, FMOD_DSP_FFT_WINDOW windowtype)
FMOD::ChannelGroup::stop
FMOD_RESULT F_API stop()
FMOD::DSP::setSpeakerActive
FMOD_RESULT F_API setSpeakerActive(FMOD_SPEAKER speaker, bool active)
FMOD::ChannelGroup::set3DOcclusion
FMOD_RESULT F_API set3DOcclusion(float directocclusion, float reverbocclusion)
FMOD::Sound::setMusicChannelVolume
FMOD_RESULT F_API setMusicChannelVolume(int channel, float volume)
FMOD_DSP_FFT_WINDOW
FMOD_DSP_FFT_WINDOW
Definition: fmod.h:1136
FMOD::System::loadGeometry
FMOD_RESULT F_API loadGeometry(const void *data, int datasize, Geometry **geometry)
buffer
void * buffer
Definition: fmod.h:1082
FMOD::Geometry::setScale
FMOD_RESULT F_API setScale(const FMOD_VECTOR *scale)
FMOD_MEMORY_ALL
#define FMOD_MEMORY_ALL
Definition: fmod.h:490
FMOD::SoundGroup
Definition: fmod.hpp:418
FMOD::Sound
Definition: fmod.hpp:192
FMOD::System::setPluginPath
FMOD_RESULT F_API setPluginPath(const char *path)
FMOD_OPENSTATE
FMOD_OPENSTATE
Definition: fmod.h:947
FMOD::Sound::setSoundGroup
FMOD_RESULT F_API setSoundGroup(SoundGroup *soundgroup)
FMOD::ChannelGroup::setPitch
FMOD_RESULT F_API setPitch(float pitch)
FMOD::Sound::getLength
FMOD_RESULT F_API getLength(unsigned int *length, FMOD_TIMEUNIT lengthtype)
FMOD::DSP::getNumInputs
FMOD_RESULT F_API getNumInputs(int *numinputs)
index
int index
Definition: fmod_codec.h:27
FMOD::Geometry::setPolygonAttributes
FMOD_RESULT F_API setPolygonAttributes(int index, float directocclusion, float reverbocclusion, bool doublesided)
FMOD::Channel::isPlaying
FMOD_RESULT F_API isPlaying(bool *isplaying)
FMOD::DSP::getMemoryInfo
FMOD_RESULT F_API getMemoryInfo(unsigned int memorybits, unsigned int event_memorybits, unsigned int *memoryused, FMOD_MEMORY_USAGE_DETAILS *memoryused_details)
FMOD::Channel::getFrequency
FMOD_RESULT F_API getFrequency(float *frequency)
FMOD::ChannelGroup::setMute
FMOD_RESULT F_API setMute(bool mute)
FMOD_TIMEUNIT
unsigned int FMOD_TIMEUNIT
Definition: fmod.h:76
FMOD::System::setNetworkTimeout
FMOD_RESULT F_API setNetworkTimeout(int timeout)
FMOD::Channel::getVolume
FMOD_RESULT F_API getVolume(float *volume)
FMOD::Channel::setMode
FMOD_RESULT F_API setMode(FMOD_MODE mode)
FMOD_FILE_ASYNCREADCALLBACK
FMOD_RESULT(F_CALLBACK * FMOD_FILE_ASYNCREADCALLBACK)(FMOD_ASYNCREADINFO *info, void *userdata)
Definition: fmod.h:1084
FMOD::System::setStreamBufferSize
FMOD_RESULT F_API setStreamBufferSize(unsigned int filebuffersize, FMOD_TIMEUNIT filebuffersizetype)
FMOD::System::registerCodec
FMOD_RESULT F_API registerCodec(FMOD_CODEC_DESCRIPTION *description, unsigned int *handle, unsigned int priority=0)
FMOD::ChannelGroup::addGroup
FMOD_RESULT F_API addGroup(ChannelGroup *group)
FMOD::Channel::setPosition
FMOD_RESULT F_API setPosition(unsigned int position, FMOD_TIMEUNIT postype)
FMOD::Channel::getSystemObject
FMOD_RESULT F_API getSystemObject(System **system)
FMOD::System::recordStart
FMOD_RESULT F_API recordStart(int id, Sound *sound, bool loop)
FMOD::Channel::set3DCustomRolloff
FMOD_RESULT F_API set3DCustomRolloff(FMOD_VECTOR *points, int numpoints)
lengthtype
unsigned int FMOD_TIMEUNIT lengthtype
Definition: fmod_codec.h:22
FMOD::System::playDSP
FMOD_RESULT F_API playDSP(FMOD_CHANNELINDEX channelid, DSP *dsp, bool paused, Channel **channel)
FMOD::SoundGroup::getMaxAudible
FMOD_RESULT F_API getMaxAudible(int *maxaudible)
FMOD::DSP::setActive
FMOD_RESULT F_API setActive(bool active)
FMOD::System::setFileSystem
FMOD_RESULT F_API setFileSystem(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)
FMOD::System::getAdvancedSettings
FMOD_RESULT F_API getAdvancedSettings(FMOD_ADVANCEDSETTINGS *settings)
FMOD::DSP::disconnectAll
FMOD_RESULT F_API disconnectAll(bool inputs, bool outputs)
FMOD::Channel::setDelay
FMOD_RESULT F_API setDelay(FMOD_DELAYTYPE delaytype, unsigned int delayhi, unsigned int delaylo)
FMOD::DSP::getUserData
FMOD_RESULT F_API getUserData(void **userdata)
extradriverdata
int FMOD_INITFLAGS int int FMOD_SOUND_FORMAT int int void * extradriverdata
Definition: fmod_output.h:23
FMOD::Channel::setChannelGroup
FMOD_RESULT F_API setChannelGroup(ChannelGroup *channelgroup)
FMOD::DSP::getInfo
FMOD_RESULT F_API getInfo(char *name, unsigned int *version, int *channels, int *configwidth, int *configheight)
FMOD::SoundGroup::getNumSounds
FMOD_RESULT F_API getNumSounds(int *numsounds)
FMOD::SoundGroup::getName
FMOD_RESULT F_API getName(char *name, int namelen)
FMOD::Sound::get3DCustomRolloff
FMOD_RESULT F_API get3DCustomRolloff(FMOD_VECTOR **points, int *numpoints)
FMOD::Channel::getDSPHead
FMOD_RESULT F_API getDSPHead(DSP **dsp)
FMOD::System::getCPUUsage
FMOD_RESULT F_API getCPUUsage(float *dsp, float *stream, float *geometry, float *update, float *total)
FMOD::System::createChannelGroup
FMOD_RESULT F_API createChannelGroup(const char *name, ChannelGroup **channelgroup)
FMOD_MEMORY_TYPE
unsigned int FMOD_MEMORY_TYPE
Definition: fmod.h:80
FMOD::Reverb::getActive
FMOD_RESULT F_API getActive(bool *active)
FMOD::DSP::getSystemObject
FMOD_RESULT F_API getSystemObject(System **system)
FMOD::System::get3DSettings
FMOD_RESULT F_API get3DSettings(float *dopplerscale, float *distancefactor, float *rolloffscale)
FMOD::System::getGeometrySettings
FMOD_RESULT F_API getGeometrySettings(float *maxworldsize)
FMOD::DSPConnection::getInput
FMOD_RESULT F_API getInput(DSP **input)
FMOD::Debug_GetLevel
FMOD_RESULT Debug_GetLevel(FMOD_DEBUGLEVEL *level)
Definition: fmod.hpp:38
FMOD::System::setCallback
FMOD_RESULT F_API setCallback(FMOD_SYSTEM_CALLBACK callback)
data
FMOD_TAGTYPE char void * data
Definition: fmod_codec.h:26
FMOD::DSPConnection::getLevels
FMOD_RESULT F_API getLevels(FMOD_SPEAKER speaker, float *levels, int numlevels)
FMOD::System::getPluginInfo
FMOD_RESULT F_API getPluginInfo(unsigned int handle, FMOD_PLUGINTYPE *plugintype, char *name, int namelen, unsigned int *version)
FMOD::DSP::disconnectFrom
FMOD_RESULT F_API disconnectFrom(DSP *target)
FMOD::System::get3DNumListeners
FMOD_RESULT F_API get3DNumListeners(int *numlisteners)
FMOD::SoundGroup::setVolume
FMOD_RESULT F_API setVolume(float volume)
FMOD::Channel::setUserData
FMOD_RESULT F_API setUserData(void *userdata)
fmod.h
len1
unsigned int unsigned int void void unsigned int * len1
Definition: fmod_output.h:28
FMOD::DSP::getType
FMOD_RESULT F_API getType(FMOD_DSP_TYPE *type)
FMOD::Sound::unlock
FMOD_RESULT F_API unlock(void *ptr1, void *ptr2, unsigned int len1, unsigned int len2)
FMOD::ChannelGroup::getVolume
FMOD_RESULT F_API getVolume(float *volume)
ptr2
unsigned int unsigned int void void ** ptr2
Definition: fmod_output.h:28
FMOD::Sound::set3DCustomRolloff
FMOD_RESULT F_API set3DCustomRolloff(FMOD_VECTOR *points, int numpoints)
FMOD::DSPConnection::setMix
FMOD_RESULT F_API setMix(float volume)
FMOD::System::getRecordDriverInfo
FMOD_RESULT F_API getRecordDriverInfo(int id, char *name, int namelen, FMOD_GUID *guid)
FMOD::Sound::getSubSound
FMOD_RESULT F_API getSubSound(int index, Sound **subsound)
FMOD::Channel::get3DConeOrientation
FMOD_RESULT F_API get3DConeOrientation(FMOD_VECTOR *orientation)
FMOD::SoundGroup::getNumPlaying
FMOD_RESULT F_API getNumPlaying(int *numplaying)
FMOD::Sound::set3DConeSettings
FMOD_RESULT F_API set3DConeSettings(float insideconeangle, float outsideconeangle, float outsidevolume)
FMOD::Sound::getLoopCount
FMOD_RESULT F_API getLoopCount(int *loopcount)
FMOD_MEMORY_USAGE_DETAILS
Definition: fmod_memoryinfo.h:36
FMOD::Channel::setPan
FMOD_RESULT F_API setPan(float pan)
valuestr
int float char * valuestr
Definition: fmod_dsp.h:27
FMOD::System::getPluginHandle
FMOD_RESULT F_API getPluginHandle(FMOD_PLUGINTYPE plugintype, int index, unsigned int *handle)
FMOD_REVERB_PROPERTIES
Definition: fmod.h:1571
value
int float value
Definition: fmod_dsp.h:26
FMOD::ChannelGroup::overrideReverbProperties
FMOD_RESULT F_API overrideReverbProperties(const FMOD_REVERB_CHANNELPROPERTIES *prop)
FMOD::System::getReverbProperties
FMOD_RESULT F_API getReverbProperties(FMOD_REVERB_PROPERTIES *prop)
FMOD::Sound::getName
FMOD_RESULT F_API getName(char *name, int namelen)
length
unsigned int * length
Definition: fmod_codec.h:22
FMOD::System::setOutput
FMOD_RESULT F_API setOutput(FMOD_OUTPUTTYPE output)
FMOD::Sound::get3DConeSettings
FMOD_RESULT F_API get3DConeSettings(float *insideconeangle, float *outsideconeangle, float *outsidevolume)
FMOD::Channel::get3DDistanceFilter
FMOD_RESULT F_API get3DDistanceFilter(bool *custom, float *customLevel, float *centerFreq)
FMOD::Sound::getFormat
FMOD_RESULT F_API getFormat(FMOD_SOUND_TYPE *type, FMOD_SOUND_FORMAT *format, int *channels, int *bits)
FMOD::Geometry::getScale
FMOD_RESULT F_API getScale(FMOD_VECTOR *scale)
FMOD::System::set3DNumListeners
FMOD_RESULT F_API set3DNumListeners(int numlisteners)
FMOD::Channel::get3DAttributes
FMOD_RESULT F_API get3DAttributes(FMOD_VECTOR *pos, FMOD_VECTOR *vel)
FMOD::Channel::getReverbProperties
FMOD_RESULT F_API getReverbProperties(FMOD_REVERB_CHANNELPROPERTIES *prop)
FMOD::Sound::getVariations
FMOD_RESULT F_API getVariations(float *frequencyvar, float *volumevar, float *panvar)
FMOD::System::getDriverCaps
FMOD_RESULT F_API getDriverCaps(int id, FMOD_CAPS *caps, int *controlpaneloutputrate, FMOD_SPEAKERMODE *controlpanelspeakermode)
FMOD::DSP::reset
FMOD_RESULT F_API reset()
FMOD::Geometry::setPolygonVertex
FMOD_RESULT F_API setPolygonVertex(int index, int vertexindex, const FMOD_VECTOR *vertex)
FMOD::Sound::setMusicSpeed
FMOD_RESULT F_API setMusicSpeed(float speed)
FMOD::Sound::getNumTags
FMOD_RESULT F_API getNumTags(int *numtags, int *numtagsupdated)
FMOD::Reverb::set3DAttributes
FMOD_RESULT F_API set3DAttributes(const FMOD_VECTOR *position, float mindistance, float maxdistance)
FMOD::Geometry::save
FMOD_RESULT F_API save(void *data, int *datasize)
FMOD::System::createDSP
FMOD_RESULT F_API createDSP(FMOD_DSP_DESCRIPTION *description, DSP **dsp)
FMOD::System::getStreamBufferSize
FMOD_RESULT F_API getStreamBufferSize(unsigned int *filebuffersize, FMOD_TIMEUNIT *filebuffersizetype)
FMOD::Channel::getPosition
FMOD_RESULT F_API getPosition(unsigned int *position, FMOD_TIMEUNIT postype)
FMOD::Reverb::getProperties
FMOD_RESULT F_API getProperties(FMOD_REVERB_PROPERTIES *properties)
pos
unsigned int pos
Definition: fmod.h:1083
FMOD::Channel::getMode
FMOD_RESULT F_API getMode(FMOD_MODE *mode)
FMOD::System::recordStop
FMOD_RESULT F_API recordStop(int id)
FMOD::ChannelGroup::getMute
FMOD_RESULT F_API getMute(bool *mute)
FMOD::System::setAdvancedSettings
FMOD_RESULT F_API setAdvancedSettings(FMOD_ADVANCEDSETTINGS *settings)
FMOD::System::init
FMOD_RESULT F_API init(int maxchannels, FMOD_INITFLAGS flags, void *extradriverdata)
FMOD::Channel::get3DPanLevel
FMOD_RESULT F_API get3DPanLevel(float *level)
FMOD::Reverb::setActive
FMOD_RESULT F_API setActive(bool active)
FMOD::Channel::setInputChannelMix
FMOD_RESULT F_API setInputChannelMix(float *levels, int numlevels)
FMOD::System_Create
FMOD_RESULT System_Create(System **system)
Definition: fmod.hpp:45
FMOD::System::unloadPlugin
FMOD_RESULT F_API unloadPlugin(unsigned int handle)
FMOD::Geometry::setRotation
FMOD_RESULT F_API setRotation(const FMOD_VECTOR *forward, const FMOD_VECTOR *up)
FMOD::Geometry::setPosition
FMOD_RESULT F_API setPosition(const FMOD_VECTOR *position)
FMOD::File_GetDiskBusy
FMOD_RESULT File_GetDiskBusy(int *busy)
Definition: fmod.hpp:40
FMOD::Sound::setLoopCount
FMOD_RESULT F_API setLoopCount(int loopcount)
FMOD::SoundGroup::getSystemObject
FMOD_RESULT F_API getSystemObject(System **system)
FMOD::File_SetDiskBusy
FMOD_RESULT File_SetDiskBusy(int busy)
Definition: fmod.hpp:39
FMOD_CREATESOUNDEXINFO
Definition: fmod.h:1490
FMOD::System::getOutputHandle
FMOD_RESULT F_API getOutputHandle(void **handle)
FMOD::System::getSpeakerMode
FMOD_RESULT F_API getSpeakerMode(FMOD_SPEAKERMODE *speakermode)
FMOD_File_GetDiskBusy
FMOD_RESULT F_API FMOD_File_GetDiskBusy(int *busy)
FMOD::System::createReverb
FMOD_RESULT F_API createReverb(Reverb **reverb)
FMOD::System::setHardwareChannels
FMOD_RESULT F_API setHardwareChannels(int numhardwarechannels)
FMOD::Channel::getInputChannelMix
FMOD_RESULT F_API getInputChannelMix(float *levels, int numlevels)
FMOD::ChannelGroup::getMemoryInfo
FMOD_RESULT F_API getMemoryInfo(unsigned int memorybits, unsigned int event_memorybits, unsigned int *memoryused, FMOD_MEMORY_USAGE_DETAILS *memoryused_details)
FMOD::SoundGroup::getMuteFadeSpeed
FMOD_RESULT F_API getMuteFadeSpeed(float *speed)
FMOD::System::setReverbProperties
FMOD_RESULT F_API setReverbProperties(const FMOD_REVERB_PROPERTIES *prop)