org.jouvieje.fmodex.structures
Class FMOD_CDTOC

java.lang.Object
  extended byorg.jouvieje.fmodex.utils.Pointer
      extended byorg.jouvieje.fmodex.structures.FMOD_CDTOC

public class FMOD_CDTOC
extends Pointer


Constructor Summary
FMOD_CDTOC()
          Create an object that holds a null FMOD_CDTOC.
 
Method Summary
static FMOD_CDTOC allocate()
          Allocate a new FMOD_CDTOC.
static FMOD_CDTOC asFMOD_CDTOC(Pointer pointer)
          Create a view of the Pointer object as a FMOD_CDTOC object.
 java.nio.IntBuffer getFrame()
          [r] The start offset of each track in frames
 java.nio.IntBuffer getMin()
          [r] The start offset of each track in minutes
 int getNumTracks()
          [r] The number of tracks on the CD
 java.nio.IntBuffer getSec()
          [r] The start offset of each track in seconds
 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_CDTOC

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

See Also:
allocate()
Method Detail

asFMOD_CDTOC

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


allocate

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


release

public void release()

getNumTracks

public int getNumTracks()
[r] The number of tracks on the CD


getMin

public java.nio.IntBuffer getMin()
[r] The start offset of each track in minutes


getSec

public java.nio.IntBuffer getSec()
[r] The start offset of each track in seconds


getFrame

public java.nio.IntBuffer getFrame()
[r] The start offset of each track in frames



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)