Package net.avadeaux.klipspringer.encoder
package net.avadeaux.klipspringer.encoder
Support for streaming audio data to a WritableByteChannel in FLAC, MP3,
or Au format.
For FLAC libFLAC is invoked via the Java Native Interface. For MP3 format, the LAME API (libmp3lame) is similarly invoked. For the uncompressed Au format, there is no dependence on any external library.
A simple usage example can be found in examples/EncodeFile.java available with the
distribution of this package. A more advanced use case for streaming through a web browser is the Klipspringer hub
This is part of the Klipspringer music playing software
© 2014–2024 Jesper
Larsson, released as free software under GPL version 3 or later.
See klipspringer.avadeaux.net for more information.
-
ClassDescriptionChannel stream line for Au (simple audio) encoding.Exception originating from audio encoding, for instance if the output channel is closed.Error thrown if an unexpected (potentially fatal) problem arises in encoding.Line for streaming audio to a channel.Abstract line that organizes audio channels in separate buffers.Factory interface for subclasses to provide the constructor with a way of producing an encoder handle.Channel stream line for FLAC encoding.Channel stream line for MP3 encoding.Record of the amount of audio data that has been played by the final recipient.Thrown when the client fails to notify that it has played anything for a time that exceeds the limit.