|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavazoom.jl.decoder.Obuffer
public abstract class Obuffer
Base Class for audio output.
| Field Summary | |
|---|---|
static int |
MAXCHANNELS
|
static int |
OBUFFERSIZE
|
| Constructor Summary | |
|---|---|
Obuffer()
|
|
| Method Summary | |
|---|---|
abstract void |
append(int channel,
short value)
Takes a 16 Bit PCM sample. |
void |
appendSamples(int channel,
float[] f)
Accepts 32 new PCM samples. |
abstract void |
clear_buffer()
Clears all data in the buffer (for seeking). |
abstract void |
close()
|
abstract void |
set_stop_flag()
Notify the buffer that the user has stopped the stream. |
abstract void |
write_buffer(int val)
Write the samples to the file or directly to the audio hardware. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int OBUFFERSIZE
public static final int MAXCHANNELS
| Constructor Detail |
|---|
public Obuffer()
| Method Detail |
|---|
public abstract void append(int channel,
short value)
public void appendSamples(int channel,
float[] f)
public abstract void write_buffer(int val)
public abstract void close()
public abstract void clear_buffer()
public abstract void set_stop_flag()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||