| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private AutoClosingClip | |
| private static final long | CLIP_THRESHOLD
used for determining how many samples is the threshold between playing as a Clip and streaming from the file. |
| private boolean | |
| private boolean | |
| private DataPusher | |
| private JavaSoundAudioClip. | |
| private long | |
| private byte[] | |
| private int | |
| private AudioFormat | |
| private static final int | |
| private Sequence | |
| private Sequencer | |
| private boolean | |
| private static final int | |
| private volatile boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private void | |
| public synchronized boolean | |
| private boolean | |
| public synchronized void | |
| public synchronized void | meta(MetaMessage message)
Implements javax. Invoked when a |
| public synchronized void | |
| private void | |
| private void | |
| private synchronized void | |
| public synchronized void | |
| public String | |
| public synchronized void | update(LineEvent event)
Implements javax. Informs the listener that a line's state has changed. |
| clip | back to summary |
|---|---|
| private AutoClosingClip clip | |
| CLIP_THRESHOLD | back to summary |
|---|---|
| private static final long CLIP_THRESHOLD used for determining how many samples is the threshold between playing as a Clip and streaming from the file. $$jb: 11.07.99: the engine has a limit of 1M samples to play as a Clip, so compare this number with the number of samples in the stream. | |
| clipLooping | back to summary |
|---|---|
| private boolean clipLooping | |
| clipPlaying | back to summary |
|---|---|
| private boolean clipPlaying | |
| datapusher | back to summary |
|---|---|
| private DataPusher datapusher | |
| disposerRecord | back to summary |
|---|---|
| private JavaSoundAudioClip. | |
| lastPlayCall | back to summary |
|---|---|
| private long lastPlayCall | |
| loadedAudio | back to summary |
|---|---|
| private byte[] loadedAudio | |
| loadedAudioByteLength | back to summary |
|---|---|
| private int loadedAudioByteLength | |
| loadedAudioFormat | back to summary |
|---|---|
| private AudioFormat loadedAudioFormat | |
| MINIMUM_PLAY_DELAY | back to summary |
|---|---|
| private static final int MINIMUM_PLAY_DELAY | |
| sequence | back to summary |
|---|---|
| private Sequence sequence | |
| sequencer | back to summary |
|---|---|
| private Sequencer sequencer | |
| sequencerloop | back to summary |
|---|---|
| private boolean sequencerloop | |
| STREAM_BUFFER_SIZE | back to summary |
|---|---|
| private static final int STREAM_BUFFER_SIZE | |
| success | back to summary |
|---|---|
| private volatile boolean success | |
| JavaSoundAudioClipDelegate | back to summary |
|---|---|
| pack-priv JavaSoundAudioClipDelegate(File file, JavaSoundAudioClip. | |
| canPlay | back to summary |
|---|---|
| public synchronized boolean canPlay() | |
| createClip | back to summary |
|---|---|
| private boolean createClip() | |
| createSequencer | back to summary |
|---|---|
| private boolean createSequencer(BufferedInputStream in) throws IOException | |
| createSourceDataLine | back to summary |
|---|---|
| private boolean createSourceDataLine() | |
| init | back to summary |
|---|---|
| private void init(InputStream in) throws IOException | |
| isPlaying | back to summary |
|---|---|
| public synchronized boolean isPlaying() | |
| loadAudioData | back to summary |
|---|---|
| private boolean loadAudioData(AudioInputStream as) throws IOException, UnsupportedAudioFileException | |
| loop | back to summary |
|---|---|
| public synchronized void loop() | |
| meta | back to summary |
|---|---|
| public synchronized void meta(MetaMessage message) Implements javax. Doc from javax. Invoked when a
| |
| play | back to summary |
|---|---|
| public synchronized void play() | |
| readStream | back to summary |
|---|---|
| private void readStream(AudioInputStream as, long byteLen) throws IOException | |
| readStream | back to summary |
|---|---|
| private void readStream(AudioInputStream as) throws IOException | |
| startImpl | back to summary |
|---|---|
| private synchronized void startImpl(boolean loop) | |
| stop | back to summary |
|---|---|
| public synchronized void stop() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| update | back to summary |
|---|---|
| public synchronized void update(LineEvent event) Implements javax. Doc from javax. Informs the listener that a line's state has changed. The listener can
then invoke
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] |
| DirectBAOS | back to summary |
|---|---|
| pack-priv DirectBAOS() | |
| getInternalBuffer | back to summary |
|---|---|
| public byte[] getInternalBuffer() | |