Module: FMOD::Enums

Extended by:
FFI::Library
Included in:
Functions
Defined in:
lib/fmod/enums.rb

Constant Summary collapse

FMOD_CHANNELINDEX =
enum(
  :FMOD_CHANNEL_FREE, -1,
  :FMOD_CHANNEL_REUSE, -2
)
FMOD_RESULT =
enum(
  :FMOD_OK, 
  :FMOD_ERR_ALREADYLOCKED, 
  :FMOD_ERR_BADCOMMAND, 
  :FMOD_ERR_CDDA_DRIVERS, 
  :FMOD_ERR_CDDA_INIT, 
  :FMOD_ERR_CDDA_INVALID_DEVICE, 
  :FMOD_ERR_CDDA_NOAUDIO, 
  :FMOD_ERR_CDDA_NODEVICES, 
  :FMOD_ERR_CDDA_NODISC, 
  :FMOD_ERR_CDDA_READ, 
  :FMOD_ERR_CHANNEL_ALLOC, 
  :FMOD_ERR_CHANNEL_STOLEN, 
  :FMOD_ERR_COM, 
  :FMOD_ERR_DMA, 
  :FMOD_ERR_DSP_CONNECTION, 
  :FMOD_ERR_DSP_FORMAT, 
  :FMOD_ERR_DSP_NOTFOUND, 
  :FMOD_ERR_DSP_RUNNING, 
  :FMOD_ERR_DSP_TOOMANYCONNECTIONS, 
  :FMOD_ERR_FILE_BAD, 
  :FMOD_ERR_FILE_COULDNOTSEEK, 
  :FMOD_ERR_FILE_DISKEJECTED, 
  :FMOD_ERR_FILE_EOF, 
  :FMOD_ERR_FILE_NOTFOUND, 
  :FMOD_ERR_FILE_UNWANTED, 
  :FMOD_ERR_FORMAT, 
  :FMOD_ERR_HTTP, 
  :FMOD_ERR_HTTP_ACCESS, 
  :FMOD_ERR_HTTP_PROXY_AUTH, 
  :FMOD_ERR_HTTP_SERVER_ERROR, 
  :FMOD_ERR_HTTP_TIMEOUT, 
  :FMOD_ERR_INITIALIZATION, 
  :FMOD_ERR_INITIALIZED, 
  :FMOD_ERR_INTERNAL, 
  :FMOD_ERR_INVALID_ADDRESS, 
  :FMOD_ERR_INVALID_FLOAT, 
  :FMOD_ERR_INVALID_HANDLE, 
  :FMOD_ERR_INVALID_PARAM, 
  :FMOD_ERR_INVALID_POSITION, 
  :FMOD_ERR_INVALID_SPEAKER, 
  :FMOD_ERR_INVALID_SYNCPOINT, 
  :FMOD_ERR_INVALID_VECTOR, 
  :FMOD_ERR_IRX, 
  :FMOD_ERR_MAXAUDIBLE, 
  :FMOD_ERR_MEMORY, 
  :FMOD_ERR_MEMORY_CANTPOINT, 
  :FMOD_ERR_MEMORY_IOP, 
  :FMOD_ERR_MEMORY_SRAM, 
  :FMOD_ERR_NEEDS2D, 
  :FMOD_ERR_NEEDS3D, 
  :FMOD_ERR_NEEDSHARDWARE, 
  :FMOD_ERR_NEEDSSOFTWARE, 
  :FMOD_ERR_NET_CONNECT, 
  :FMOD_ERR_NET_SOCKET_ERROR, 
  :FMOD_ERR_NET_URL, 
  :FMOD_ERR_NET_WOULD_BLOCK, 
  :FMOD_ERR_NOTREADY, 
  :FMOD_ERR_OUTPUT_ALLOCATED, 
  :FMOD_ERR_OUTPUT_CREATEBUFFER, 
  :FMOD_ERR_OUTPUT_DRIVERCALL, 
  :FMOD_ERR_OUTPUT_ENUMERATION, 
  :FMOD_ERR_OUTPUT_FORMAT, 
  :FMOD_ERR_OUTPUT_INIT, 
  :FMOD_ERR_OUTPUT_NOHARDWARE, 
  :FMOD_ERR_OUTPUT_NOSOFTWARE, 
  :FMOD_ERR_PAN, 
  :FMOD_ERR_PLUGIN, 
  :FMOD_ERR_PLUGIN_INSTANCES, 
  :FMOD_ERR_PLUGIN_MISSING, 
  :FMOD_ERR_PLUGIN_RESOURCE, 
  :FMOD_ERR_PRELOADED, 
  :FMOD_ERR_PROGRAMMERSOUND, 
  :FMOD_ERR_RECORD, 
  :FMOD_ERR_REVERB_INSTANCE, 
  :FMOD_ERR_SUBSOUND_ALLOCATED, 
  :FMOD_ERR_SUBSOUND_CANTMOVE, 
  :FMOD_ERR_SUBSOUND_MODE, 
  :FMOD_ERR_SUBSOUNDS, 
  :FMOD_ERR_TAGNOTFOUND, 
  :FMOD_ERR_TOOMANYCHANNELS, 
  :FMOD_ERR_UNIMPLEMENTED, 
  :FMOD_ERR_UNINITIALIZED, 
  :FMOD_ERR_UNSUPPORTED, 
  :FMOD_ERR_UPDATE, 
  :FMOD_ERR_VERSION, 
  :FMOD_ERR_EVENT_FAILED, 
  :FMOD_ERR_EVENT_INFOONLY, 
  :FMOD_ERR_EVENT_INTERNAL, 
  :FMOD_ERR_EVENT_MAXSTREAMS, 
  :FMOD_ERR_EVENT_MISMATCH, 
  :FMOD_ERR_EVENT_NAMECONFLICT, 
  :FMOD_ERR_EVENT_NOTFOUND, 
  :FMOD_ERR_EVENT_NEEDSSIMPLE, 
  :FMOD_ERR_EVENT_GUIDCONFLICT, 
  :FMOD_ERR_EVENT_ALREADY_LOADED, 
  :FMOD_ERR_MUSIC_UNINITIALIZED, 
  :FMOD_ERR_MUSIC_NOTFOUND, 
  :FMOD_ERR_MUSIC_NOCALLBACK
)
FMOD_DSP_TYPE =
enum(
  :FMOD_DSP_TYPE_UNKNOWN, 
  :FMOD_DSP_TYPE_MIXER, 
  :FMOD_DSP_TYPE_OSCILLATOR, 
  :FMOD_DSP_TYPE_LOWPASS, 
  :FMOD_DSP_TYPE_ITLOWPASS, 
  :FMOD_DSP_TYPE_HIGHPASS, 
  :FMOD_DSP_TYPE_ECHO, 
  :FMOD_DSP_TYPE_FLANGE, 
  :FMOD_DSP_TYPE_DISTORTION, 
  :FMOD_DSP_TYPE_NORMALIZE, 
  :FMOD_DSP_TYPE_PARAMEQ, 
  :FMOD_DSP_TYPE_PITCHSHIFT, 
  :FMOD_DSP_TYPE_CHORUS, 
  :FMOD_DSP_TYPE_REVERB, 
  :FMOD_DSP_TYPE_VSTPLUGIN, 
  :FMOD_DSP_TYPE_WINAMPPLUGIN, 
  :FMOD_DSP_TYPE_ITECHO, 
  :FMOD_DSP_TYPE_COMPRESSOR, 
  :FMOD_DSP_TYPE_SFXREVERB, 
  :FMOD_DSP_TYPE_LOWPASS_SIMPLE, 
  :FMOD_DSP_TYPE_DELAY, 
  :FMOD_DSP_TYPE_TREMOLO
)
FMOD_OUTPUTTYPE =
enum(
  :FMOD_OUTPUTTYPE_AUTODETECT,
  :FMOD_OUTPUTTYPE_UNKNOWN,
  :FMOD_OUTPUTTYPE_NOSOUND,
  :FMOD_OUTPUTTYPE_WAVWRITER,
  :FMOD_OUTPUTTYPE_NOSOUND_NRT,
  :FMOD_OUTPUTTYPE_WAVWRITER_NRT,
  :FMOD_OUTPUTTYPE_DSOUND,
  :FMOD_OUTPUTTYPE_WINMM,
  :FMOD_OUTPUTTYPE_WASAPI,
  :FMOD_OUTPUTTYPE_ASIO,
  :FMOD_OUTPUTTYPE_OSS,
  :FMOD_OUTPUTTYPE_ALSA,
  :FMOD_OUTPUTTYPE_ESD,
  :FMOD_OUTPUTTYPE_PULSEAUDIO,
  :FMOD_OUTPUTTYPE_COREAUDIO,
  :FMOD_OUTPUTTYPE_XBOX360,
  :FMOD_OUTPUTTYPE_PSP,
  :FMOD_OUTPUTTYPE_PS3,
  :FMOD_OUTPUTTYPE_NGP,
  :FMOD_OUTPUTTYPE_WII,
  :FMOD_OUTPUTTYPE_3DS,
  :FMOD_OUTPUTTYPE_AUDIOTRACK,
  :FMOD_OUTPUTTYPE_OPENSL,
  :FMOD_OUTPUTTYPE_NACL,
  :FMOD_OUTPUTTYPE_MAX,
  :FMOD_OUTPUTTYPE_FORCEINT, 65536
)
FMOD_SOUND_FORMAT =
enum(
  :FMOD_SOUND_FORMAT_NONE,
  :FMOD_SOUND_FORMAT_PCM8,
  :FMOD_SOUND_FORMAT_PCM16,
  :FMOD_SOUND_FORMAT_PCM24,
  :FMOD_SOUND_FORMAT_PCM32,
  :FMOD_SOUND_FORMAT_PCMFLOAT,
  :FMOD_SOUND_FORMAT_GCADPCM,
  :FMOD_SOUND_FORMAT_IMAADPCM,
  :FMOD_SOUND_FORMAT_VAG,
  :FMOD_SOUND_FORMAT_HEVAG,
  :FMOD_SOUND_FORMAT_XMA,
  :FMOD_SOUND_FORMAT_MPEG,
  :FMOD_SOUND_FORMAT_CELT,
  :FMOD_SOUND_FORMAT_AT9,
  :FMOD_SOUND_FORMAT_XWMA,
  :FMOD_SOUND_FORMAT_MAX,
  :FMOD_SOUND_FORMAT_FORCEINT, 65536
)
FMOD_DSP_RESAMPLER =
enum(
  :FMOD_DSP_RESAMPLER_NOINTERP,
  :FMOD_DSP_RESAMPLER_LINEAR,
  :FMOD_DSP_RESAMPLER_CUBIC,
  :FMOD_DSP_RESAMPLER_SPLINE,
  :FMOD_DSP_RESAMPLER_MAX,
  :FMOD_DSP_RESAMPLER_FORCEINT, 65536
)
FMOD_DELAYTYPE =
enum(
  :FMOD_DELAYTYPE_END_MS,
  :FMOD_DELAYTYPE_DSPCLOCK_START,
  :FMOD_DELAYTYPE_DSPCLOCK_END,
  :FMOD_DELAYTYPE_DSPCLOCK_PAUSE,

  :FMOD_DELAYTYPE_MAX,
  :FMOD_DELAYTYPE_FORCEINT, 65536
)