Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- add_bits(int, int) - Method in class javazoom.jl.decoder.Crc16
-
Feed a bitstring to the crc calculation (0 invalid input: '<' length invalid input: '<'= 32).
- addControl(Control) - Method in class javazoom.jl.decoder.Manager
- addFactory(AudioDeviceFactory) - Method in class javazoom.jl.player.FactoryRegistry
-
Registers an
AudioDeviceFactory
instance with this registry. - AdvancedPlayer - Class in javazoom.jl.player.advanced
-
a hybrid of javazoom.jl.player.Player tweeked to include
play(startFrame, endFrame)
hopefully this will be included in the api - AdvancedPlayer(InputStream) - Constructor for class javazoom.jl.player.advanced.AdvancedPlayer
-
Creates a new
Player
instance. - AdvancedPlayer(InputStream, AudioDevice) - Constructor for class javazoom.jl.player.advanced.AdvancedPlayer
- append(int, short) - Method in class javazoom.jl.converter.WaveFileObuffer
-
Takes a 16 Bit PCM sample.
- append(int, short) - Method in class javazoom.jl.decoder.Obuffer
-
Takes a 16 Bit PCM sample.
- append(int, short) - Method in class javazoom.jl.decoder.SampleBuffer
-
Takes a 16 Bit PCM sample.
- appendSamples(int, float[]) - Method in class javazoom.jl.decoder.Obuffer
-
Accepts 32 new PCM samples.
- appendSamples(int, float[]) - Method in class javazoom.jl.decoder.SampleBuffer
- AUDIO_PARAMETER - Static variable in class javazoom.jl.player.PlayerApplet
- AudioDevice - Interface in javazoom.jl.player
-
The
AudioDevice
interface provides an abstraction for a device capable of sounding audio samples. - AudioDeviceBase - Class in javazoom.jl.player
-
The
AudioDeviceBase
class provides a simple thread-safe implementation of theAudioDevice
interface. - AudioDeviceBase() - Constructor for class javazoom.jl.player.AudioDeviceBase
- AudioDeviceFactory - Class in javazoom.jl.player
-
An
AudioDeviceFactory
class is responsible for creating a specificAudioDevice
implementation. - AudioDeviceFactory() - Constructor for class javazoom.jl.player.AudioDeviceFactory
B
- Backpatch(long, byte[], int) - Method in class javazoom.jl.converter.RiffFile
- Backpatch(long, RiffFile.RiffChunkHeader, int) - Method in class javazoom.jl.converter.RiffFile
-
Write Data to specified offset.
- BAND_NOT_PRESENT - Static variable in class javazoom.jl.decoder.Equalizer
-
Equalizer setting to denote that a given band will not be present in the output signal.
- bitrate() - Method in class javazoom.jl.decoder.Header
-
Return Bitrate.
- bitrate_index() - Method in class javazoom.jl.decoder.Header
-
Returns bitrate index.
- bitrate_instant() - Method in class javazoom.jl.decoder.Header
-
Return Instant Bitrate.
- bitrate_str - Static variable in class javazoom.jl.decoder.Header
- bitrate_string() - Method in class javazoom.jl.decoder.Header
-
Return Bitrate.
- bitrates - Static variable in class javazoom.jl.decoder.Header
- BitsPerSample() - Method in class javazoom.jl.converter.WaveFile
- Bitstream - Class in javazoom.jl.decoder
-
The
Bistream
class is responsible for parsing an MPEG audio bitstream. - Bitstream(InputStream) - Constructor for class javazoom.jl.decoder.Bitstream
-
Construct a IBitstream that reads data from a given InputStream.
- BITSTREAM_ERROR - Static variable in interface javazoom.jl.decoder.JavaLayerErrors
-
The first bitstream error code.
- BITSTREAM_LAST - Static variable in interface javazoom.jl.decoder.BitstreamErrors
- BitstreamErrors - Interface in javazoom.jl.decoder
-
This interface describes all error codes that can be thrown in
BistreamException
s. - BitstreamException - Exception Class in javazoom.jl.decoder
-
Instances of
BitstreamException
are thrown when operations on aBitstream
fail. - BitstreamException(int, Throwable) - Constructor for exception class javazoom.jl.decoder.BitstreamException
- BitstreamException(String, Throwable) - Constructor for exception class javazoom.jl.decoder.BitstreamException
- BOTH - Static variable in class javazoom.jl.decoder.OutputChannels
- BOTH_CHANNELS - Static variable in class javazoom.jl.decoder.OutputChannels
-
Flag to indicate output should include both channels.
C
- calculate_framesize() - Method in class javazoom.jl.decoder.Header
-
Calculate Frame size.
- chan - Variable in class javazoom.jl.converter.WaveFile.WaveFileSample
- checksum - Variable in class javazoom.jl.decoder.Header
- checksum() - Method in class javazoom.jl.decoder.Crc16
-
Return the calculated checksum.
- checksum_ok() - Method in class javazoom.jl.decoder.Header
-
Returns Checksum flag.
- checksums() - Method in class javazoom.jl.decoder.Header
-
Returns Protection bit.
- clear_buffer() - Method in class javazoom.jl.converter.WaveFileObuffer
- clear_buffer() - Method in class javazoom.jl.decoder.Obuffer
-
Clears all data in the buffer (for seeking).
- clear_buffer() - Method in class javazoom.jl.decoder.SampleBuffer
- clone() - Method in class javazoom.jl.decoder.Decoder.Params
- close() - Method in class javazoom.jl.converter.WaveFileObuffer
- close() - Method in class javazoom.jl.decoder.Bitstream
-
Close the Bitstream.
- close() - Method in class javazoom.jl.decoder.Obuffer
- close() - Method in class javazoom.jl.decoder.SampleBuffer
- close() - Method in class javazoom.jl.player.advanced.AdvancedPlayer
-
Cloases this player.
- close() - Method in interface javazoom.jl.player.AudioDevice
-
Closes this audio device.
- close() - Method in class javazoom.jl.player.AudioDeviceBase
-
Closes this audio device.
- close() - Method in class javazoom.jl.player.Player
-
Cloases this player.
- Close() - Method in class javazoom.jl.converter.RiffFile
-
Close Riff File.
- Close() - Method in class javazoom.jl.converter.WaveFile
- closeFrame() - Method in class javazoom.jl.decoder.Bitstream
-
Close MP3 frame.
- closeImpl() - Method in class javazoom.jl.player.AudioDeviceBase
-
Template method to provide the implementation for closing the audio device.
- closeImpl() - Method in class javazoom.jl.player.JavaSoundAudioDevice
- Control - Interface in javazoom.jl.decoder
-
Work in progress.
- convert(InputStream, String, Converter.ProgressListener, Decoder.Params) - Method in class javazoom.jl.converter.Converter
- convert(String, String) - Method in class javazoom.jl.converter.Converter
- convert(String, String, Converter.ProgressListener) - Method in class javazoom.jl.converter.Converter
- convert(String, String, Converter.ProgressListener, Decoder.Params) - Method in class javazoom.jl.converter.Converter
- Converter - Class in javazoom.jl.converter
-
The
Converter
class implements the conversion of an MPEG audio file to a .WAV file. - Converter() - Constructor for class javazoom.jl.converter.Converter
-
Creates a new converter instance.
- Converter.PrintWriterProgressListener - Class in javazoom.jl.converter
-
Implementation of
ProgressListener
that writes notification text to aPrintWriter
. - Converter.ProgressListener - Interface in javazoom.jl.converter
-
This interface is used by the Converter to provide notification of tasks being carried out by the converter, and to provide new information as it becomes available.
- converterException(Throwable) - Method in class javazoom.jl.converter.Converter.PrintWriterProgressListener
- converterException(Throwable) - Method in interface javazoom.jl.converter.Converter.ProgressListener
-
Called when an exception is thrown during while converting a frame.
- converterUpdate(int, int, int) - Method in class javazoom.jl.converter.Converter.PrintWriterProgressListener
- converterUpdate(int, int, int) - Method in interface javazoom.jl.converter.Converter.ProgressListener
-
Notifies the listener that new information is available.
- copyright() - Method in class javazoom.jl.decoder.Header
-
Returns Copyright.
- countFrames(InputStream) - Method in class javazoom.jl.converter.Converter
- Crc16 - Class in javazoom.jl.decoder
-
16-Bit CRC checksum
- Crc16() - Constructor for class javazoom.jl.decoder.Crc16
-
Dummy Constructor
- createAudioDevice() - Method in class javazoom.jl.player.AudioDeviceFactory
-
Creates a new
AudioDevice
. - createAudioDevice() - Method in class javazoom.jl.player.FactoryRegistry
- createAudioDevice() - Method in class javazoom.jl.player.JavaSoundAudioDeviceFactory
- createAudioDeviceImpl() - Method in class javazoom.jl.player.JavaSoundAudioDeviceFactory
- createInstance(String[]) - Static method in class javazoom.jl.player.jlp
- createPlayerThread() - Method in class javazoom.jl.player.PlayerApplet
-
Creates a new thread used to run the audio player.
- createSource() - Method in class javazoom.jl.player.JavaSoundAudioDevice
- CurrentFileMode() - Method in class javazoom.jl.converter.RiffFile
-
Return File Mode.
- CurrentFilePosition() - Method in class javazoom.jl.converter.RiffFile
-
Return File Position.
- CurrentFilePosition() - Method in class javazoom.jl.converter.WaveFile
D
- DDC_FAILURE - Static variable in class javazoom.jl.converter.RiffFile
- DDC_FILE_ERROR - Static variable in class javazoom.jl.converter.RiffFile
- DDC_INVALID_CALL - Static variable in class javazoom.jl.converter.RiffFile
- DDC_INVALID_FILE - Static variable in class javazoom.jl.converter.RiffFile
- DDC_OUT_OF_MEMORY - Static variable in class javazoom.jl.converter.RiffFile
- DDC_SUCCESS - Static variable in class javazoom.jl.converter.RiffFile
- DDC_USER_ABORT - Static variable in class javazoom.jl.converter.RiffFile
- DEBUG_DETAIL - Static variable in class javazoom.jl.converter.Converter.PrintWriterProgressListener
-
Debug detail.
- decodedFrame(int, Header, Obuffer) - Method in class javazoom.jl.converter.Converter.PrintWriterProgressListener
- decodedFrame(int, Header, Obuffer) - Method in interface javazoom.jl.converter.Converter.ProgressListener
-
This method is called after a frame has been decoded.
- decodeFrame() - Method in interface javazoom.jl.decoder.FrameDecoder
-
Decodes one frame of MPEG audio.
- decodeFrame() - Method in class javazoom.jl.player.advanced.AdvancedPlayer
-
Decodes a single frame.
- decodeFrame() - Method in class javazoom.jl.player.Player
-
Decodes a single frame.
- decodeFrame(Header, Bitstream) - Method in class javazoom.jl.decoder.Decoder
-
Decodes one frame from an MPEG audio bitstream.
- Decoder - Class in javazoom.jl.decoder
-
The
Decoder
class encapsulates the details of decoding an MPEG audio frame. - Decoder() - Constructor for class javazoom.jl.decoder.Decoder
-
Creates a new
Decoder
instance with default parameters. - Decoder(Decoder.Params) - Constructor for class javazoom.jl.decoder.Decoder
-
Creates a new
Decoder
instance with default parameters. - DECODER_ERROR - Static variable in interface javazoom.jl.decoder.JavaLayerErrors
-
The first decoder error code.
- Decoder.Params - Class in javazoom.jl.decoder
-
The
Params
class presents the customizable aspects of the decoder. - DecoderErrors - Interface in javazoom.jl.decoder
-
This interface provides constants describing the error codes used by the Decoder to indicate errors.
- DecoderException - Exception Class in javazoom.jl.decoder
-
The
DecoderException
represents the class of errors that can occur when decoding MPEG audio. - DecoderException(int, Throwable) - Constructor for exception class javazoom.jl.decoder.DecoderException
- DecoderException(String, Throwable) - Constructor for exception class javazoom.jl.decoder.DecoderException
- deserialize(InputStream) - Static method in class javazoom.jl.decoder.JavaLayerUtils
-
Deserializes an object from the given
InputStream
. - deserialize(InputStream, Class) - Static method in class javazoom.jl.decoder.JavaLayerUtils
-
Deserializes the object contained in the given input stream.
- deserializeArray(InputStream, Class, int) - Static method in class javazoom.jl.decoder.JavaLayerUtils
-
Deserializes an array from a given
InputStream
. - deserializeArrayResource(String, Class, int) - Static method in class javazoom.jl.decoder.JavaLayerUtils
- destroy() - Method in class javazoom.jl.player.PlayerApplet
- DOWNMIX - Static variable in class javazoom.jl.decoder.OutputChannels
- DOWNMIX_CHANNELS - Static variable in class javazoom.jl.decoder.OutputChannels
-
Flag to indicate output is mono.
- DUAL_CHANNEL - Static variable in class javazoom.jl.decoder.Header
E
- EQFunction() - Constructor for class javazoom.jl.decoder.Equalizer.EQFunction
- Equalizer - Class in javazoom.jl.decoder
-
The
Equalizer
class can be used to specify equalization settings for the MPEG audio decoder. - Equalizer() - Constructor for class javazoom.jl.decoder.Equalizer
-
Creates a new
Equalizer
instance. - Equalizer(float[]) - Constructor for class javazoom.jl.decoder.Equalizer
- Equalizer(Equalizer.EQFunction) - Constructor for class javazoom.jl.decoder.Equalizer
- Equalizer.EQFunction - Class in javazoom.jl.decoder
- equals(Object) - Method in class javazoom.jl.decoder.OutputChannels
- Expect(String, int) - Method in class javazoom.jl.converter.RiffFile
-
Expect NumBytes data.
- EXPERT_DETAIL - Static variable in class javazoom.jl.converter.Converter.PrintWriterProgressListener
-
Level of detail typically expected of expert users.
F
- factories - Variable in class javazoom.jl.player.FactoryRegistry
- FactoryRegistry - Class in javazoom.jl.player
-
The
FactoryRegistry
class stores the factories for all the audio device implementations available in the system. - FactoryRegistry() - Constructor for class javazoom.jl.player.FactoryRegistry
- file - Variable in class javazoom.jl.converter.RiffFile
- flush() - Method in interface javazoom.jl.player.AudioDevice
-
Blocks until all audio samples previously written to this audio device have been heard.
- flush() - Method in class javazoom.jl.player.AudioDeviceBase
-
Waits for any buffered audio samples to be played by the audio device.
- flushImpl() - Method in class javazoom.jl.player.AudioDeviceBase
-
Template method to provide the implementation for flushing any buffered audio data.
- flushImpl() - Method in class javazoom.jl.player.JavaSoundAudioDevice
- fmode - Variable in class javazoom.jl.converter.RiffFile
- FourCC(String) - Static method in class javazoom.jl.converter.RiffFile
-
Fill the header.
- FOURTYEIGHT - Static variable in class javazoom.jl.decoder.Header
- FOURTYFOUR_POINT_ONE - Static variable in class javazoom.jl.decoder.Header
- FrameDecoder - Interface in javazoom.jl.decoder
-
Implementations of FrameDecoder are responsible for decoding an MPEG audio frame.
- framesize - Variable in class javazoom.jl.decoder.Header
- frequencies - Static variable in class javazoom.jl.decoder.Header
- frequency() - Method in class javazoom.jl.decoder.Header
-
Returns Frequency.
- fromInt(int) - Static method in class javazoom.jl.decoder.OutputChannels
-
Creates an
OutputChannels
instance corresponding to the given channel code.
G
- get_bits(int) - Method in class javazoom.jl.decoder.Bitstream
-
Read bits from buffer into the lower bits of an unsigned int.
- getAudioDevice() - Method in class javazoom.jl.player.jlp
- getAudioDevice() - Method in class javazoom.jl.player.PlayerApplet
-
Retrieves the
AudioDevice
instance that will be used to sound the audio data. - getAudioFileName() - Method in class javazoom.jl.player.PlayerApplet
- getAudioFormat() - Method in class javazoom.jl.player.JavaSoundAudioDevice
- getAudioStream() - Method in class javazoom.jl.player.PlayerApplet
-
Retrieves the InputStream that provides the MPEG audio stream data.
- getAudioURL() - Method in class javazoom.jl.player.PlayerApplet
- getBand(int) - Method in class javazoom.jl.decoder.Equalizer.EQFunction
-
Returns the setting of a band in the equalizer.
- getBand(int) - Method in class javazoom.jl.decoder.Equalizer
-
Retrieves the eq setting for a given band.
- getBandCount() - Method in class javazoom.jl.decoder.Equalizer
-
Retrieves the number of bands present in this equalizer.
- getBuffer() - Method in class javazoom.jl.decoder.SampleBuffer
- getBufferLength() - Method in class javazoom.jl.decoder.SampleBuffer
- getByteArray(int) - Method in class javazoom.jl.player.JavaSoundAudioDevice
- getChannelCount() - Method in class javazoom.jl.decoder.OutputChannels
-
Retrieves the number of output channels represented by this channel output type.
- getChannelCount() - Method in class javazoom.jl.decoder.SampleBuffer
- getChannelsOutputCode() - Method in class javazoom.jl.decoder.OutputChannels
-
Retrieves the code representing the desired output channels.
- getDecoder() - Method in class javazoom.jl.player.AudioDeviceBase
-
Retrieves the decoder that provides audio data to this audio device.
- getDefaultParams() - Static method in class javazoom.jl.decoder.Decoder
- getErrorCode() - Method in exception class javazoom.jl.decoder.BitstreamException
- getErrorCode() - Method in exception class javazoom.jl.decoder.DecoderException
- getErrorString(int) - Static method in exception class javazoom.jl.decoder.BitstreamException
- getErrorString(int) - Static method in exception class javazoom.jl.decoder.DecoderException
- getException() - Method in exception class javazoom.jl.decoder.JavaLayerException
- getFactoriesPriority() - Method in class javazoom.jl.player.FactoryRegistry
- getFileName() - Method in class javazoom.jl.player.PlayerApplet
- getFrame() - Method in class javazoom.jl.player.advanced.PlaybackEvent
- getHook() - Static method in class javazoom.jl.decoder.JavaLayerUtils
- getId() - Method in class javazoom.jl.player.advanced.PlaybackEvent
- getInitialEqualizerSettings() - Method in class javazoom.jl.decoder.Decoder.Params
-
Retrieves the equalizer settings that the decoder's equalizer will be initialized from.
- getInputStream() - Method in class javazoom.jl.player.jlp
-
Playing file from FileInputStream.
- getOutputBlockSize() - Method in class javazoom.jl.decoder.Decoder
-
Retrieves the maximum number of samples that will be written to the output buffer when one frame is decoded.
- getOutputChannels() - Method in class javazoom.jl.decoder.Decoder
-
Retrieves the number of channels of PCM samples output by this decoder.
- getOutputChannels() - Method in class javazoom.jl.decoder.Decoder.Params
- getOutputFrequency() - Method in class javazoom.jl.decoder.Decoder
-
Retrieves the sample frequency of the PCM samples output by this decoder.
- getPlayBackListener() - Method in class javazoom.jl.player.advanced.AdvancedPlayer
-
gets the
PlaybackListener
- getPosition() - Method in interface javazoom.jl.decoder.Control
-
Retrieves the current position.
- getPosition() - Method in interface javazoom.jl.player.AudioDevice
-
Retrieves the current playback position in milliseconds.
- getPosition() - Method in class javazoom.jl.player.JavaSoundAudioDevice
- getPosition() - Method in class javazoom.jl.player.NullAudioDevice
- getPosition() - Method in class javazoom.jl.player.Player
-
Retrieves the position in milliseconds of the current audio sample being played.
- getRawID3v2() - Method in class javazoom.jl.decoder.Bitstream
-
Return raw ID3v2 frames + header.
- getResourceAsStream(String) - Method in interface javazoom.jl.decoder.JavaLayerHook
-
Retrieves the named resource.
- getResourceAsStream(String) - Static method in class javazoom.jl.decoder.JavaLayerUtils
-
Retrieves an InputStream for a named resource.
- getSampleFrequency() - Method in class javazoom.jl.decoder.SampleBuffer
- getSource() - Method in class javazoom.jl.player.advanced.PlaybackEvent
- getSourceLineInfo() - Method in class javazoom.jl.player.JavaSoundAudioDevice
- getSyncHeader() - Method in class javazoom.jl.decoder.Header
-
Returns synchronized header.
- getURLInputStream() - Method in class javazoom.jl.player.jlp
-
Playing file from URL (Streaming).
H
- hashCode() - Method in class javazoom.jl.decoder.OutputChannels
- Header - Class in javazoom.jl.decoder
-
Class for extracting information from a frame header.
- header_pos() - Method in class javazoom.jl.decoder.Bitstream
-
Return position of the first audio header.
I
- ILLEGAL_SUBBAND_ALLOCATION - Static variable in interface javazoom.jl.decoder.DecoderErrors
-
Illegal allocation in subband layer.
- InfoListener() - Constructor for class javazoom.jl.player.advanced.jlap.InfoListener
- init() - Method in class javazoom.jl.player.PlayerApplet
-
Initializes this applet.
- init(String) - Method in class javazoom.jl.player.jlp
- InputStreamSource - Class in javazoom.jl.decoder
-
Work In Progress. An instance of
InputStreamSource
implements aSource
that provides data from anInputStream
. - InputStreamSource(InputStream) - Constructor for class javazoom.jl.decoder.InputStreamSource
- instantiate(ClassLoader, String) - Method in class javazoom.jl.player.AudioDeviceFactory
-
Creates an instance of an AudioDevice implementation.
- intensity_stereo_bound() - Method in class javazoom.jl.decoder.Header
-
Returns Intensity Stereo.
- INVALIDFRAME - Static variable in interface javazoom.jl.decoder.BitstreamErrors
-
Frame data are missing.
- isComplete() - Method in class javazoom.jl.player.Player
-
Returns the completed status of this player.
- isDetail(int) - Method in class javazoom.jl.converter.Converter.PrintWriterProgressListener
- isOpen() - Method in interface javazoom.jl.player.AudioDevice
-
Retrieves the open state of this audio device.
- isOpen() - Method in class javazoom.jl.player.AudioDeviceBase
-
Determines if this audio device is open or not.
- isPlaying() - Method in interface javazoom.jl.decoder.Control
- isRandomAccess() - Method in interface javazoom.jl.decoder.Control
- isSeekable() - Method in class javazoom.jl.decoder.InputStreamSource
- isSeekable() - Method in interface javazoom.jl.decoder.Source
- isSyncCurrentPosition(int) - Method in class javazoom.jl.decoder.Bitstream
-
Determines if the next 4 bytes of the stream represent a frame header.
- isSyncMark(int, int, int) - Method in class javazoom.jl.decoder.Bitstream
J
- JavaLayerError - Exception Class in javazoom.jl.decoder
-
Work in progress.
- JavaLayerError() - Constructor for exception class javazoom.jl.decoder.JavaLayerError
- JavaLayerErrors - Interface in javazoom.jl.decoder
-
Exception erorr codes for components of the JavaLayer API.
- JavaLayerException - Exception Class in javazoom.jl.decoder
-
The JavaLayerException is the base class for all API-level exceptions thrown by JavaLayer.
- JavaLayerException() - Constructor for exception class javazoom.jl.decoder.JavaLayerException
- JavaLayerException(String) - Constructor for exception class javazoom.jl.decoder.JavaLayerException
- JavaLayerException(String, Throwable) - Constructor for exception class javazoom.jl.decoder.JavaLayerException
- JavaLayerHook - Interface in javazoom.jl.decoder
-
The
JavaLayerHooks
class allows developers to change the way the JavaLayer library uses Resources. - JavaLayerUtils - Class in javazoom.jl.decoder
-
The JavaLayerUtils class is not strictly part of the JavaLayer API.
- JavaLayerUtils() - Constructor for class javazoom.jl.decoder.JavaLayerUtils
- JavaSoundAudioDevice - Class in javazoom.jl.player
-
The
JavaSoundAudioDevice
implements an audio device by using the JavaSound API. - JavaSoundAudioDevice() - Constructor for class javazoom.jl.player.JavaSoundAudioDevice
- JavaSoundAudioDeviceFactory - Class in javazoom.jl.player
-
This class is responsible for creating instances of the JavaSoundAudioDevice.
- JavaSoundAudioDeviceFactory() - Constructor for class javazoom.jl.player.JavaSoundAudioDeviceFactory
- javazoom.jl.converter - package javazoom.jl.converter
- javazoom.jl.decoder - package javazoom.jl.decoder
- javazoom.jl.player - package javazoom.jl.player
- javazoom.jl.player.advanced - package javazoom.jl.player.advanced
- jlap - Class in javazoom.jl.player.advanced
-
This class implements a sample player using Playback listener.
- jlap() - Constructor for class javazoom.jl.player.advanced.jlap
- jlap.InfoListener - Class in javazoom.jl.player.advanced
- jlc - Class in javazoom.jl.converter
-
The
jlc
class presents the JavaLayer Conversion functionality as a command-line program. - jlc() - Constructor for class javazoom.jl.converter.jlc
- jlp - Class in javazoom.jl.player
-
The
jlp
class implements a simple command-line player for MPEG audio files. - jlp(String) - Constructor for class javazoom.jl.player.jlp
- JOINT_STEREO - Static variable in class javazoom.jl.decoder.Header
L
- layer() - Method in class javazoom.jl.decoder.Header
-
Returns Layer ID.
- layer_string() - Method in class javazoom.jl.decoder.Header
-
Return Layer version.
- LEFT - Static variable in class javazoom.jl.decoder.OutputChannels
- LEFT_CHANNEL - Static variable in class javazoom.jl.decoder.OutputChannels
-
Flag to indicate output should include the left channel only.
- length() - Method in class javazoom.jl.decoder.InputStreamSource
- length() - Method in interface javazoom.jl.decoder.Source
- LENGTH_UNKNOWN - Static variable in interface javazoom.jl.decoder.Source
M
- main(String[]) - Static method in class javazoom.jl.converter.jlc
- main(String[]) - Static method in class javazoom.jl.player.advanced.jlap
- main(String[]) - Static method in class javazoom.jl.player.jlp
- Manager - Class in javazoom.jl.decoder
-
Work in progress.
- Manager() - Constructor for class javazoom.jl.decoder.Manager
- MAX_DETAIL - Static variable in class javazoom.jl.converter.Converter.PrintWriterProgressListener
- max_number_of_frames(int) - Method in class javazoom.jl.decoder.Header
-
Returns the maximum number of frames in the stream.
- MAX_WAVE_CHANNELS - Static variable in class javazoom.jl.converter.WaveFile
- MAXCHANNELS - Static variable in class javazoom.jl.decoder.Obuffer
- millisecondsToBytes(AudioFormat, int) - Method in class javazoom.jl.player.JavaSoundAudioDevice
- min_number_of_frames(int) - Method in class javazoom.jl.decoder.Header
-
Returns the maximum number of frames in the stream.
- mode() - Method in class javazoom.jl.decoder.Header
-
Returns Mode.
- mode_extension() - Method in class javazoom.jl.decoder.Header
-
Returns Mode Extension.
- mode_string() - Method in class javazoom.jl.decoder.Header
-
Returns Mode.
- MPEG1 - Static variable in class javazoom.jl.decoder.Header
-
Constant for MPEG-1 version
- MPEG2_LSF - Static variable in class javazoom.jl.decoder.Header
-
Constant for MPEG-2 LSF version
- MPEG25_LSF - Static variable in class javazoom.jl.decoder.Header
- ms_per_frame() - Method in class javazoom.jl.decoder.Header
-
Returns ms/frame.
N
- newBitstreamException(int) - Method in class javazoom.jl.decoder.Bitstream
- newBitstreamException(int, Throwable) - Method in class javazoom.jl.decoder.Bitstream
- newDecoderException(int) - Method in class javazoom.jl.decoder.Decoder
- newDecoderException(int, Throwable) - Method in class javazoom.jl.decoder.Decoder
- newStdOut(int) - Static method in class javazoom.jl.converter.Converter.PrintWriterProgressListener
- NO_DETAIL - Static variable in class javazoom.jl.converter.Converter.PrintWriterProgressListener
- nSlots - Variable in class javazoom.jl.decoder.Header
- NullAudioDevice - Class in javazoom.jl.player
-
The
NullAudioDevice
implements a silent, no-op audio device. - NullAudioDevice() - Constructor for class javazoom.jl.player.NullAudioDevice
- number_of_subbands() - Method in class javazoom.jl.decoder.Header
-
Returns the number of subbands in the current frame.
- NumChannels() - Method in class javazoom.jl.converter.WaveFile
- NumSamples() - Method in class javazoom.jl.converter.WaveFile
O
- Obuffer - Class in javazoom.jl.decoder
-
Base Class for audio output.
- Obuffer() - Constructor for class javazoom.jl.decoder.Obuffer
- OBUFFERSIZE - Static variable in class javazoom.jl.decoder.Obuffer
- open(AudioFormat) - Method in class javazoom.jl.player.JavaSoundAudioDevice
- open(Decoder) - Method in interface javazoom.jl.player.AudioDevice
-
Prepares the AudioDevice for playback of audio samples.
- open(Decoder) - Method in class javazoom.jl.player.AudioDeviceBase
-
Opens this audio device.
- Open(String, int) - Method in class javazoom.jl.converter.RiffFile
-
Open a RIFF file.
- OpenForWrite(String, int, short, short) - Method in class javazoom.jl.converter.WaveFile
- OpenForWrite(String, WaveFile) - Method in class javazoom.jl.converter.WaveFile
-
Open for write using another wave file's parameters...
- openImpl() - Method in class javazoom.jl.player.AudioDeviceBase
-
Template method to provide the implementation for the opening of the audio device.
- openImpl() - Method in class javazoom.jl.player.JavaSoundAudioDevice
- openInput(String) - Method in class javazoom.jl.converter.Converter
- original() - Method in class javazoom.jl.decoder.Header
-
Returns Original.
- OutputChannels - Class in javazoom.jl.decoder
-
A Type-safe representation of the the supported output channel constants.
P
- padding() - Method in class javazoom.jl.decoder.Header
-
Returns Layer III Padding bit.
- Params() - Constructor for class javazoom.jl.decoder.Decoder.Params
- parseArgs(String[]) - Method in class javazoom.jl.player.jlp
- parsedFrame(int, Header) - Method in class javazoom.jl.converter.Converter.PrintWriterProgressListener
- parsedFrame(int, Header) - Method in interface javazoom.jl.converter.Converter.ProgressListener
-
If the converter wishes to make a first pass over the audio frames, this is called as each frame is parsed.
- PASS_THRU_EQ - Static variable in class javazoom.jl.decoder.Equalizer
- pause() - Method in interface javazoom.jl.decoder.Control
- play() - Method in class javazoom.jl.player.advanced.AdvancedPlayer
- play() - Method in class javazoom.jl.player.jlp
- play() - Method in class javazoom.jl.player.Player
- play(int) - Method in class javazoom.jl.player.advanced.AdvancedPlayer
-
Plays a number of MPEG audio frames.
- play(int) - Method in class javazoom.jl.player.Player
-
Plays a number of MPEG audio frames.
- play(int, int) - Method in class javazoom.jl.player.advanced.AdvancedPlayer
-
Plays a range of MPEG audio frames
- play(InputStream, AudioDevice) - Method in class javazoom.jl.player.PlayerApplet
-
Decompresses audio data from an InputStream and plays it back through an AudioDevice.
- play(String) - Method in class javazoom.jl.player.advanced.jlap
- PlaybackEvent - Class in javazoom.jl.player.advanced
-
An event which indicates a
Player
has performed an 'playback action' - PlaybackEvent(AdvancedPlayer, int, int) - Constructor for class javazoom.jl.player.advanced.PlaybackEvent
- playbackFinished(PlaybackEvent) - Method in class javazoom.jl.player.advanced.jlap.InfoListener
- playbackFinished(PlaybackEvent) - Method in class javazoom.jl.player.advanced.PlaybackListener
- PlaybackListener - Class in javazoom.jl.player.advanced
-
Listener for javalayer Player playback
- PlaybackListener() - Constructor for class javazoom.jl.player.advanced.PlaybackListener
- playbackStarted(PlaybackEvent) - Method in class javazoom.jl.player.advanced.jlap.InfoListener
- playbackStarted(PlaybackEvent) - Method in class javazoom.jl.player.advanced.PlaybackListener
- Player - Class in javazoom.jl.player
-
The
Player
class implements a simple player for playback of an MPEG audio stream. - Player(InputStream) - Constructor for class javazoom.jl.player.Player
-
Creates a new
Player
instance. - Player(InputStream, AudioDevice) - Constructor for class javazoom.jl.player.Player
- PlayerApplet - Class in javazoom.jl.player
-
A simple applet that plays an MPEG audio file.
- PlayerApplet() - Constructor for class javazoom.jl.player.PlayerApplet
- playMp3(File, int, int, PlaybackListener) - Static method in class javazoom.jl.player.advanced.jlap
- playMp3(File, PlaybackListener) - Static method in class javazoom.jl.player.advanced.jlap
- playMp3(InputStream, int, int, PlaybackListener) - Static method in class javazoom.jl.player.advanced.jlap
- printStackTrace() - Method in exception class javazoom.jl.decoder.JavaLayerException
- printStackTrace(PrintStream) - Method in exception class javazoom.jl.decoder.JavaLayerException
- PrintWriterProgressListener(PrintWriter, int) - Constructor for class javazoom.jl.converter.Converter.PrintWriterProgressListener
R
- read(byte[], int, int) - Method in class javazoom.jl.decoder.InputStreamSource
- read(byte[], int, int) - Method in interface javazoom.jl.decoder.Source
- Read(byte[], int) - Method in class javazoom.jl.converter.RiffFile
-
Read NumBytes data.
- readBits(int) - Method in class javazoom.jl.decoder.Bitstream
- readCheckedBits(int) - Method in class javazoom.jl.decoder.Bitstream
- readFrame() - Method in class javazoom.jl.decoder.Bitstream
-
Reads and parses the next frame from the input source.
- readFrame(int, Header) - Method in class javazoom.jl.converter.Converter.PrintWriterProgressListener
- readFrame(int, Header) - Method in interface javazoom.jl.converter.Converter.ProgressListener
-
This method is called after each frame has been read, but before it has been decoded.
- registerDefaultFactories() - Method in class javazoom.jl.player.FactoryRegistry
- removeAll() - Method in class javazoom.jl.decoder.Manager
- removeControl(Control) - Method in class javazoom.jl.decoder.Manager
- removeFactory(AudioDeviceFactory) - Method in class javazoom.jl.player.FactoryRegistry
- removeFactoryType(Class) - Method in class javazoom.jl.player.FactoryRegistry
- reset() - Method in class javazoom.jl.decoder.Equalizer
-
Sets all bands to 0.0
- retrieveDecoder(Header, Bitstream, int) - Method in class javazoom.jl.decoder.Decoder
- RFM_READ - Static variable in class javazoom.jl.converter.RiffFile
- RFM_UNKNOWN - Static variable in class javazoom.jl.converter.RiffFile
- RFM_WRITE - Static variable in class javazoom.jl.converter.RiffFile
- RiffFile - Class in javazoom.jl.converter
-
Class to manage RIFF files
- RiffFile() - Constructor for class javazoom.jl.converter.RiffFile
-
Dummy Constructor
- RIGHT - Static variable in class javazoom.jl.decoder.OutputChannels
- RIGHT_CHANNEL - Static variable in class javazoom.jl.decoder.OutputChannels
-
Flag to indicate output should include the right channel only.
- run() - Method in class javazoom.jl.player.PlayerApplet
-
The run method for the audio player thread.
S
- sample_frequency() - Method in class javazoom.jl.decoder.Header
-
Returns Sample Frequency.
- sample_frequency_string() - Method in class javazoom.jl.decoder.Header
-
Returns Frequency
- SampleBuffer - Class in javazoom.jl.decoder
-
The
SampleBuffer
class implements an output buffer that provides storage for a fixed size block of samples. - SampleBuffer(int, int) - Constructor for class javazoom.jl.decoder.SampleBuffer
-
Constructor
- SamplingRate() - Method in class javazoom.jl.converter.WaveFile
- seek(long) - Method in class javazoom.jl.decoder.InputStreamSource
- seek(long) - Method in interface javazoom.jl.decoder.Source
- Seek(long) - Method in class javazoom.jl.converter.RiffFile
-
Seek in the File.
- serialize(OutputStream, Object) - Static method in class javazoom.jl.decoder.JavaLayerUtils
- set_stop_flag() - Method in class javazoom.jl.converter.WaveFileObuffer
- set_stop_flag() - Method in class javazoom.jl.decoder.Obuffer
-
Notify the buffer that the user has stopped the stream.
- set_stop_flag() - Method in class javazoom.jl.decoder.SampleBuffer
- setAudioFormat(AudioFormat) - Method in class javazoom.jl.player.JavaSoundAudioDevice
- setBand(int, float) - Method in class javazoom.jl.decoder.Equalizer
- setEqualizer(Equalizer) - Method in class javazoom.jl.decoder.Decoder
- setFileName(String) - Method in class javazoom.jl.player.PlayerApplet
-
Sets the URL of the audio stream to play.
- setFrame(int) - Method in class javazoom.jl.player.advanced.PlaybackEvent
- setFrom(float[]) - Method in class javazoom.jl.decoder.Equalizer
- setFrom(Equalizer) - Method in class javazoom.jl.decoder.Equalizer
-
Sets the bands of this equalizer to the value the bands of another equalizer.
- setFrom(Equalizer.EQFunction) - Method in class javazoom.jl.decoder.Equalizer
- setHook(JavaLayerHook) - Static method in class javazoom.jl.decoder.JavaLayerUtils
-
Sets the system-wide JavaLayer hook.
- setId(int) - Method in class javazoom.jl.player.advanced.PlaybackEvent
- setOpen(boolean) - Method in class javazoom.jl.player.AudioDeviceBase
-
Sets the open state for this audio device.
- setOutputBuffer(Obuffer) - Method in class javazoom.jl.decoder.Decoder
-
Changes the output buffer.
- setOutputChannels(OutputChannels) - Method in class javazoom.jl.decoder.Decoder.Params
- setPlayBackListener(PlaybackListener) - Method in class javazoom.jl.player.advanced.AdvancedPlayer
-
sets the
PlaybackListener
- setPosition(double) - Method in interface javazoom.jl.decoder.Control
- setSource(AdvancedPlayer) - Method in class javazoom.jl.player.advanced.PlaybackEvent
- showUsage() - Method in class javazoom.jl.player.advanced.jlap
- showUsage() - Method in class javazoom.jl.player.jlp
- SINGLE_CHANNEL - Static variable in class javazoom.jl.decoder.Header
- skipFrame() - Method in class javazoom.jl.player.advanced.AdvancedPlayer
-
skips over a single frame
- slots() - Method in class javazoom.jl.decoder.Header
-
Returns Slots.
- Source - Interface in javazoom.jl.decoder
-
Work in progress.
- start() - Method in interface javazoom.jl.decoder.Control
-
Starts playback of the media presented by this control.
- start() - Method in class javazoom.jl.player.PlayerApplet
-
Starts this applet.
- STARTED - Static variable in class javazoom.jl.player.advanced.PlaybackEvent
- STEREO - Static variable in class javazoom.jl.decoder.Header
- stop() - Method in interface javazoom.jl.decoder.Control
-
Stops playback of the media presented by this control.
- stop() - Method in class javazoom.jl.player.advanced.AdvancedPlayer
-
closes the player and notifies
PlaybackListener
- stop() - Method in class javazoom.jl.player.PlayerApplet
-
Stops this applet.
- STOPPED - Static variable in class javazoom.jl.player.advanced.PlaybackEvent
- stopPlayer() - Method in class javazoom.jl.player.PlayerApplet
-
Stops the audio player.
- STREAM_EOF - Static variable in interface javazoom.jl.decoder.BitstreamErrors
-
The end of the stream was reached.
- STREAM_ERROR - Static variable in interface javazoom.jl.decoder.BitstreamErrors
-
A problem occurred reading from the stream.
- systemRegistry() - Static method in class javazoom.jl.player.FactoryRegistry
T
- tell() - Method in class javazoom.jl.decoder.InputStreamSource
- tell() - Method in interface javazoom.jl.decoder.Source
- test() - Method in class javazoom.jl.player.JavaSoundAudioDevice
-
Runs a short test by playing a short silent sound.
- testAudioDevice() - Method in class javazoom.jl.player.JavaSoundAudioDeviceFactory
- THIRTYTWO - Static variable in class javazoom.jl.decoder.Header
- toByteArray(short[], int, int) - Method in class javazoom.jl.player.JavaSoundAudioDevice
- toString() - Method in class javazoom.jl.decoder.Header
- total_ms(int) - Method in class javazoom.jl.decoder.Header
-
Returns total ms.
U
- UNEXPECTED_EOF - Static variable in interface javazoom.jl.decoder.BitstreamErrors
-
The end of the stream was reached prematurely.
- UNKNOWN_ERROR - Static variable in interface javazoom.jl.decoder.BitstreamErrors
-
An undeterminable error occurred.
- UNKNOWN_ERROR - Static variable in interface javazoom.jl.decoder.DecoderErrors
- UNKNOWN_SAMPLE_RATE - Static variable in interface javazoom.jl.decoder.BitstreamErrors
-
The header describes an unknown sample rate.
- unreadFrame() - Method in class javazoom.jl.decoder.Bitstream
-
Unreads the bytes read from the frame.
- UNSUPPORTED_LAYER - Static variable in interface javazoom.jl.decoder.DecoderErrors
-
Layer not supported by the decoder.
- UPDATE_CONVERT_COMPLETE - Static variable in interface javazoom.jl.converter.Converter.ProgressListener
-
Conversion is complete.
- UPDATE_FRAME_COUNT - Static variable in interface javazoom.jl.converter.Converter.ProgressListener
V
- vbr() - Method in class javazoom.jl.decoder.Header
-
Return VBR.
- vbr_scale() - Method in class javazoom.jl.decoder.Header
-
Return VBR scale.
- vbr_toc() - Method in class javazoom.jl.decoder.Header
-
Return VBR TOC.
- VERBOSE_DETAIL - Static variable in class javazoom.jl.converter.Converter.PrintWriterProgressListener
-
Verbose detail.
- version() - Method in class javazoom.jl.decoder.Header
-
Returns version.
- version_string() - Method in class javazoom.jl.decoder.Header
-
Returns Version.
W
- WaveFile - Class in javazoom.jl.converter
-
Class allowing WaveFormat Access
- WaveFile() - Constructor for class javazoom.jl.converter.WaveFile
-
Constructs a new WaveFile instance.
- WaveFile.WaveFileSample - Class in javazoom.jl.converter
- WaveFileObuffer - Class in javazoom.jl.converter
-
Implements an Obuffer by writing the data to a file in RIFF WAVE format.
- WaveFileObuffer(int, int, String) - Constructor for class javazoom.jl.converter.WaveFileObuffer
-
Creates a new WareFileObuffer instance.
- WaveFileSample() - Constructor for class javazoom.jl.converter.WaveFile.WaveFileSample
- willReadBlock() - Method in class javazoom.jl.decoder.InputStreamSource
- willReadBlock() - Method in interface javazoom.jl.decoder.Source
- write(short[], int, int) - Method in interface javazoom.jl.player.AudioDevice
-
Writes a number of samples to this
AudioDevice
. - write(short[], int, int) - Method in class javazoom.jl.player.AudioDeviceBase
-
Writes audio data to this audio device.
- Write(byte[], int) - Method in class javazoom.jl.converter.RiffFile
-
Write NumBytes data.
- Write(int, int) - Method in class javazoom.jl.converter.RiffFile
-
Write NumBytes data.
- Write(short[], int) - Method in class javazoom.jl.converter.RiffFile
-
Write NumBytes data.
- Write(short, int) - Method in class javazoom.jl.converter.RiffFile
-
Write NumBytes data.
- Write(RiffFile.RiffChunkHeader, int) - Method in class javazoom.jl.converter.RiffFile
-
Write NumBytes data.
- write_buffer(int) - Method in class javazoom.jl.converter.WaveFileObuffer
- write_buffer(int) - Method in class javazoom.jl.decoder.Obuffer
-
Write the samples to the file or directly to the audio hardware.
- write_buffer(int) - Method in class javazoom.jl.decoder.SampleBuffer
-
Write the samples to the file (Random Acces).
- WriteData(short[], int) - Method in class javazoom.jl.converter.WaveFile
-
Write 16-bit audio
- writeImpl(short[], int, int) - Method in class javazoom.jl.player.AudioDeviceBase
-
Template method to provide the implementation for writing audio samples to the audio device.
- writeImpl(short[], int, int) - Method in class javazoom.jl.player.JavaSoundAudioDevice
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form