org.jouvieje.fmoddesigner.structures
Class FMOD_EVENT_WAVEBANKINFO

java.lang.Object
  extended byorg.jouvieje.fmodex.utils.Pointer
      extended byorg.jouvieje.fmoddesigner.structures.FMOD_EVENT_WAVEBANKINFO

public class FMOD_EVENT_WAVEBANKINFO
extends Pointer


Constructor Summary
FMOD_EVENT_WAVEBANKINFO()
          Create an object that holds a null FMOD_EVENT_WAVEBANKINFO.
 
Method Summary
static FMOD_EVENT_WAVEBANKINFO allocate()
          Allocate a new FMOD_EVENT_WAVEBANKINFO.
static FMOD_EVENT_WAVEBANKINFO[] allocate(int length)
          Allocate and initialize a new FMOD_EVENT_WAVEBANKINFO[].
static FMOD_EVENT_WAVEBANKINFO asFMOD_EVENT_WAVEBANKINFO(Pointer pointer)
          Create a view of the Pointer object as a FMOD_EVENT_WAVEBANKINFO object.
 int getMaxStreams()
          [out] Maximum number of times this wave bank will be opened for streaming.
 java.nio.CharBuffer getName()
          [out] Name of this wave bank.
 int getNumStreams()
          [out] Number of times this wave bank has been opened for streaming.
 int getSampleMemory()
          [out] Amount of memory (in bytes) used by samples.
 int getSampleRefCnt()
          [out] Number of sample references to this wave bank made by events in this event system.
 int getStreamMemory()
          [out] Amount of memory (in bytes) used by streams.
 int getStreamRefCnt()
          [out] Number of stream references to this wave bank made by events in this event system.
 int getStreamSinuse()
          [out] Number of streams currently in use.
 int getType()
          [out] 0 = stream from disk, 1 = load into memory, 2 = decompress into memory.
 void release()
           
 
Methods inherited from class org.jouvieje.fmodex.utils.Pointer
asByteBuffer, asDouble, asFloat, asInt, asLong, asPointer, asString, asString, equals, isNull, shareMemory
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FMOD_EVENT_WAVEBANKINFO

public FMOD_EVENT_WAVEBANKINFO()
Create an object that holds a null FMOD_EVENT_WAVEBANKINFO.
The call isNull() on the object created will returns true.
  FMOD_EVENT_WAVEBANKINFO obj = new FMOD_EVENT_WAVEBANKINFO();
  (obj == null) <=> false
  obj.isNull() <=> true
 
To creates a new FMOD_EVENT_WAVEBANKINFO, use the static "constructor" :
  FMOD_EVENT_WAVEBANKINFO obj = FMOD_EVENT_WAVEBANKINFO.allocate();

See Also:
allocate()
Method Detail

asFMOD_EVENT_WAVEBANKINFO

public static FMOD_EVENT_WAVEBANKINFO asFMOD_EVENT_WAVEBANKINFO(Pointer pointer)
Create a view of the Pointer object as a FMOD_EVENT_WAVEBANKINFO object.
This view is valid only if the memory holded by the Pointer holds a FMOD_EVENT_WAVEBANKINFO object.


allocate

public static FMOD_EVENT_WAVEBANKINFO[] allocate(int length)
Allocate and initialize a new FMOD_EVENT_WAVEBANKINFO[].

Parameters:
length - length of the array returned.

allocate

public static FMOD_EVENT_WAVEBANKINFO allocate()
Allocate a new FMOD_EVENT_WAVEBANKINFO.
The call isNull() on the object created will return false.
  FMOD_EVENT_WAVEBANKINFO obj = FMOD_EVENT_WAVEBANKINFO.allocate();
  (obj == null) <=> obj.isNull() <=> false
 


release

public void release()

getName

public java.nio.CharBuffer getName()
[out] Name of this wave bank.


getStreamRefCnt

public int getStreamRefCnt()
[out] Number of stream references to this wave bank made by events in this event system.


getSampleRefCnt

public int getSampleRefCnt()
[out] Number of sample references to this wave bank made by events in this event system.


getNumStreams

public int getNumStreams()
[out] Number of times this wave bank has been opened for streaming.


getMaxStreams

public int getMaxStreams()
[out] Maximum number of times this wave bank will be opened for streaming.


getStreamSinuse

public int getStreamSinuse()
[out] Number of streams currently in use.


getStreamMemory

public int getStreamMemory()
[out] Amount of memory (in bytes) used by streams.


getSampleMemory

public int getSampleMemory()
[out] Amount of memory (in bytes) used by samples.


getType

public int getType()
[out] 0 = stream from disk, 1 = load into memory, 2 = decompress into memory.



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)