javaFlacEncoder
Enum EncodingConfiguration.SubframeType

java.lang.Object
  extended by java.lang.Enum<EncodingConfiguration.SubframeType>
      extended by javaFlacEncoder.EncodingConfiguration.SubframeType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EncodingConfiguration.SubframeType>
Enclosing class:
EncodingConfiguration

public static enum EncodingConfiguration.SubframeType
extends java.lang.Enum<EncodingConfiguration.SubframeType>

Defines the various subframe types that may be used. If you don't know what these are, choose EXHAUSTIVE(for description of subframe types, see the flac format documentation at http://flac.sourceforge.net/format.html)


Enum Constant Summary
CONSTANT
          Constant subframe, do not choose unless you are sure you're encoding digital silence
EXHAUSTIVE
          Best compression, slightly slower than LPC alone, lets encoder choose the best(Recommended).
FIXED
          Decent compression, fasted option
LPC
          Better compression, slower
VERBATIM
          No compression, simply wraps unencoded audio into a FLAC stream
 
Method Summary
static EncodingConfiguration.SubframeType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EncodingConfiguration.SubframeType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CONSTANT

public static final EncodingConfiguration.SubframeType CONSTANT
Constant subframe, do not choose unless you are sure you're encoding digital silence


FIXED

public static final EncodingConfiguration.SubframeType FIXED
Decent compression, fasted option


LPC

public static final EncodingConfiguration.SubframeType LPC
Better compression, slower


VERBATIM

public static final EncodingConfiguration.SubframeType VERBATIM
No compression, simply wraps unencoded audio into a FLAC stream


EXHAUSTIVE

public static final EncodingConfiguration.SubframeType EXHAUSTIVE
Best compression, slightly slower than LPC alone, lets encoder choose the best(Recommended).

Method Detail

values

public static EncodingConfiguration.SubframeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (EncodingConfiguration.SubframeType c : EncodingConfiguration.SubframeType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EncodingConfiguration.SubframeType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null