| Modifier and Type | Field and Description |
|---|---|
| private final AudioInputStream | |
| private final byte[] | |
| private final int | |
| private static final int | |
| private final int | |
| pack-priv boolean | |
| private final AudioFormat | |
| private boolean | |
| private int | |
| private int | |
| private Thread | |
| private final SourceDataLine | |
| private final int | |
| private final int | |
| private final int | |
| private final int | |
| private final int | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | DataPusher(SourceDataLine sourceLine, AudioFormat format, byte[] audioData, int byteLength, boolean daemon)
|
| public | |
| private | DataPusher(final SourceDataLine source, final AudioFormat format, final AudioInputStream ais, final byte[] audioData, final int audioDataByteLength, final boolean daemon)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv synchronized void | |
| public synchronized boolean | |
| public void | |
| public synchronized void | |
| public synchronized void | |
| public synchronized void |
| ais | back to summary |
|---|---|
| private final AudioInputStream ais | |
| audioData | back to summary |
|---|---|
| private final byte[] audioData | |
| audioDataByteLength | back to summary |
|---|---|
| private final int audioDataByteLength | |
| AUTO_CLOSE_TIME | back to summary |
|---|---|
| private static final int AUTO_CLOSE_TIME | |
| BUFFER_SIZE | back to summary |
|---|---|
| private final int BUFFER_SIZE | |
| daemonThread | back to summary |
|---|---|
| pack-priv boolean daemonThread | |
| format | back to summary |
|---|---|
| private final AudioFormat format | |
| looping | back to summary |
|---|---|
| private boolean looping | |
| newPos | back to summary |
|---|---|
| private int newPos | |
| pos | back to summary |
|---|---|
| private int pos | |
| pushThread | back to summary |
|---|---|
| private Thread pushThread | |
| source | back to summary |
|---|---|
| private final SourceDataLine source | |
| STATE_NONE | back to summary |
|---|---|
| private final int STATE_NONE | |
| STATE_PLAYING | back to summary |
|---|---|
| private final int STATE_PLAYING | |
| STATE_STOPPED | back to summary |
|---|---|
| private final int STATE_STOPPED | |
| STATE_STOPPING | back to summary |
|---|---|
| private final int STATE_STOPPING | |
| STATE_WAITING | back to summary |
|---|---|
| private final int STATE_WAITING | |
| threadState | back to summary |
|---|---|
| private int threadState | |
| wantedState | back to summary |
|---|---|
| private int wantedState | |
| DataPusher | back to summary |
|---|---|
| public DataPusher(SourceDataLine sourceLine, AudioFormat format, byte[] audioData, int byteLength) | |
| DataPusher | back to summary |
|---|---|
| public DataPusher(SourceDataLine sourceLine, AudioFormat format, byte[] audioData, int byteLength, boolean daemon) | |
| DataPusher | back to summary |
|---|---|
| public DataPusher(SourceDataLine sourceLine, AudioInputStream ais) | |
| DataPusher | back to summary |
|---|---|
| private DataPusher(final SourceDataLine source, final AudioFormat format, final AudioInputStream ais, final byte[] audioData, final int audioDataByteLength, final boolean daemon) | |
| close | back to summary |
|---|---|
| pack-priv synchronized void close() | |
| isPlaying | back to summary |
|---|---|
| public synchronized boolean isPlaying() | |
| run | back to summary |
|---|---|
| public void run() Implements java. Write data to the source data line.
| |
| start | back to summary |
|---|---|
| public synchronized void start() | |
| start | back to summary |
|---|---|
| public synchronized void start(boolean loop) | |
| stop | back to summary |
|---|---|
| public synchronized void stop() | |