Module: FMOD::Core::Result
- Defined in:
- lib/fmod/core/result.rb
Overview
Result codes returned from every function call to FMOD.
Constant Summary collapse
- OK =
No errors.
0
- BAD_COMMAND =
Tried to call a function on a data type that does not allow this type of functionality (ie calling Sound#lock on a streaming sound).
1
- CHANNEL_ALLOC =
Error trying to allocate a channel.
2
- CHANNEL_STOLEN =
The specified channel has been reused to play another sound.
3
- DMA =
DMA Failure. See debug output for more information.
4
- DSP_CONNECTION =
DSP connection error. Connection possibly caused a cyclic dependency or connected dsps with incompatible buffer counts.
5
- DSP_DONT_PROCESS =
DSP return code from a DSP process query callback. Tells mixer not to call the process callback and therefore not consume CPU. Use this to optimize the DSP graph.
6
- DSP_FORMAT =
DSP Format error. A DSP unit may have attempted to connect to this network with the wrong format, or a matrix may have been set with the wrong size if the target unit has a specified channel map.
7
- DSP_IN_USE =
DSP is already in the mixer’s DSP network. It must be removed before being reinserted or released.
8
- DSP_NOT_FOUND =
DSP connection error. Couldn’t find the DSP unit specified.
9
- DSP_RESERVED =
DSP operation error. Cannot perform operation on this DSP as it is reserved by the system.
10
- DSP_SILENCE =
DSP return code from a DSP process query callback. Tells mixer silence would be produced from read, so go idle and not consume CPU. Use this to optimize the DSP graph.
11
- DSP_TYPE =
DSP operation cannot be performed on a DSP of this type.
12
- FILE_BAD =
Error loading file.
13
- FILE_COULD__SEEK =
Couldn’t perform seek operation. This is a limitation of the medium (ie net-streams) or the file format.
14
- FILE_DISK_EJECTED =
Media was ejected while reading.
15
- FILE_EOF =
End of file unexpectedly reached while trying to read essential data (truncated?).
16
- FILE_END_OF_DATA =
End of current chunk reached while trying to read data.
17
- FILE_NOT_FOUND =
File not found.
18
- FORMAT =
Unsupported file or audio format.
19
- HEADER_MISMATCH =
There is a version mismatch between the FMOD header and either the FMOD Studio library or the FMOD Low Level library.
20
- HTTP =
A HTTP error occurred. This is a catch-all for HTTP errors not listed elsewhere.
21
- HTTP_ACCESS =
The specified resource requires authentication or is forbidden.
22
- HTTP_PROXY_AUTH =
Proxy authentication is required to access the specified resource.
23
- HTTP_SERVER_ERROR =
A HTTP server error occurred.
24
- HTTP_TIMEOUT =
The HTTP request timed out.
25
- INITIALIZATION =
FMOD was not initialized correctly to support this function.
26
- INITIALIZED =
Cannot call this command after FMOD::System.create.
27
- INTERNAL =
An error occurred that wasn’t supposed to. Contact support.
28
- INVALID_FLOAT =
Value passed in was a NaN, Inf or de-normalized float.
29
- INVALID_HANDLE =
An invalid object handle was used.
30
- INVALID_PARAM =
An invalid parameter was passed to a function.
31
- INVALID_POSITION =
An invalid seek position was passed to a function.
32
- INVALID_SPEAKER =
An invalid speaker was passed to this function based on the current speaker mode.
33
- INVALID_SYNC_POINT =
The syncpoint did not come from this sound handle.
34
- INVALID_THREAD =
Tried to call a function on a thread that is not supported.
35
- INVALID_VECTOR =
The vectors passed in are not unit length, or perpendicular.
36
- MAX_AUDIBLE =
Reached maximum audible playback count for this sound’s sound group.
37
- MEMORY =
Not enough memory or resources.
38
- MEMORY_CANT_POINT =
Can’t use “open memory point” on non PCM source data, or non mp3/xma/adpcm data if “create compressed sample” was used.
39
- NEEDS_3D =
Tried to call a command on a 2d sound when the command was meant for 3D sound.
40
- NEEDS_HARDWARE =
Tried to use a feature that requires hardware support.
41
- NET_CONNECT =
Couldn’t connect to the specified host.
42
- NET_SOCKET_ERROR =
A socket error occurred. This is a catch-all for socket-related errors not listed elsewhere.
43
- NET_URL =
The specified URL couldn’t be resolved.
44
- NET_WOULD_BLOCK =
Operation on a non-blocking socket could not complete immediately.
45
- NOT_READY =
Operation could not be performed because specified sound/DSP connection is not ready.
46
- OUTPUT_ALLOCATED =
Error initializing output device, but more specifically, the output device is already in use and cannot be reused.
47
- OUTPUT_CREATE_BUFFER =
Error creating hardware sound buffer.
48
- OUTPUT_DRIVER_CALL =
A call to a standard soundcard driver failed, which could possibly mean a bug in the driver or resources were missing or exhausted.
49
- OUTPUT_FORMAT =
Sound card does not support the specified format.
50
- OUTPUT_INIT =
Error initializing output device.
51
- OUTPUT_NO_DRIVERS =
The output device has no drivers installed. If pre-init, NO_SOUND is selected as the output mode. If post-init, the function just fails.
52
- PLUGIN =
An unspecified error has been returned from a plugin.
53
- PLUGIN_MISSING =
A requested output, DSP unit type or codec was not available.
54
- PLUGIN_RESOURCE =
A resource that the plugin requires cannot be found. (ie the DLS file for MIDI playback)
55
- PLUGIN_VERSION =
A plugin was built with an unsupported SDK version.
56
- RECORD =
An error occurred trying to initialize the recording device.
57
- REVERB_CHANNEL_GROUP =
Reverb properties cannot be set on this channel because a parent channel group owns the reverb connection.
58
- REVERB_INSTANCE =
Specified instance in Reverb couldn’t be set. Most likely because it is an invalid instance number or the reverb doesn’t exist.
59
- SUBSOUNDS =
The error occurred because the sound referenced contains sub-sounds when it shouldn’t have, or it doesn’t contain sub-sounds when it should have. The operation may also not be able to be performed on a parent sound.
60
- SUBSOUND_ALLOCATED =
This subsound is already being used by another sound, you cannot have more than one parent to a sound. Null out the other parent’s entry first.
61
- SUBSOUND_CANT_MOVE =
Shared subsounds cannot be replaced or moved from their parent stream, such as when the parent stream is an FSB file.
62
- TAG_NOT_FOUND =
The specified tag could not be found or there are no tags.
63
- TOO_MANY_CHANNELS =
The sound created exceeds the allowable input channel count.
64
- TRUNCATED =
The retrieved string is too long to fit in the supplied buffer and has been truncated.
65
- UNIMPLEMENTED =
Something in FMOD hasn’t been implemented when it should be! Contact support!
66
- UNINITIALIZED =
This command failed because System.create or System.output was not called.
67
- UNSUPPORTED =
A command issued was not supported by this object. Possibly a plugin without certain callbacks specified.
68
- VERSION =
The version number of this file format is not supported.
69
- EVENT_ALREADY_LOADED =
The specified bank has already been loaded.
70
- EVENT_LIVE_UPDATE_BUSY =
The live update connection failed due to the game already being connected.
71
- EVENT_LIVE_UPDATE_MISMATCH =
The live update connection failed due to the game data being out of sync with the tool.
72
- EVENT_LIVE_UPDATE_TIMEOUT =
The live update connection timed out.
73
- EVENT_NOT_FOUND =
The requested event, bus or vca could not be found.
74
- STUDIO_UNINITIALIZED =
The Studio::System object is not yet initialized.
75
- STUDIO_NOT_LOADED =
The specified resource is not loaded, so it can’t be unloaded.
76
- INVALID_STRING =
An invalid string was passed to this function.
77
- ALREADY_LOCKED =
The specified resource is already locked.
78
- NOT_LOCKED =
The specified resource is not locked, so it can’t be unlocked.
79
- RECORD_DISCONNECTED =
The specified recording driver has been disconnected.
80
- TOO_MANY_SAMPLES =
The length provided exceeds the allowable limit.
81