org.jouvieje.fmoddesigner.defines
Interface FMOD_EVENT_STATE


public interface FMOD_EVENT_STATE


These values describe what state an event is in.

Remarks

The flags below can be combined to set multiple states at once. Use bitwise AND operations to test for these.
An example of a combined flag set would be FMOD_EVENT_STATE_READY | FMOD_EVENT_STATE_PLAYING.

Platforms Supported

Win32, Win64, Linux, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii

See Also

Event::getState
FMOD_EVENT_MODE


Field Summary
static int FMOD_EVENT_STATE_CHANNELSACTIVE
          Event has active voices.
static int FMOD_EVENT_STATE_ERROR
          Failed to open - file not found, out of memory etc.
static int FMOD_EVENT_STATE_INFOONLY
          Event was loaded with the FMOD_EVENT_INFOONLY flag.
static int FMOD_EVENT_STATE_LOADING
          Loading in progress.
static int FMOD_EVENT_STATE_PLAYING
          Event has been started.
static int FMOD_EVENT_STATE_READY
          Event is ready to play.
static int FMOD_EVENT_STATE_STARVING
          Event is streaming but not being fed data in time, so may be stuttering.
 

Field Detail

FMOD_EVENT_STATE_READY

public static final int FMOD_EVENT_STATE_READY
Event is ready to play.

See Also:
Constant Field Values

FMOD_EVENT_STATE_LOADING

public static final int FMOD_EVENT_STATE_LOADING
Loading in progress.

See Also:
Constant Field Values

FMOD_EVENT_STATE_ERROR

public static final int FMOD_EVENT_STATE_ERROR
Failed to open - file not found, out of memory etc. See return value of Event::getState for what happened.

See Also:
Constant Field Values

FMOD_EVENT_STATE_PLAYING

public static final int FMOD_EVENT_STATE_PLAYING
Event has been started. This will still be true even if there are no sounds active. Event::stop must be called or the event must stop itself using a 'one shot and stop event' parameter mode.

See Also:
Constant Field Values

FMOD_EVENT_STATE_CHANNELSACTIVE

public static final int FMOD_EVENT_STATE_CHANNELSACTIVE
Event has active voices. Use this if you want to detect if sounds are playing in the event or not.

See Also:
Constant Field Values

FMOD_EVENT_STATE_INFOONLY

public static final int FMOD_EVENT_STATE_INFOONLY
Event was loaded with the FMOD_EVENT_INFOONLY flag.

See Also:
Constant Field Values

FMOD_EVENT_STATE_STARVING

public static final int FMOD_EVENT_STATE_STARVING
Event is streaming but not being fed data in time, so may be stuttering.

See Also:
Constant Field Values


NativeFmodEx Project - © Copyright 2005-2010 - Jérôme Jouvie (Jouvieje)
NativeFmodEx is an Open Source Project under GNU LGPL License
My sites : http://jerome.jouvie.free.fr/

(Documentation Copyright © Firelight Technologies - FMOD Ex - http://www.fmod.org)