Package net.avadeaux.klipspringer.codec
package net.avadeaux.klipspringer.codec
Classes for decoding the FLAC and Ogg Vorbis audio format, and encoding FLAC, Ogg Vorbis, or MP3
format. Works by calling external libraries (libFLAC, Ogg
Vorbis API, LAME) via the Java Native Interface. Decoding
other formats supported by the standard Java sound system can be wrapped using AudioInputStreamDecoder.
Find usage examples in the examples directory available with the distribution of
this package, and more information on the Klipspringer codec library web
page.
This is part of the Klipspringer music playing software
© 2014–2025 Jesper
Larsson, released as free software under GPL version 3 or later.
See klipspringer.avadeaux.net for more information.
-
ClassDescriptionInterface for streamed audio decoding.Interface that can be implemented by decoder in order to receive pictures embedded in the decoded file metadata.Interface for the destination of an audio decoder.Audio decoder that reads from an AudioInputStream.Interface for streaming to a remote player.AudioStream factory interface.Utility methods for facilitating reading and writing when the reader/writer requires one specific buffer type and the data is requested/provided in another.Interface for reading data to byte array.Interface for writing data from byte array.Exception with an error code.Representation of an audio device.Specification for where bits are placed when the bytes allocated for a sample are not completely filled by the sample bits.PCM writer with optional methods to control real-time playing where applicanle.Player factory interface.PCM reader for input (from microphone, ADC, or whatever audio input is available).Tuner factory interface.Common base class for decoders that invoke native libraries.Common base class for writers that use external libraries for encoding data to a channel.FLAC file decoder that interfaces to FLAC library.Audio stream that sends FLAC encoded data to a channel.Audio stream that sends MP3 encoded data to a channel.Static initialization of common external resources, with methods to provide information about supported features.Audio output adapter for writing to a
SourceDataLine.Audio input adapter for reading from aTargetDataLine.Opus file decoder that interfaces to Opus library.Intermediary for passing PCM data to a writer with matching sample rate, bit depth and number of channels, but whose coding may differ in signedness, endianness, or padding (see blog post about various formats).Audio decoder that reads PCM data from a channel.Channel for writing PCM data, with quality-compatible conversion.Audio format specification that extendsAudioFormatwith some convenience functions and restrictions.Interface for selecting a quality-compatible audio format.Audio reading interface.Audio writing interface.Exception thrown by a resource that does not support a requested format.Ogg Vorbis file decoder that interfaces to Vorbis library.Audio stream that sends Vorbis encoded data to a channel.