|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectjavaFlacEncoder.EncodingConfiguration
public class EncodingConfiguration
This class defines the configuration options that are allowed to change within a FLAC stream. Options here may be changed from one frame to the next. In general, the settings should not need altered, but the option to do so remains.
| Nested Class Summary | |
|---|---|
static class |
EncodingConfiguration.ChannelConfig
Defines the options for channel configuration to use. |
static class |
EncodingConfiguration.SubframeType
Defines the various subframe types that may be used. |
| Field Summary | |
|---|---|
static EncodingConfiguration.ChannelConfig |
DEFAULT_CHANNEL_CONFIG
Default channel configuration |
static int |
DEFAULT_MAX_LPC_ORDER
Default maximum lpc order to use |
static int |
DEFAULT_MAX_RICE_ORDER
Default maximum Rice partition order |
static int |
DEFAULT_MIN_LPC_ORDER
Default minimum lpc order to use |
static EncodingConfiguration.SubframeType |
DEFAULT_SUBFRAME_TYPE
Default subframe type to use |
static int |
MAX_LPC_ORDER
Maximum LPC order possible(as defined by FLAC format) |
static int |
MAX_RICE_PARTITION_ORDER
Maximum Rice Partition order possible(as defined by FLAC Format) |
static int |
MIN_LPC_ORDER
Minimum LPC order possible(as defined by FLAC format) |
| Constructor Summary | |
|---|---|
EncodingConfiguration()
Constructor, uses defaults for all options. |
|
EncodingConfiguration(EncodingConfiguration e)
Copy constructor. |
|
| Method Summary | |
|---|---|
EncodingConfiguration.ChannelConfig |
getChannelConfig()
Get the current channel configuration value. |
int |
getMaxLPCOrder()
Get maximum LPC order |
int |
getMinLPCOrder()
Get current minimum LPC order |
EncodingConfiguration.SubframeType |
getSubframeType()
Get the current subframe type |
void |
setChannelConfig(EncodingConfiguration.ChannelConfig conf)
Set the channel configuration to use. |
void |
setMaxLPCOrder(int order)
Set the maximum LPC order. |
void |
setMinLPCOrder(int order)
Set the minimum LPC order. |
void |
setSubframeType(EncodingConfiguration.SubframeType type)
Set the subframe type to use. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MAX_LPC_ORDER
public static final int MIN_LPC_ORDER
public static final int MAX_RICE_PARTITION_ORDER
public static final EncodingConfiguration.SubframeType DEFAULT_SUBFRAME_TYPE
public static final EncodingConfiguration.ChannelConfig DEFAULT_CHANNEL_CONFIG
public static final int DEFAULT_MAX_LPC_ORDER
public static final int DEFAULT_MIN_LPC_ORDER
public static final int DEFAULT_MAX_RICE_ORDER
| Constructor Detail |
|---|
public EncodingConfiguration()
public EncodingConfiguration(EncodingConfiguration e)
e - EncodingConfiguration object to copy. Must not be null.| Method Detail |
|---|
public void setChannelConfig(EncodingConfiguration.ChannelConfig conf)
ChannelConfig for more info on choices.
conf - Channel configuration to use.public EncodingConfiguration.ChannelConfig getChannelConfig()
public void setSubframeType(EncodingConfiguration.SubframeType type)
SubframeType for
more info on choices.
type - public EncodingConfiguration.SubframeType getSubframeType()
public int getMinLPCOrder()
public int getMaxLPCOrder()
public void setMinLPCOrder(int order)
MAX_LPC_ORDER and
MIN_LPC_ORDER), it will be
set to the closest valid value instead.
order - minimum LPC order to usepublic void setMaxLPCOrder(int order)
MAX_LPC_ORDER
and MIN_LPC_ORDER), it will be
set to the closest valid value instead.
order - maximum LPC order to use
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||