public class MediaClip4D
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
CLOSED |
static int |
HIGH |
static int |
LOW |
static int |
MEDIUM |
protected java.lang.String |
path |
static int |
PREFETCHED |
static int |
REALIZED |
static int |
STARTED |
static int |
UNREALIZED |
static int |
VOICE |
Constructor and Description |
---|
MediaClip4D(RandomAccessStream stream) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
finalize() |
int |
getCurrentState() |
void |
onEvent(MediaClipEvent evt) |
void |
record(int samplesPerSecond,
int bitsPerSample,
boolean stereo) |
void |
reset() |
void |
start() |
void |
stop() |
protected java.lang.String path
public static final int UNREALIZED
public static final int REALIZED
public static final int PREFETCHED
public static final int STARTED
public static final int CLOSED
public static final int VOICE
public static final int LOW
public static final int MEDIUM
public static final int HIGH
public MediaClip4D(RandomAccessStream stream) throws IOException
IOException
public int getCurrentState()
public final void start() throws IOException
IOException
public final void stop()
public final void reset()
public final void close() throws IOException
IOException
public void onEvent(MediaClipEvent evt)
public void record(int samplesPerSecond, int bitsPerSample, boolean stereo) throws IOException
IOException
public void finalize()
finalize
in class java.lang.Object