quentinc.audio
Class Clip

java.lang.Object
  extended by quentinc.audio.Clip
Direct Known Subclasses:
Sample

public abstract class Clip
extends java.lang.Object

Base class for all audio clips.


Method Summary
 void close()
          Close the clip and release all associated resources.
abstract  float getDuration()
          Get the duration of this clip in seconds. -1 = not known.
abstract  int getDurationInFrames()
          Get the duration of this clip in frames. -1 = not known.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDurationInFrames

public abstract int getDurationInFrames()
Get the duration of this clip in frames. -1 = not known.


getDuration

public abstract float getDuration()
Get the duration of this clip in seconds. -1 = not known.


close

public void close()
Close the clip and release all associated resources.