org.kc7bfi.jflac.frame
Class Channel

java.lang.Object
  extended by org.kc7bfi.jflac.frame.Channel
Direct Known Subclasses:
ChannelConstant, ChannelFixed, ChannelLPC, ChannelVerbatim

public abstract class Channel
extends java.lang.Object

Base class for FLAC subframe (channel) classes.


Field Summary
static int ENTROPY_CODING_METHOD_PARTITIONED_RICE
          Partisioned Rice Encoding Method.
static int ENTROPY_CODING_METHOD_PARTITIONED_RICE_ORDER_LEN
          The size of the Rice Order field (in bits).
static int ENTROPY_CODING_METHOD_TYPE_LEN
          The size of the encoding method field (in bits).
 
Method Summary
 int getWastedBits()
          Return he number of waisted bits in the frame.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENTROPY_CODING_METHOD_PARTITIONED_RICE

public static final int ENTROPY_CODING_METHOD_PARTITIONED_RICE
Partisioned Rice Encoding Method.

See Also:
Constant Field Values

ENTROPY_CODING_METHOD_TYPE_LEN

public static final int ENTROPY_CODING_METHOD_TYPE_LEN
The size of the encoding method field (in bits).

See Also:
Constant Field Values

ENTROPY_CODING_METHOD_PARTITIONED_RICE_ORDER_LEN

public static final int ENTROPY_CODING_METHOD_PARTITIONED_RICE_ORDER_LEN
The size of the Rice Order field (in bits).

See Also:
Constant Field Values
Method Detail

getWastedBits

public int getWastedBits()
Return he number of waisted bits in the frame.

Returns:
The number of waisted bits in the frame