Skip navigation links
A B C D E F G H I L M N O P R S T U V W 

A

add(int[]) - Method in class net.sourceforge.javaflacencoder.ArrayRecycler
 
addFrameThread(Frame) - Method in class net.sourceforge.javaflacencoder.BlockThreadManager
Add a Frame to this manager, which it will use to encode a block.
addInt(int, int) - Method in class net.sourceforge.javaflacencoder.EncodedElement
Add a number of bits from an int to the end of this list's data.
addInt(int, int, int, int[]) - Static method in class net.sourceforge.javaflacencoder.EncodedElement_32
Deprecated.
This method adds a given number of bits of an int to a byte array.
addInt(int, int) - Method in class net.sourceforge.javaflacencoder.EncodedElement_32
Deprecated.
Add a number of bits from an int to the end of this list's data.
addInt_new(int, int, int, byte[]) - Static method in class net.sourceforge.javaflacencoder.EncodedElement
This method adds a given number of bits of an int to a byte array.
addInterleavedSamples(int[], int, int, int) - Method in class net.sourceforge.javaflacencoder.BlockEncodeRequest
 
addLong(long, int) - Method in class net.sourceforge.javaflacencoder.EncodedElement
Add a number of bits from a long to the end of this list's data.
addRequest(BlockEncodeRequest) - Method in class net.sourceforge.javaflacencoder.BlockThreadManager
Add a BlockEncodeRequest to the manager.
addSamples(int[], int) - Method in class net.sourceforge.javaflacencoder.FLACEncoder
Add samples to the encoder, so they may then be encoded.
addSamplesToMD5(int[], int, int, int) - Method in class net.sourceforge.javaflacencoder.FLAC_MD5
Add samples to the MD5 hash.
ArrayRecycler - Class in net.sourceforge.javaflacencoder
The purpose of this class is to provide a source for reusable int arrays.
attachEnd(EncodedElement) - Method in class net.sourceforge.javaflacencoder.EncodedElement
Attach an element to the end of this list.
AudioStreamEncoder - Class in net.sourceforge.javaflacencoder
AudioStreamEncoder provides commonly needed methods for encoding with a FLACEncoder from an AudioInputStream.
AudioStreamEncoder() - Constructor for class net.sourceforge.javaflacencoder.AudioStreamEncoder
 

B

beginResidual(boolean, byte, EncodedElement) - Static method in class net.sourceforge.javaflacencoder.RiceEncoder
Create the residual headers for a FLAC stream.
BlockEncodeRequest - Class in net.sourceforge.javaflacencoder
BlockEncodeRequests are used to store a full block and necessary information to encode such block.
BlockEncodeRequest() - Constructor for class net.sourceforge.javaflacencoder.BlockEncodeRequest
 
blockFinished(BlockEncodeRequest) - Method in class net.sourceforge.javaflacencoder.FLACEncoder
Notify the encoder that a BlockEncodeRequest has finished, and is now ready to be written to file.
BlockThreadManager - Class in net.sourceforge.javaflacencoder
BlockThreadManager is used by FLACEncoder(when encoding with threads), to dispatch BlockEncodeRequests to ThreadFrames which do the actual encode.
BlockThreadManager(FLACEncoder) - Constructor for class net.sourceforge.javaflacencoder.BlockThreadManager
Constructor.
blockWhileQueueExceeds(int) - Method in class net.sourceforge.javaflacencoder.BlockThreadManager
This function is used to help control flow of BlockEncodeRequests into this manager.

C

calculate(LPC, long[]) - Static method in class net.sourceforge.javaflacencoder.LPC
Calculate an LPC using the given Auto-correlation data.
calculateEncodeSize(int[], int, int, int, int) - Static method in class net.sourceforge.javaflacencoder.RiceEncoder
Calculate how large a given set of values will be once it has been rice-encoded.
calculateFromPrior(LPC, long[], LPC) - Static method in class net.sourceforge.javaflacencoder.LPC
Calculate an LPC using a prior order LPC's values to save calculations.
canSeek() - Method in class net.sourceforge.javaflacencoder.FLACFileOutputStream
Test whether this stream is seekable.
canSeek() - Method in interface net.sourceforge.javaflacencoder.FLACOutputStream
Test whether this object allows seeking.
canSeek() - Method in class net.sourceforge.javaflacencoder.FLACStreamOutputStream
Test whether this stream is seekable.
ChannelData - Class in net.sourceforge.javaflacencoder
 
ChannelData(int[], int, int, ChannelData.ChannelName) - Constructor for class net.sourceforge.javaflacencoder.ChannelData
 
ChannelData.ChannelName - Enum in net.sourceforge.javaflacencoder
 
checksum() - Method in class net.sourceforge.javaflacencoder.CRC16
 
checksum() - Method in class net.sourceforge.javaflacencoder.CRC8
Finalize the checksum, and return the value.
cleanInts(int[], int[], int, int) - Static method in class net.sourceforge.javaflacencoder.EncodedElement
 
clear(int, int) - Method in class net.sourceforge.javaflacencoder.EncodedElement
Completely clear this element and use the given size and offset for the new data array.
clear(int, int, boolean) - Method in class net.sourceforge.javaflacencoder.EncodedElement
Completely clear this element and use the given size and offset for the new data array.
clear(int, int) - Method in class net.sourceforge.javaflacencoder.EncodedElement_32
Deprecated.
 
clear() - Method in class net.sourceforge.javaflacencoder.FLACEncoder
Clear all samples stored by this object, but not yet encoded.
close() - Method in class net.sourceforge.javaflacencoder.FLACFileOutputStream
Close FileOutputStream owned by this object.
close() - Method in interface net.sourceforge.javaflacencoder.FLACOutputStream
Close this stream.
close() - Method in class net.sourceforge.javaflacencoder.FLACStreamOutputStream
Close OutputStream owned by this object.
closeFLACStream(byte[], StreamConfiguration) - Method in class net.sourceforge.javaflacencoder.FLACStreamController
Close the current FLAC stream.
compressIntArrayByBits(int[], int[], int, int) - Static method in class net.sourceforge.javaflacencoder.EncodedElement
 
convertToEncodedElement() - Method in class net.sourceforge.javaflacencoder.EncodedElement_32
Deprecated.
 
convertToExtendedUTF8(long) - Static method in class net.sourceforge.javaflacencoder.UTF8Modified
Convert a value to an extended UTF8 format(as used in FLAC).
CRC16 - Class in net.sourceforge.javaflacencoder
Class to calculate a CRC16 checksum.
CRC16() - Constructor for class net.sourceforge.javaflacencoder.CRC16
Constructor.
CRC8 - Class in net.sourceforge.javaflacencoder
Class to calculate a CRC8 checksum.
CRC8() - Constructor for class net.sourceforge.javaflacencoder.CRC8
Constructor.
createAutoCorrelation(long[], int[], int, int, int, int) - Static method in class net.sourceforge.javaflacencoder.LPC
Create auto-correlation coefficients(up to a maxOrder of 32).
createHeader(boolean, int, int, EncodingConfiguration.ChannelConfig, int, long, int, EncodedElement) - Method in class net.sourceforge.javaflacencoder.FrameHeader
Create the header for a frame with the given parameters.

D

DEBUG_LEV - Static variable in class net.sourceforge.javaflacencoder.CRC16
For Debugging: Higher level equals more debug statements
DEBUG_LEV - Static variable in class net.sourceforge.javaflacencoder.CRC8
For Debugging: Higher level equals more debug statements
DEBUG_LEV - Static variable in class net.sourceforge.javaflacencoder.FLACStreamController
 
DEBUG_LEV - Static variable in class net.sourceforge.javaflacencoder.Frame
For debugging: Higher level equals more output(generally in increments of 10
DEBUG_LEV - Static variable in class net.sourceforge.javaflacencoder.FrameHeader
For Debugging: Higher level equals more debug statements
DEBUG_LEV - Static variable in class net.sourceforge.javaflacencoder.RiceEncoder
For debugging: Higher values equals greater output, generally in increments of 10
DEBUG_LEV - Static variable in class net.sourceforge.javaflacencoder.Subframe_Constant
For debugging: Higher values equals greater output, generally by increments of 10.
DEBUG_LEV - Static variable in class net.sourceforge.javaflacencoder.Subframe_Fixed
For debugging: Higher values equals greater output, generally in increments of 10
DEBUG_LEV - Static variable in class net.sourceforge.javaflacencoder.Subframe_LPC
For debugging: Higher values equals greater output, generally in increments of 10
DEBUG_LEV - Static variable in class net.sourceforge.javaflacencoder.Subframe_Verbatim
For debugging: Higher value equals more output, typically by increments of 10
DEBUG_LEV - Static variable in class net.sourceforge.javaflacencoder.UTF8Modified
For debugging: Higher value equals more output, generally by increments of 10
decodeFromExtendedUTF8(byte[]) - Static method in class net.sourceforge.javaflacencoder.UTF8Modified
Decode an extended UTF8(as used in FLAC), to a long value.
DEFAULT_BITS_PER_SAMPLE - Static variable in class net.sourceforge.javaflacencoder.StreamConfiguration
Default sample size
DEFAULT_CHANNEL_CONFIG - Static variable in class net.sourceforge.javaflacencoder.EncodingConfiguration
Default channel configuration
DEFAULT_CHANNEL_COUNT - Static variable in class net.sourceforge.javaflacencoder.StreamConfiguration
Default channel count
DEFAULT_MAX_BLOCK_SIZE - Static variable in class net.sourceforge.javaflacencoder.StreamConfiguration
Default maximum block size
DEFAULT_MAX_LPC_ORDER - Static variable in class net.sourceforge.javaflacencoder.EncodingConfiguration
Default maximum lpc order to use
DEFAULT_MAX_RICE_ORDER - Static variable in class net.sourceforge.javaflacencoder.EncodingConfiguration
Default maximum Rice partition order
DEFAULT_MIN_BLOCK_SIZE - Static variable in class net.sourceforge.javaflacencoder.StreamConfiguration
Default minimum block size
DEFAULT_MIN_LPC_ORDER - Static variable in class net.sourceforge.javaflacencoder.EncodingConfiguration
Default minimum lpc order to use
DEFAULT_SAMPLE_RATE - Static variable in class net.sourceforge.javaflacencoder.StreamConfiguration
Default sample rate
DEFAULT_SUBFRAME_TYPE - Static variable in class net.sourceforge.javaflacencoder.EncodingConfiguration
Default subframe type to use

E

ec - Variable in class net.sourceforge.javaflacencoder.Subframe
EncodingConfiguration used for encoding.
encode(File, File) - Method in class net.sourceforge.javaflacencoder.FLAC_FileEncoder
Encode the given input wav file to an output file.
encodeAudioInputStream(AudioInputStream, int, FLACEncoder, boolean) - Static method in class net.sourceforge.javaflacencoder.AudioStreamEncoder
Encodes the given AudioInputStream, using the given FLACEncoder.
EncodedElement - Class in net.sourceforge.javaflacencoder
EncodedElement class provides is used to store data in the proper bitstream format for FLAC audio.
EncodedElement() - Constructor for class net.sourceforge.javaflacencoder.EncodedElement
Constructor, creates an empty element with offset of zero and array size of 100.
EncodedElement(byte[], int) - Constructor for class net.sourceforge.javaflacencoder.EncodedElement
Constructor.
EncodedElement(byte[], int, int) - Constructor for class net.sourceforge.javaflacencoder.EncodedElement
 
EncodedElement(int, int) - Constructor for class net.sourceforge.javaflacencoder.EncodedElement
Constructor.
EncodedElement_32 - Class in net.sourceforge.javaflacencoder
Deprecated.
EncodedElement_32() - Constructor for class net.sourceforge.javaflacencoder.EncodedElement_32
Deprecated.
 
EncodedElement_32(int, int) - Constructor for class net.sourceforge.javaflacencoder.EncodedElement_32
Deprecated.
 
encodeRicePartition(int[], int, int, int, EncodedElement, int, boolean) - Method in class net.sourceforge.javaflacencoder.RiceEncoder
Rice-encode a set of values, adding necessary headers for FLAC format.
encodeRicePartitionEscaped(int[], int, int, int, EncodedElement, int, boolean) - Static method in class net.sourceforge.javaflacencoder.RiceEncoder
 
encodeSamples(int, boolean) - Method in class net.sourceforge.javaflacencoder.FLACEncoder
Attempt to Encode a certain number of samples.
encodeSamples(int[], int, int, int, EncodedElement, long) - Method in class net.sourceforge.javaflacencoder.Frame
Encodes samples into the appropriate compressed format, saving the result in the given “data” EncodedElement list.
encodeSamples(int[], int, int, int, EncodedElement, int, int) - Method in class net.sourceforge.javaflacencoder.Subframe
Encodes samples into the appropriate compressed format, saving the result in the given “data” EncodedElement list.
encodeSamples(int[], int, int, int, EncodedElement, int, int) - Method in class net.sourceforge.javaflacencoder.Subframe_Constant
 
encodeSamples(int[], int, int, int, int, int) - Method in class net.sourceforge.javaflacencoder.Subframe_Fixed
 
encodeSamples(int[], int, int, int, EncodedElement, int, int) - Method in class net.sourceforge.javaflacencoder.Subframe_Fixed
 
encodeSamples(int[], int, int, int, int, int) - Method in class net.sourceforge.javaflacencoder.Subframe_LPC
 
encodeSamples(int[], int, int, int, EncodedElement, int, int) - Method in class net.sourceforge.javaflacencoder.Subframe_LPC
 
encodeSamples(int[], int, int, int, EncodedElement, int, int) - Method in class net.sourceforge.javaflacencoder.Subframe_Verbatim
 
encodeSamples_OLD(int[], int, int, int, EncodedElement, long) - Method in class net.sourceforge.javaflacencoder.Frame
Encodes samples into the appropriate compressed format, saving the result in the given “data” EncodedElement list.
EncodingConfiguration - Class in net.sourceforge.javaflacencoder
This class defines the configuration options that are allowed to change within a FLAC stream.
EncodingConfiguration() - Constructor for class net.sourceforge.javaflacencoder.EncodingConfiguration
Constructor, uses defaults for all options.
EncodingConfiguration(EncodingConfiguration) - Constructor for class net.sourceforge.javaflacencoder.EncodingConfiguration
Copy constructor.
EncodingConfiguration.ChannelConfig - Enum in net.sourceforge.javaflacencoder
Defines the options for channel configuration to use.
EncodingConfiguration.SubframeType - Enum in net.sourceforge.javaflacencoder
Defines the various subframe types that may be used.
estimatedSize() - Method in class net.sourceforge.javaflacencoder.Subframe_Fixed
Return the estimated size of the previous encode attempt in bits.
estimatedSize() - Method in class net.sourceforge.javaflacencoder.Subframe_LPC
Return the estimated size of the previous encode attempt in bits.
estimateSize(int, int) - Method in class net.sourceforge.javaflacencoder.Subframe_Verbatim
 

F

FLAC - Static variable in class net.sourceforge.javaflacencoder.FLACFileWriter
Specifies a FLAC file.
FLAC_ConsoleFileEncoder - Class in net.sourceforge.javaflacencoder
FLAC_ConsoleFileEncoder is the command line interface to this FLAC encoder.
FLAC_ConsoleFileEncoder(String[]) - Constructor for class net.sourceforge.javaflacencoder.FLAC_ConsoleFileEncoder
Constructor.
FLAC_FileEncoder - Class in net.sourceforge.javaflacencoder
FLAC_FileEncoder is a class to encode an input wav File to an output Flac file.
FLAC_FileEncoder() - Constructor for class net.sourceforge.javaflacencoder.FLAC_FileEncoder
Constructor creates a FLAC_FileEncoder object with default StreamConfiguration configuration and default EncodingConfiguration.
FLAC_FileEncoder.Status - Enum in net.sourceforge.javaflacencoder
Status enum for encode result
FLAC_MD5 - Class in net.sourceforge.javaflacencoder
 
FLAC_MD5() - Constructor for class net.sourceforge.javaflacencoder.FLAC_MD5
 
FLACEncoder - Class in net.sourceforge.javaflacencoder
This class defines a FLAC Encoder with a simple interface for enabling FLAC encoding support in an application.
FLACEncoder() - Constructor for class net.sourceforge.javaflacencoder.FLACEncoder
Constructor which creates a new encoder object with the default settings.
FLACFileOutputStream - Class in net.sourceforge.javaflacencoder
This class provides basic file output for writing from a FLACEncoder.
FLACFileOutputStream(String) - Constructor for class net.sourceforge.javaflacencoder.FLACFileOutputStream
Constructor.
FLACFileOutputStream(File) - Constructor for class net.sourceforge.javaflacencoder.FLACFileOutputStream
 
FLACFileOutputStream(FileOutputStream) - Constructor for class net.sourceforge.javaflacencoder.FLACFileOutputStream
Constructor.
FLACFileWriter - Class in net.sourceforge.javaflacencoder
Class provides FLAC encoding using javax sound SPI.
FLACFileWriter() - Constructor for class net.sourceforge.javaflacencoder.FLACFileWriter
 
FLACOutputStream - Interface in net.sourceforge.javaflacencoder
This interface defines a location to write the output of the FLAC encoder to.
FLACStreamController - Class in net.sourceforge.javaflacencoder
 
FLACStreamController(FLACOutputStream, StreamConfiguration) - Constructor for class net.sourceforge.javaflacencoder.FLACStreamController
 
FLACStreamIdentifier - Class in net.sourceforge.javaflacencoder
Provides the stream identifier used at beginning of flac streams.
FLACStreamIdentifier() - Constructor for class net.sourceforge.javaflacencoder.FLACStreamIdentifier
 
FLACStreamOutputStream - Class in net.sourceforge.javaflacencoder
This class provides basic OutputStream support for writing from a FLACEncoder.
FLACStreamOutputStream(OutputStream) - Constructor for class net.sourceforge.javaflacencoder.FLACStreamOutputStream
Constructor.
Frame - Class in net.sourceforge.javaflacencoder
Handles taking a set of audio samples, and splitting it into the proper subframes, and returning the resulting encoded data.
Frame(StreamConfiguration) - Constructor for class net.sourceforge.javaflacencoder.Frame
Constructor.
FrameHeader - Class in net.sourceforge.javaflacencoder
This class is used to generate a Frame Header for a FLAC Frame.
FrameHeader() - Constructor for class net.sourceforge.javaflacencoder.FrameHeader
Constructor creates a new FrameHeader object which is ready to generate headers.
FrameThread - Class in net.sourceforge.javaflacencoder
The FrameThread class provides threading support for a Frame object, allowing multi-threaded encodings of FLAC frames.
FrameThread(Frame, BlockThreadManager) - Constructor for class net.sourceforge.javaflacencoder.FrameThread
Constructor.
fullBlockSamplesAvailableToEncode() - Method in class net.sourceforge.javaflacencoder.FLACEncoder
Get number of samples which are ready to encode.

G

getArray(int) - Method in class net.sourceforge.javaflacencoder.ArrayRecycler
 
getAudioFileTypes() - Method in class net.sourceforge.javaflacencoder.FLACFileWriter
 
getAudioFileTypes(AudioInputStream) - Method in class net.sourceforge.javaflacencoder.FLACFileWriter
 
getBitsPerSample() - Method in class net.sourceforge.javaflacencoder.StreamConfiguration
Get the number of bits per sample
getByteSize() - Static method in class net.sourceforge.javaflacencoder.MetadataBlockStreamInfo
Get the expected size of a properly formed STREAMINFO metadata block.
getChannelConfig() - Method in class net.sourceforge.javaflacencoder.EncodingConfiguration
Get the current channel configuration value.
getChannelCount() - Method in class net.sourceforge.javaflacencoder.StreamConfiguration
Get the currently set channel count
getChannelName() - Method in class net.sourceforge.javaflacencoder.ChannelData
 
getCoefficients() - Method in class net.sourceforge.javaflacencoder.LPC
Get the calculated LPC Coefficients as an array.
getCount() - Method in class net.sourceforge.javaflacencoder.ChannelData
 
getCRC16() - Method in class net.sourceforge.javaflacencoder.EncodedElement
 
getData() - Method in class net.sourceforge.javaflacencoder.EncodedElement_32
Deprecated.
 
getData() - Method in class net.sourceforge.javaflacencoder.Subframe_Fixed
 
getData(EncodedElement) - Method in class net.sourceforge.javaflacencoder.Subframe_Fixed
Get the data from the last encode attempt.
getData() - Method in class net.sourceforge.javaflacencoder.Subframe_LPC
Get the data from the last encode attempt.
getData32() - Method in class net.sourceforge.javaflacencoder.EncodedElement_32
Deprecated.
 
getDataFormatSupport(AudioFormat) - Static method in class net.sourceforge.javaflacencoder.AudioStreamEncoder
Checks whether the given AudioFormat can be properly encoded by this FLAC library.
getEncodedSize() - Method in class net.sourceforge.javaflacencoder.Frame
Returns the total number of valid bits used in the last encoding(i.e, the number of compressed bits used).
getEncodedSize() - Method in class net.sourceforge.javaflacencoder.Subframe
Returns the total number of valid bits used in the last encoding(i.e, the number of compressed bits used).
getEnd() - Method in class net.sourceforge.javaflacencoder.EncodedElement
Return the last element of the list given.
getEnd_S(EncodedElement) - Static method in class net.sourceforge.javaflacencoder.EncodedElement
Return the last element of the list given.
getError() - Method in class net.sourceforge.javaflacencoder.LPC
Get the error for this LPC calculation
getFLACOutputStream() - Method in class net.sourceforge.javaflacencoder.FLACStreamController
 
getIdentifier() - Static method in class net.sourceforge.javaflacencoder.FLACStreamIdentifier
Get an EncodedElement containing the marker(which is itself in a byte array).
getLastTotalSamplesEncoded() - Method in class net.sourceforge.javaflacencoder.FLAC_FileEncoder
Get the total number of samples encoded in last encode.
getMaxBlockSize() - Method in class net.sourceforge.javaflacencoder.StreamConfiguration
Get the currently set maximum block size
getMaxLPCOrder() - Method in class net.sourceforge.javaflacencoder.EncodingConfiguration
Get maximum LPC order
getMD() - Method in class net.sourceforge.javaflacencoder.FLAC_MD5
 
getMetadataBlockHeader(boolean, MetadataBlockHeader.MetadataBlockType, int) - Static method in class net.sourceforge.javaflacencoder.MetadataBlockHeader
Create a meta-data block header of the given type, and return the result in a new EncodedElement(so data is ready to be placed directly in FLAC stream)
getMinBlockSize() - Method in class net.sourceforge.javaflacencoder.StreamConfiguration
Get the currently set minimum block size
getMinLPCOrder() - Method in class net.sourceforge.javaflacencoder.EncodingConfiguration
Get current minimum LPC order
getOrder() - Method in class net.sourceforge.javaflacencoder.LPC
Get this LPC object's order
getPos() - Method in class net.sourceforge.javaflacencoder.FLACFileOutputStream
Get the current write position of this stream.
getPos() - Method in interface net.sourceforge.javaflacencoder.FLACOutputStream
Get current write position of this stream.
getPos() - Method in class net.sourceforge.javaflacencoder.FLACStreamOutputStream
Get the current write position of this stream.
getSampleRate() - Method in class net.sourceforge.javaflacencoder.StreamConfiguration
Get the currently set sample rate
getSamples() - Method in class net.sourceforge.javaflacencoder.ChannelData
 
getSampleSize() - Method in class net.sourceforge.javaflacencoder.ChannelData
 
getStreamInfo(StreamConfiguration, int, int, long, byte[]) - Static method in class net.sourceforge.javaflacencoder.MetadataBlockStreamInfo
Create a FLAC StreamInfo metadata block with the given parameters.
getSubframeType() - Method in class net.sourceforge.javaflacencoder.EncodingConfiguration
Get the current subframe type
getThreadCount() - Method in class net.sourceforge.javaflacencoder.FLACEncoder
Get the number of threads this FLACEncoder is currently set to use.
getTotalBits() - Method in class net.sourceforge.javaflacencoder.EncodedElement
Total number of usable bits stored by this entire list.
getTotalManagedCount() - Method in class net.sourceforge.javaflacencoder.BlockThreadManager
Get total number of BlockEncodeRequests added to this manager, but not yet passed back to the FLACEncoder object.
getWaitingRequest() - Method in class net.sourceforge.javaflacencoder.BlockThreadManager
Get a BlockEncodeRequest object which is queued for encoding, pausing for up to 0.5 seconds till one is available.

H

HELP - Static variable in class net.sourceforge.javaflacencoder.FLAC_ConsoleFileEncoder
flag to display help

I

incrementFrameNumber() - Method in class net.sourceforge.javaflacencoder.FLACStreamController
 
isEncodingSubsetCompliant(EncodingConfiguration) - Method in class net.sourceforge.javaflacencoder.StreamConfiguration
Test if this StreamConfiguration and a paired EncodingConfiguration define a Subset compliant stream.
isFull(int) - Method in class net.sourceforge.javaflacencoder.BlockEncodeRequest
 
isStreamSubsetCompliant() - Method in class net.sourceforge.javaflacencoder.StreamConfiguration
Test if stream is Subset compliant.
isValid() - Method in class net.sourceforge.javaflacencoder.FLACFileOutputStream
Deprecated.
isValid() - Method in class net.sourceforge.javaflacencoder.StreamConfiguration
Test if the current configuration is valid.

L

lastEncodedSize - Variable in class net.sourceforge.javaflacencoder.Subframe
Store for size of last subframe encoded(in bits).
LPC - Class in net.sourceforge.javaflacencoder
This class is used to calculate LPC Coefficients for a FLAC stream.
LPC(int) - Constructor for class net.sourceforge.javaflacencoder.LPC
Constructor creates an LPC object of the given order.

M

main(String[]) - Static method in class net.sourceforge.javaflacencoder.FLAC_ConsoleFileEncoder
Run ConsoleFileEncoder with given arguments.
MAX_BITS_PER_SAMPLE - Static variable in class net.sourceforge.javaflacencoder.StreamConfiguration
Maximum bits per sample allowed(FLAC spec allows 32, limited to 24 here due to limits in code)
MAX_BLOCK - Static variable in class net.sourceforge.javaflacencoder.FLAC_ConsoleFileEncoder
flag to specify maximum block size.
MAX_BLOCK_ERROR - Static variable in class net.sourceforge.javaflacencoder.FLAC_ConsoleFileEncoder
Error message given for incorrect maximum block size specified
MAX_BLOCK_SIZE - Static variable in class net.sourceforge.javaflacencoder.StreamConfiguration
Maximum Block size allowed(defined by flac spec)
MAX_CHANNEL_COUNT - Static variable in class net.sourceforge.javaflacencoder.StreamConfiguration
Maximum channel count allowed(defined by flac spec)
MAX_HEADER_SIZE - Static variable in class net.sourceforge.javaflacencoder.FrameHeader
Maximum size a header can be according to FLAC specification.
MAX_LPC - Static variable in class net.sourceforge.javaflacencoder.FLAC_ConsoleFileEncoder
flag to specify maximum LPC order to use.
MAX_LPC_ERROR - Static variable in class net.sourceforge.javaflacencoder.FLAC_ConsoleFileEncoder
Error message given for incorrect maximum LPC order given
MAX_LPC_ORDER - Static variable in class net.sourceforge.javaflacencoder.EncodingConfiguration
Maximum LPC order possible(as defined by FLAC format)
MAX_LPC_ORDER - Static variable in class net.sourceforge.javaflacencoder.Subframe_LPC
Maximum LPC order that is supported by this subframe
MAX_RICE_PARTITION_ORDER - Static variable in class net.sourceforge.javaflacencoder.EncodingConfiguration
Maximum Rice Partition order possible(as defined by FLAC Format)
MAX_SAMPLE_RATE - Static variable in class net.sourceforge.javaflacencoder.StreamConfiguration
Maximum sample rate allowed(defined by flac spec)
mergeFullOnByte(int[], int, byte[], int) - Static method in class net.sourceforge.javaflacencoder.EncodedElement
 
MetadataBlockHeader - Class in net.sourceforge.javaflacencoder
The MetadataBlockHeader class is used to creat FLAC compliant Metadata Block Headers.
MetadataBlockHeader() - Constructor for class net.sourceforge.javaflacencoder.MetadataBlockHeader
Constructor.
MetadataBlockHeader.MetadataBlockType - Enum in net.sourceforge.javaflacencoder
Enum containing the different Metadata block types.
MetadataBlockStreamInfo - Class in net.sourceforge.javaflacencoder
MetadataBlockStreamInfo is used to declare the initial stream parameters, such as Sample Rate, bits per sample, and number of channels, as well as information on the encoded stream such as total number of samples, minimum and maximum block and frame sizes, and md5sum of raw audio samples.
MetadataBlockStreamInfo() - Constructor for class net.sourceforge.javaflacencoder.MetadataBlockStreamInfo
Constructor.
MIN_BITS_PER_SAMPLE - Static variable in class net.sourceforge.javaflacencoder.StreamConfiguration
Minimum bits per sample allowed(defined by flac spec)
MIN_BLOCK - Static variable in class net.sourceforge.javaflacencoder.FLAC_ConsoleFileEncoder
flag to specify minimum block size.
MIN_BLOCK_ERROR - Static variable in class net.sourceforge.javaflacencoder.FLAC_ConsoleFileEncoder
Error message given for incorrect minimum block size specified
MIN_BLOCK_SIZE - Static variable in class net.sourceforge.javaflacencoder.StreamConfiguration
Minimum block size allowed(defined by flac spec)
MIN_LPC - Static variable in class net.sourceforge.javaflacencoder.FLAC_ConsoleFileEncoder
flag to specify minimum LPC order to use.
MIN_LPC_ERROR - Static variable in class net.sourceforge.javaflacencoder.FLAC_ConsoleFileEncoder
Error message given for incorrect minimum LPC order given
MIN_LPC_ORDER - Static variable in class net.sourceforge.javaflacencoder.EncodingConfiguration
Minimum LPC order possible(as defined by FLAC format)
MIN_SAMPLE_RATE - Static variable in class net.sourceforge.javaflacencoder.StreamConfiguration
Minimum sample rate allowed(defined by flac spec)

N

net.sourceforge.javaflacencoder - package net.sourceforge.javaflacencoder
This package defines a FLAC encoder with a simple interface for enabling FLAC encoding support in an application.
notifyFrameThreadExit(FrameThread) - Method in class net.sourceforge.javaflacencoder.BlockThreadManager
Notify this manager that a FrameThread has ended it's run() method, returning the FrameThread object to the manager for use in future Threads.

O

offset - Variable in class net.sourceforge.javaflacencoder.EncodedElement
Used to signify the index of the first valid bit of the data array.
openFLACStream() - Method in class net.sourceforge.javaflacencoder.FLACEncoder
Begin a new FLAC stream.
openFLACStream() - Method in class net.sourceforge.javaflacencoder.FLACStreamController
Begin a new FLAC stream.
order - Variable in class net.sourceforge.javaflacencoder.LPC
The order of this LPC calculation

P

packInt(int[], int, int, int, int) - Method in class net.sourceforge.javaflacencoder.EncodedElement
Append an equal number of bits from each int in an array within given limits to the end of this list.
packIntByBits(int[], int[], int, int) - Method in class net.sourceforge.javaflacencoder.EncodedElement
Pack a number of bits from each int of an array(within given limits)to the end of this list.
packIntByBits(int[], int[], int, int, int, byte[]) - Static method in class net.sourceforge.javaflacencoder.EncodedElement
Pack a number of bits from each int of an array(within given limits)to the end of this list.
packIntByBits(int[], int[], int, int, int, int[]) - Static method in class net.sourceforge.javaflacencoder.EncodedElement_32
Deprecated.
Pack a number of bits from each int of an array(within given limits)to the end of this list.
packIntByBits(int[], int[], int, int) - Method in class net.sourceforge.javaflacencoder.EncodedElement_32
Deprecated.
Pack a number of bits from each int of an array(within given limits)to the end of this list.
packIntByBitsToByteBoundary(int[], int[], int, int, int, byte[]) - Static method in class net.sourceforge.javaflacencoder.EncodedElement
 
padToByte() - Method in class net.sourceforge.javaflacencoder.EncodedElement
Force the usable data stored in this list ends on a a byte boundary, by padding to the end with zeros.
print() - Method in class net.sourceforge.javaflacencoder.EncodedElement
 
print(int) - Method in class net.sourceforge.javaflacencoder.EncodedElement
 

R

rawCoefficients - Variable in class net.sourceforge.javaflacencoder.LPC
The coefficients as calculated by the LPC algorithm
rawError - Variable in class net.sourceforge.javaflacencoder.LPC
The error calculated by the LPC algorithm
registerConfiguration(EncodingConfiguration) - Method in class net.sourceforge.javaflacencoder.Frame
This method is used to set the encoding configuration.
registerConfiguration(EncodingConfiguration) - Method in class net.sourceforge.javaflacencoder.Subframe
This method is used to set the encoding configuration.
registerConfiguration(EncodingConfiguration) - Method in class net.sourceforge.javaflacencoder.Subframe_Constant
This method is used to set the encoding configuration.
registerConfiguration(EncodingConfiguration) - Method in class net.sourceforge.javaflacencoder.Subframe_Fixed
This method is used to set the encoding configuration.
registerConfiguration(EncodingConfiguration) - Method in class net.sourceforge.javaflacencoder.Subframe_LPC
This method is used to set the encoding configuration.
registerConfiguration(EncodingConfiguration) - Method in class net.sourceforge.javaflacencoder.Subframe_Verbatim
This method is used to set the encoding configuration.
reset() - Method in class net.sourceforge.javaflacencoder.CRC16
Resets stored data, preparing object for a new checksum.
reset() - Method in class net.sourceforge.javaflacencoder.CRC8
Resets all stored data, preparing object for a new checksum.
returnFinishedRequest(BlockEncodeRequest) - Method in class net.sourceforge.javaflacencoder.BlockThreadManager
Used to return a finished BlockEncodeRequest from a FrameThread.
RiceEncoder - Class in net.sourceforge.javaflacencoder
The RiceEncoder class is used to create FLAC-compliant rice-encoded residuals.
RiceEncoder() - Constructor for class net.sourceforge.javaflacencoder.RiceEncoder
Constructor.
run() - Method in class net.sourceforge.javaflacencoder.BlockThreadManager
Waits for the next BlockEncodeRequest that needs to be sent back to the FLACEncoder for finalizing.
run() - Method in class net.sourceforge.javaflacencoder.FrameThread
Run method.

S

samplesAvailableToEncode() - Method in class net.sourceforge.javaflacencoder.FLACEncoder
Get number of samples that are available to encode.
sc - Variable in class net.sourceforge.javaflacencoder.Subframe
StreamConfiguration used for encoding.
seek(long) - Method in class net.sourceforge.javaflacencoder.FLACFileOutputStream
Attempt to seek to the given location within this stream.
seek(long) - Method in interface net.sourceforge.javaflacencoder.FLACOutputStream
Attempt to seek to the given position.
seek(long) - Method in class net.sourceforge.javaflacencoder.FLACStreamOutputStream
Attempt to seek to the given location within this stream.
setAll(int[], int, int, int, long, EncodedElement) - Method in class net.sourceforge.javaflacencoder.BlockEncodeRequest
Set all values, preparing this object to be sent to an encoder.
setBitsPerSample(int) - Method in class net.sourceforge.javaflacencoder.StreamConfiguration
Set the bits per sample.
setChannelConfig(EncodingConfiguration.ChannelConfig) - Method in class net.sourceforge.javaflacencoder.EncodingConfiguration
Set the channel configuration to use.
setChannelCount(int) - Method in class net.sourceforge.javaflacencoder.StreamConfiguration
Set number of channels in stream.
setChannelName(ChannelData.ChannelName) - Method in class net.sourceforge.javaflacencoder.ChannelData
 
setCount(int) - Method in class net.sourceforge.javaflacencoder.ChannelData
 
setData(int[], int, int, ChannelData.ChannelName) - Method in class net.sourceforge.javaflacencoder.ChannelData
 
setEncodingConfig(EncodingConfiguration) - Method in class net.sourceforge.javaflacencoder.FLAC_FileEncoder
Set the EncodingConfiguration to use for encoding.
setEncodingConfiguration(EncodingConfiguration) - Method in class net.sourceforge.javaflacencoder.FLACEncoder
Set the encoding configuration to that specified.
setFLACOutputStream(FLACOutputStream) - Method in class net.sourceforge.javaflacencoder.FLACStreamController
 
setMaxBlockSize(int) - Method in class net.sourceforge.javaflacencoder.StreamConfiguration
Set the maximum block size to use.
setMaxLPCOrder(int) - Method in class net.sourceforge.javaflacencoder.EncodingConfiguration
Set the maximum LPC order.
setMinBlockSize(int) - Method in class net.sourceforge.javaflacencoder.StreamConfiguration
Set the minimum block size to use.
setMinLPCOrder(int) - Method in class net.sourceforge.javaflacencoder.EncodingConfiguration
Set the minimum LPC order.
setOutputStream(FLACOutputStream) - Method in class net.sourceforge.javaflacencoder.FLACEncoder
Set the output stream to use.
setSampleRate(int) - Method in class net.sourceforge.javaflacencoder.StreamConfiguration
Set the sample rate.
setStreamConfig(StreamConfiguration) - Method in class net.sourceforge.javaflacencoder.FLAC_FileEncoder
Set the stream configuration for this encoder to use.
setStreamConfiguration(StreamConfiguration) - Method in class net.sourceforge.javaflacencoder.FLACEncoder
Set the stream configuration to that specified.
setSubframeType(EncodingConfiguration.SubframeType) - Method in class net.sourceforge.javaflacencoder.EncodingConfiguration
Set the subframe type to use.
setThreadCount(int) - Method in class net.sourceforge.javaflacencoder.FLACEncoder
Tell encoder how many threads to use for encoding.
size() - Method in class net.sourceforge.javaflacencoder.FLACFileOutputStream
Get the number of bytes that have been written in length! This takes into account seeking to different portions.
size() - Method in interface net.sourceforge.javaflacencoder.FLACOutputStream
Get the number of bytes that have been written in length.
size() - Method in class net.sourceforge.javaflacencoder.FLACStreamOutputStream
Get the number of bytes that have been written by this object.
stop() - Method in class net.sourceforge.javaflacencoder.BlockThreadManager
Notify this manager that it may stop as soon as all currently outstanding requests are completed.
StreamConfiguration - Class in net.sourceforge.javaflacencoder
This class defines the configuration options that may not change throughout a FLAC stream.
StreamConfiguration() - Constructor for class net.sourceforge.javaflacencoder.StreamConfiguration
Constructor, sets defaults for most values.
StreamConfiguration(StreamConfiguration) - Constructor for class net.sourceforge.javaflacencoder.StreamConfiguration
Copy Constructor.
StreamConfiguration(int, int, int, int, int) - Constructor for class net.sourceforge.javaflacencoder.StreamConfiguration
Constructor, allows setting of all options.
streamLock - Variable in class net.sourceforge.javaflacencoder.FLACEncoder
 
Subframe - Class in net.sourceforge.javaflacencoder
Description: This abstract class declares the methods needed to retrieve encoded data in a standard format(across the different implemented Subframe types), as well as the generic methods needed to write the subframe header.
Subframe(StreamConfiguration) - Constructor for class net.sourceforge.javaflacencoder.Subframe
Constructor.
Subframe_Constant - Class in net.sourceforge.javaflacencoder
Implements the Subframe abstract class, providing encoding support for the FLAC Constant Subframe.
Subframe_Constant(StreamConfiguration) - Constructor for class net.sourceforge.javaflacencoder.Subframe_Constant
Constructor.
Subframe_Fixed - Class in net.sourceforge.javaflacencoder
Implements the Subframe abstract class, providing encoding support for the FLAC Fixed-predictor Subframe.
Subframe_Fixed(StreamConfiguration) - Constructor for class net.sourceforge.javaflacencoder.Subframe_Fixed
Constructor.
Subframe_LPC - Class in net.sourceforge.javaflacencoder
Implements the Subframe abstract class, providing encoding support for the FLAC LPC Subframe.
SUBFRAME_TYPE - Static variable in class net.sourceforge.javaflacencoder.FLAC_ConsoleFileEncoder
flag to specify subframe type to use.
Subframe_Verbatim - Class in net.sourceforge.javaflacencoder
Implements the Subframe abstract class, providing encoding support for the FLAC Verbatim Subframe.
SUPPORTED - Static variable in class net.sourceforge.javaflacencoder.AudioStreamEncoder
 
syncCode - Static variable in class net.sourceforge.javaflacencoder.FrameHeader
Synchronization code used at beginning of frame(low-order 14 bits used)

T

t_encodeSamples(int, boolean, int) - Method in class net.sourceforge.javaflacencoder.FLACEncoder
Attempt to Encode a certain number of samples(threaded version).
THREADS - Static variable in class net.sourceforge.javaflacencoder.FLAC_ConsoleFileEncoder
flag to specify whether to use threads.
THREADS_ERROR - Static variable in class net.sourceforge.javaflacencoder.FLAC_ConsoleFileEncoder
Error message given for incorrect specification of Thread usage
totalTime - Static variable in class net.sourceforge.javaflacencoder.Subframe_LPC
 
type - Static variable in class net.sourceforge.javaflacencoder.Subframe_Constant
Subframe type supported by this implementation.
type - Static variable in class net.sourceforge.javaflacencoder.Subframe_Fixed
Subframe type supported by this implementation.
type - Static variable in class net.sourceforge.javaflacencoder.Subframe_LPC
Subframe type implemented by this subframe.
type - Static variable in class net.sourceforge.javaflacencoder.Subframe_Verbatim
Subframe type supported by this implementation.
TYPE_EXHAUSTIVE - Static variable in class net.sourceforge.javaflacencoder.FLAC_ConsoleFileEncoder
Exhaustive Subframe type identifier string(tells encoder to try each subframe type and choose the smallest one
TYPE_FIXED - Static variable in class net.sourceforge.javaflacencoder.FLAC_ConsoleFileEncoder
Fixed Subframe type identifier string
TYPE_LPC - Static variable in class net.sourceforge.javaflacencoder.FLAC_ConsoleFileEncoder
LPC Subframe type identifier string
TYPE_VERBATIM - Static variable in class net.sourceforge.javaflacencoder.FLAC_ConsoleFileEncoder
Verbatime subframe type identifier string

U

UNSUPPORTED_CHANNELCOUNT - Static variable in class net.sourceforge.javaflacencoder.AudioStreamEncoder
 
UNSUPPORTED_ENCODINGTYPE - Static variable in class net.sourceforge.javaflacencoder.AudioStreamEncoder
 
UNSUPPORTED_SAMPLERATE - Static variable in class net.sourceforge.javaflacencoder.AudioStreamEncoder
 
UNSUPPORTED_SAMPLESIZE - Static variable in class net.sourceforge.javaflacencoder.AudioStreamEncoder
 
update(byte) - Method in class net.sourceforge.javaflacencoder.CRC16
 
update(byte[], int, int) - Method in class net.sourceforge.javaflacencoder.CRC16
 
updateCRC8(byte[], int, int) - Method in class net.sourceforge.javaflacencoder.CRC8
Add data to the crc.
useThreads(boolean) - Method in class net.sourceforge.javaflacencoder.FLAC_FileEncoder
Specify whether to use multiple threads or not.
UTF8Modified - Class in net.sourceforge.javaflacencoder
This is a utility class that provides methods to both encode to and decode from the extended version of UTF8 used by the FLAC format.
UTF8Modified() - Constructor for class net.sourceforge.javaflacencoder.UTF8Modified
Constructor.

V

valueOf(String) - Static method in enum net.sourceforge.javaflacencoder.ChannelData.ChannelName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.sourceforge.javaflacencoder.EncodingConfiguration.ChannelConfig
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.sourceforge.javaflacencoder.EncodingConfiguration.SubframeType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.sourceforge.javaflacencoder.FLAC_FileEncoder.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.sourceforge.javaflacencoder.MetadataBlockHeader.MetadataBlockType
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.sourceforge.javaflacencoder.ChannelData.ChannelName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.sourceforge.javaflacencoder.EncodingConfiguration.ChannelConfig
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.sourceforge.javaflacencoder.EncodingConfiguration.SubframeType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.sourceforge.javaflacencoder.FLAC_FileEncoder.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.sourceforge.javaflacencoder.MetadataBlockHeader.MetadataBlockType
Returns an array containing the constants of this enum type, in the order they are declared.

W

window(int[], int, int, int, int[]) - Static method in class net.sourceforge.javaflacencoder.LPC
Apply a window function to sample data
workingCRC - Variable in class net.sourceforge.javaflacencoder.CRC16
working checksum stored between calls to update(..)
write(byte) - Method in class net.sourceforge.javaflacencoder.FLACFileOutputStream
Write a byte to this stream.
write(byte[], int, int) - Method in class net.sourceforge.javaflacencoder.FLACFileOutputStream
Write the given number of bytes from the byte array.
write(AudioInputStream, AudioFileFormat.Type, File) - Method in class net.sourceforge.javaflacencoder.FLACFileWriter
 
write(AudioInputStream, AudioFileFormat.Type, OutputStream) - Method in class net.sourceforge.javaflacencoder.FLACFileWriter
 
write(byte[], int, int) - Method in interface net.sourceforge.javaflacencoder.FLACOutputStream
Write the given number of bytes from a byte array.
write(byte) - Method in interface net.sourceforge.javaflacencoder.FLACOutputStream
Write a single byte to the stream.
write(byte) - Method in class net.sourceforge.javaflacencoder.FLACStreamOutputStream
Write a byte to this stream.
write(byte[], int, int) - Method in class net.sourceforge.javaflacencoder.FLACStreamOutputStream
Write the given number of bytes from the byte array.
writeBlock(BlockEncodeRequest) - Method in class net.sourceforge.javaflacencoder.FLACStreamController
 
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links

Copyright © 2017. All rights reserved.