Enum rfmod::Status [] [src]

#[repr(C)]
pub enum Status { Ok, AlreadyLocked, BadCommand, CDDADrivers, CDDAInit, CDDAInvalidDevice, CDDANoAudio, CDDANoDevices, CDDANoDisc, CDDARead, ChannelAlloc, ChannelStolen, COM, DMA, DSPConnection, DSPFormat, DSPNotFound, DSPRunning, DSPTooManyConnections, FileBad, FileCouldNotSeek, FileDiskEjected, FileEOF, FileNotFound, FileUnwanted, Format, HTTP, HTTPAccess, HTTPProxyAuth, HTTPServerError, HTTPTimeout, Initialization, Initialized, Internal, InvalidAddress, InvalidFloat, InvalidHandle, InvalidParam, InvalidPosition, InvalidSpeaker, InvalidSyncPoint, InvalidVector, MaxAudible, Memory, MemoryCantPoint, MemorySRAM, Needs2D, Needs3D, NeedsHardware, NeedsSoftware, NetConnect, NetSocketError, NetURL, NetWouldBlock, NotReady, OutputAllocated, OutputCreateBuffer, OutputDriverCall, OutputEnumeration, OutputFormat, OutputInit, OutputNoHardware, OutputNoSoftware, Pan, Plugin, PluginInstances, PluginMissing, PluginResource, Preloaded, ProgrammerSound, Record, ReverbInstance, SubsoundAllocated, SubsoundCantMove, SubsoundMode, Subsounds, TagNotFound, TooManyChannels, Unimplemented, Uninitialized, Unsupported, Update, Version, EventFailed, EventInfoOnly, EventInternal, EventMaxStreams, EventMismatch, EventNameConflict, EventNotFound, EventNeedsSimple, EventGuidConflict, EventAlreadyLoaded, MusicUninitialized, MusicNotFound, MusicNoCallback, StatusForceInt, }

Error codes. Returned from every function.

Variants

No errors.

Tried to call lock a second time before unlock was called.

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).

Neither NTSCSI nor ASPI could be initialised.

An error occurred while initialising the CDDA subsystem.

Couldn't find the specified device.

No audio tracks on the specified disc.

No CD/DVD devices were found.

No disc present in the specified drive.

A CDDA read error occurred.

Error trying to allocate a channel.

The specified channel has been reused to play another sound.

A Win32 COM related error occured. COM failed to initialize or a QueryInterface failed meaning a Windows codec or driver was not installed properly.

DMA Failure. See debug output for more information.

DSP connection error. Connection possibly caused a cyclic dependancy. Or tried to connect a tree too many units deep (more than 128).

DSP Format error. A DSP unit may have attempted to connect to this network with the wrong format.

DSP connection error. Couldn't find the DSP unit specified.

DSP error. Cannot perform this operation while the network is in the middle of running. This will most likely happen if a connection or disconnection is attempted in a DSP callback.

DSP connection error. The unit being connected to or disconnected should only have 1 input or output.

Error loading file.

Couldn't perform seek operation. This is a limitation of the medium (ie netstreams) or the file format.

Media was ejected while reading.

End of file unexpectedly reached while trying to read essential data (truncated data ?).

File not found.

Unwanted file access occured.

Unsupported file or audio format.

A HTTP error occurred. This is a catch-all for HTTP errors not listed elsewhere.

The specified resource requires authentication or is forbidden.

Proxy authentication is required to access the specified resource.

A HTTP server error occurred.

The HTTP request timed out.

FMOD was not initialized correctly to support this function.

Cannot call this command after System::init.

An error occured that wasn't supposed to. Contact support.

On Xbox 360, this memory address passed to FMOD must be physical, (ie allocated with XPhysicalAlloc.)

Value passed in was a NaN, Inf or denormalized float.

An invalid object handle was used.

An invalid parameter was passed to this function.

An invalid seek position was passed to this function.

An invalid speaker was passed to this function based on the current speaker mode.

The syncpoint did not come from this sound handle.

The vectors passed in are not unit length, or perpendicular.

Reached maximum audible playback count for this sound's soundgroup.

Not enough memory or resources.

Can't use FMOD_OPENMEMORY_POINT on non PCM source data, or non mp3/xma/adpcm data if FMOD_CREATECOMPRESSEDSAMPLE was used.

Not enough memory or resources on console sound ram.

Tried to call a command on a 3d sound when the command was meant for 2d sound.

Tried to call a command on a 2d sound when the command was meant for 3d sound.

Tried to use a feature that requires hardware support. (ie trying to play a GCADPCM compressed sound in software on Wii).

Tried to use a feature that requires the software engine. Software engine has either been turned off, or command was executed on a hardware channel which does not support this feature.

Couldn't connect to the specified host.

A socket error occurred. This is a catch-all for socket-related errors not listed elsewhere.

The specified URL couldn't be resolved.

Operation on a non-blocking socket could not complete immediately.

Operation could not be performed because specified sound/DSP connection is not ready.

Error initializing output device, but more specifically, the output device is already in use and cannot be reused.

Error creating hardware sound buffer.

A call to a standard soundcard driver failed, which could possibly mean a bug in the driver or resources were missing or exhausted.

Error enumerating the available driver list. List may be inconsistent due to a recent device addition or removal.

Soundcard does not support the minimum features needed for this soundsystem (16bit stereo output).

Error initializing output device.

FMOD_HARDWARE was specified but the sound card does not have the resources necessary to play it.

Attempted to create a software sound but no software channels were specified in System::init.

Panning only works with mono or stereo sound sources.

An unspecified error has been returned from a 3rd party plugin.

The number of allowed instances of a plugin has been exceeded.

A requested output, dsp unit type or codec was not available.

A resource that the plugin requires cannot be found. (ie the DLS file for MIDI playback or other DLLs that it needs to load)

The specified sound is still in use by the event system, call EventSystem::unloadFSB before trying to release it.

The specified sound is still in use by the event system, wait for the event which is using it finish with it.

An error occured trying to initialize the recording device.

Specified instance in FMOD_REVERB_PROPERTIES couldn't be set. Most likely because it is an invalid instance number or the reverb doesnt exist.

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.

Shared subsounds cannot be replaced or moved from their parent stream, such as when the parent stream is an FSB file.

The subsound's mode bits do not match with the parent sound's mode bits. See documentation for function that it was called with.

The error occured because the sound referenced contains subsounds when it shouldn't have, or it doesn't contain subsounds when it should have. The operation may also not be able to be performed on a parent sound, or a parent sound was played without setting up a sentence first.

The specified tag could not be found or there are no tags.

The sound created exceeds the allowable input channel count. This can be increased using the maxinputchannels parameter in System::setSoftwareFormat.

Something in FMOD hasn't been implemented when it should be ! contact support !

This command failed because System::init or System::setDriver was not called.

A command issued was not supported by this object. Possibly a plugin without certain callbacks specified.

An error caused by System::update occured.

The version number of this file format is not supported.

An Event failed to be retrieved, most likely due to 'just fail' being specified as the max playbacks behavior.

Can't execute this command on an EVENT_INFOONLY event.

An error occured that wasn't supposed to. See debug log for reason.

Event failed because 'Max streams' was hit when FMOD_EVENT_INIT_FAIL_ON_MAXSTREAMS was specified.

FSB mismatches the FEV it was compiled with, the stream/sample mode it was meant to be created with was different, or the FEV was built for a different platform.

A category with the same name already exists.

The requested event, event group, event category or event property could not be found.

Tried to call a function on a complex event that's only supported by simple events.

An event with the same GUID already exists.

The specified project or bank has already been loaded. Having multiple copies of the same project loaded simultaneously is forbidden.

Music system is not initialized probably because no music data is loaded.

The requested music entity could not be found.

The music callback is required, but it has not been set.

Makes sure this enum is signed 32bit.

Trait Implementations

impl Clone for Status
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Status
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl PartialOrd for Status
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Debug for Status
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for Status
[src]

Auto Trait Implementations

impl Send for Status

impl Sync for Status