| Package | Description |
|---|---|
| javazoom.jl.converter | |
| javazoom.jl.decoder | |
| javazoom.jl.player | |
| javazoom.jl.player.advanced |
| Modifier and Type | Method and Description |
|---|---|
void |
Converter.convert(InputStream sourceStream,
String destName,
Converter.ProgressListener progressListener,
Decoder.Params decoderParams) |
void |
Converter.convert(String sourceName,
String destName) |
void |
Converter.convert(String sourceName,
String destName,
Converter.ProgressListener progressListener) |
void |
Converter.convert(String sourceName,
String destName,
Converter.ProgressListener progressListener,
Decoder.Params decoderParams) |
| Modifier and Type | Class and Description |
|---|---|
class |
BitstreamException
Instances of
BitstreamException are thrown
when operations on a Bitstream fail. |
class |
DecoderException
The
DecoderException represents the class of
errors that can occur when decoding MPEG audio. |
| Modifier and Type | Method and Description |
|---|---|
AudioDevice |
JavaSoundAudioDeviceFactory.createAudioDevice() |
AudioDevice |
FactoryRegistry.createAudioDevice() |
abstract AudioDevice |
AudioDeviceFactory.createAudioDevice()
Creates a new
AudioDevice. |
protected JavaSoundAudioDevice |
JavaSoundAudioDeviceFactory.createAudioDeviceImpl() |
protected void |
JavaSoundAudioDevice.createSource() |
protected boolean |
Player.decodeFrame()
Decodes a single frame.
|
protected AudioDevice |
PlayerApplet.getAudioDevice()
Retrieves the
AudioDevice instance that will
be used to sound the audio data. |
protected AudioDevice |
jlp.getAudioDevice() |
void |
JavaSoundAudioDevice.open(AudioFormat fmt) |
void |
AudioDeviceBase.open(Decoder decoder)
Opens this audio device.
|
void |
AudioDevice.open(Decoder decoder)
Prepares the AudioDevice for playback of audio samples.
|
protected void |
JavaSoundAudioDevice.openImpl() |
protected void |
AudioDeviceBase.openImpl()
Template method to provide the
implementation for the opening of the audio device.
|
void |
Player.play() |
void |
jlp.play() |
protected void |
PlayerApplet.play(InputStream in,
AudioDevice dev)
Decompresses audio data from an InputStream and plays it
back through an AudioDevice.
|
boolean |
Player.play(int frames)
Plays a number of MPEG audio frames.
|
protected void |
PlayerApplet.stopPlayer()
Stops the audio player.
|
void |
JavaSoundAudioDevice.test()
Runs a short test by playing a short silent sound.
|
void |
JavaSoundAudioDeviceFactory.testAudioDevice() |
void |
AudioDeviceBase.write(short[] samples,
int offs,
int len)
Writes audio data to this audio device.
|
void |
AudioDevice.write(short[] samples,
int offs,
int len)
Writes a number of samples to this
AudioDevice. |
protected void |
JavaSoundAudioDevice.writeImpl(short[] samples,
int offs,
int len) |
protected void |
AudioDeviceBase.writeImpl(short[] samples,
int offs,
int len)
Template method to provide the implementation for
writing audio samples to the audio device.
|
| Constructor and Description |
|---|
Player(InputStream stream)
Creates a new
Player instance. |
Player(InputStream stream,
AudioDevice device) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AdvancedPlayer.decodeFrame()
Decodes a single frame.
|
void |
AdvancedPlayer.play() |
boolean |
AdvancedPlayer.play(int frames)
Plays a number of MPEG audio frames.
|
boolean |
AdvancedPlayer.play(int start,
int end)
Plays a range of MPEG audio frames
|
void |
jlap.play(String filename) |
static AdvancedPlayer |
jlap.playMp3(File mp3,
int start,
int end,
PlaybackListener listener) |
static AdvancedPlayer |
jlap.playMp3(File mp3,
PlaybackListener listener) |
static AdvancedPlayer |
jlap.playMp3(InputStream is,
int start,
int end,
PlaybackListener listener) |
protected boolean |
AdvancedPlayer.skipFrame()
skips over a single frame
|
| Constructor and Description |
|---|
AdvancedPlayer(InputStream stream)
Creates a new
Player instance. |
AdvancedPlayer(InputStream stream,
AudioDevice device) |
Copyright © 2016. All Rights Reserved.