PonyTracker
Un projet de tracker de musique
 Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Définitions de type Énumérations Valeurs énumérées Macros Pages
Fonctions membres publiques
Référence de la classe System

#include <fmod.hpp>

Fonctions membres publiques

FMOD_RESULT F_API release ()
 
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)
 
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)
 
FMOD_RESULT F_API init (int maxchannels, FMOD_INITFLAGS flags, void *extradriverdata)
 
FMOD_RESULT F_API close ()
 
FMOD_RESULT F_API update ()
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 

Description détaillée

Définition à la ligne 51 du fichier fmod.hpp.

Documentation des fonctions membres

FMOD_RESULT F_API addDSP ( DSP dsp,
DSPConnection **  connection 
)
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 close ( )
FMOD_RESULT F_API createChannelGroup ( const char *  name,
ChannelGroup **  channelgroup 
)
FMOD_RESULT F_API createDSP ( FMOD_DSP_DESCRIPTION description,
DSP **  dsp 
)
FMOD_RESULT F_API createDSPByPlugin ( unsigned int  handle,
DSP **  dsp 
)
FMOD_RESULT F_API createDSPByType ( FMOD_DSP_TYPE  type,
DSP **  dsp 
)
FMOD_RESULT F_API createGeometry ( int  maxpolygons,
int  maxvertices,
Geometry **  geometry 
)
FMOD_RESULT F_API createReverb ( Reverb **  reverb)
FMOD_RESULT F_API createSound ( const char *  name_or_data,
FMOD_MODE  mode,
FMOD_CREATESOUNDEXINFO exinfo,
Sound **  sound 
)
FMOD_RESULT F_API createSoundGroup ( const char *  name,
SoundGroup **  soundgroup 
)
FMOD_RESULT F_API createStream ( const char *  name_or_data,
FMOD_MODE  mode,
FMOD_CREATESOUNDEXINFO exinfo,
Sound **  sound 
)
FMOD_RESULT F_API get3DListenerAttributes ( int  listener,
FMOD_VECTOR pos,
FMOD_VECTOR vel,
FMOD_VECTOR forward,
FMOD_VECTOR up 
)
FMOD_RESULT F_API get3DNumListeners ( int *  numlisteners)
FMOD_RESULT F_API get3DSettings ( float dopplerscale,
float distancefactor,
float rolloffscale 
)
FMOD_RESULT F_API get3DSpeakerPosition ( FMOD_SPEAKER  speaker,
float x,
float y,
bool *  active 
)
FMOD_RESULT F_API getAdvancedSettings ( FMOD_ADVANCEDSETTINGS settings)
FMOD_RESULT F_API getCDROMDriveName ( int  drive,
char *  drivename,
int  drivenamelen,
char *  scsiname,
int  scsinamelen,
char *  devicename,
int  devicenamelen 
)
FMOD_RESULT F_API getChannel ( int  channelid,
Channel **  channel 
)
FMOD_RESULT F_API getChannelsPlaying ( int *  channels)
FMOD_RESULT F_API getCPUUsage ( float dsp,
float stream,
float geometry,
float update,
float total 
)
FMOD_RESULT F_API getDriver ( int *  driver)
FMOD_RESULT F_API getDriverCaps ( int  id,
FMOD_CAPS caps,
int *  controlpaneloutputrate,
FMOD_SPEAKERMODE controlpanelspeakermode 
)
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 getDSPBufferSize ( unsigned int *  bufferlength,
int *  numbuffers 
)
FMOD_RESULT F_API getDSPClock ( unsigned int *  hi,
unsigned int *  lo 
)
FMOD_RESULT F_API getDSPHead ( DSP **  dsp)
FMOD_RESULT F_API getGeometryOcclusion ( const FMOD_VECTOR listener,
const FMOD_VECTOR source,
float direct,
float reverb 
)
FMOD_RESULT F_API getGeometrySettings ( float maxworldsize)
FMOD_RESULT F_API getHardwareChannels ( int *  numhardwarechannels)
FMOD_RESULT F_API getMasterChannelGroup ( ChannelGroup **  channelgroup)
FMOD_RESULT F_API getMasterSoundGroup ( SoundGroup **  soundgroup)
FMOD_RESULT F_API getMemoryInfo ( unsigned int  memorybits,
unsigned int  event_memorybits,
unsigned int *  memoryused,
FMOD_MEMORY_USAGE_DETAILS memoryused_details 
)
FMOD_RESULT F_API getNetworkProxy ( char *  proxy,
int  proxylen 
)
FMOD_RESULT F_API getNetworkTimeout ( int *  timeout)
FMOD_RESULT F_API getNumCDROMDrives ( int *  numdrives)
FMOD_RESULT F_API getNumDrivers ( int *  numdrivers)
FMOD_RESULT F_API getNumPlugins ( FMOD_PLUGINTYPE  plugintype,
int *  numplugins 
)
FMOD_RESULT F_API getOutput ( FMOD_OUTPUTTYPE output)
FMOD_RESULT F_API getOutputByPlugin ( unsigned int *  handle)
FMOD_RESULT F_API getOutputHandle ( void **  handle)
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 getRecordDriverCaps ( int  id,
FMOD_CAPS caps,
int *  minfrequency,
int *  maxfrequency 
)
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 getRecordNumDrivers ( int *  numdrivers)
FMOD_RESULT F_API getRecordPosition ( int  id,
unsigned int *  position 
)
FMOD_RESULT F_API getReverbAmbientProperties ( FMOD_REVERB_PROPERTIES prop)
FMOD_RESULT F_API getReverbProperties ( FMOD_REVERB_PROPERTIES prop)
FMOD_RESULT F_API getSoftwareChannels ( int *  numsoftwarechannels)
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 getSoundRAM ( int *  currentalloced,
int *  maxalloced,
int *  total 
)
FMOD_RESULT F_API getSpeakerMode ( FMOD_SPEAKERMODE speakermode)
FMOD_RESULT F_API getSpectrum ( float spectrumarray,
int  numvalues,
int  channeloffset,
FMOD_DSP_FFT_WINDOW  windowtype 
)
FMOD_RESULT F_API getStreamBufferSize ( unsigned int *  filebuffersize,
FMOD_TIMEUNIT filebuffersizetype 
)
FMOD_RESULT F_API getUserData ( void **  userdata)
FMOD_RESULT F_API getVersion ( unsigned int *  version)
FMOD_RESULT F_API getWaveData ( float wavearray,
int  numvalues,
int  channeloffset 
)
FMOD_RESULT F_API init ( int  maxchannels,
FMOD_INITFLAGS  flags,
void extradriverdata 
)
FMOD_RESULT F_API isRecording ( int  id,
bool *  recording 
)
FMOD_RESULT F_API loadGeometry ( const void data,
int  datasize,
Geometry **  geometry 
)
FMOD_RESULT F_API loadPlugin ( const char *  filename,
unsigned int *  handle,
unsigned int  priority = 0 
)
FMOD_RESULT F_API lockDSP ( )
FMOD_RESULT F_API playDSP ( FMOD_CHANNELINDEX  channelid,
DSP dsp,
bool  paused,
Channel **  channel 
)
FMOD_RESULT F_API playSound ( FMOD_CHANNELINDEX  channelid,
Sound sound,
bool  paused,
Channel **  channel 
)
FMOD_RESULT F_API recordStart ( int  id,
Sound sound,
bool  loop 
)
FMOD_RESULT F_API recordStop ( int  id)
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 
)
FMOD_RESULT F_API release ( )
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 set3DNumListeners ( int  numlisteners)
FMOD_RESULT F_API set3DRolloffCallback ( FMOD_3D_ROLLOFFCALLBACK  callback)
FMOD_RESULT F_API set3DSettings ( float  dopplerscale,
float  distancefactor,
float  rolloffscale 
)
FMOD_RESULT F_API set3DSpeakerPosition ( FMOD_SPEAKER  speaker,
float  x,
float  y,
bool  active 
)
FMOD_RESULT F_API setAdvancedSettings ( FMOD_ADVANCEDSETTINGS settings)
FMOD_RESULT F_API setCallback ( FMOD_SYSTEM_CALLBACK  callback)
FMOD_RESULT F_API setDriver ( int  driver)
FMOD_RESULT F_API setDSPBufferSize ( 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 setGeometrySettings ( float  maxworldsize)
FMOD_RESULT F_API setHardwareChannels ( int  numhardwarechannels)
FMOD_RESULT F_API setNetworkProxy ( const char *  proxy)
FMOD_RESULT F_API setNetworkTimeout ( int  timeout)
FMOD_RESULT F_API setOutput ( FMOD_OUTPUTTYPE  output)
FMOD_RESULT F_API setOutputByPlugin ( unsigned int  handle)
FMOD_RESULT F_API setPluginPath ( const char *  path)
FMOD_RESULT F_API setReverbAmbientProperties ( FMOD_REVERB_PROPERTIES prop)
FMOD_RESULT F_API setReverbProperties ( const FMOD_REVERB_PROPERTIES prop)
FMOD_RESULT F_API setSoftwareChannels ( 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 setSpeakerMode ( FMOD_SPEAKERMODE  speakermode)
FMOD_RESULT F_API setStreamBufferSize ( unsigned int  filebuffersize,
FMOD_TIMEUNIT  filebuffersizetype 
)
FMOD_RESULT F_API setUserData ( void userdata)
FMOD_RESULT F_API unloadPlugin ( unsigned int  handle)
FMOD_RESULT F_API unlockDSP ( )
FMOD_RESULT F_API update ( )

La documentation de cette classe a été générée à partir du fichier suivant :