public abstract class FlacAudioSubFrame extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FlacAudioSubFrame.SubFrameConstant |
static class |
FlacAudioSubFrame.SubFrameFixed |
static class |
FlacAudioSubFrame.SubFrameLPC |
static class |
FlacAudioSubFrame.SubFrameReserved |
class |
FlacAudioSubFrame.SubFrameResidual |
class |
FlacAudioSubFrame.SubFrameResidualRice |
class |
FlacAudioSubFrame.SubFrameResidualRice2 |
static class |
FlacAudioSubFrame.SubFrameVerbatim |
static class |
FlacAudioSubFrame.SubFrameWithResidual |
Modifier and Type | Field and Description |
---|---|
protected FlacAudioFrame |
audioFrame |
protected int |
blockSize |
protected int |
predictorOrder |
protected int |
sampleSizeBits |
Modifier | Constructor and Description |
---|---|
protected |
FlacAudioSubFrame(int predictorOrder,
int channelNumber,
FlacAudioFrame audioFrame) |
Modifier and Type | Method and Description |
---|---|
static FlacAudioSubFrame |
create(int type,
int channelNumber,
int wastedBits,
FlacAudioFrame audioFrame,
BitsReader data) |
protected FlacAudioSubFrame.SubFrameResidual |
createResidual(BitsReader data) |
int |
getBlockSize() |
int |
getPredictorOrder() |
int |
getSampleSizeBits() |
abstract String |
getType() |
int |
getWastedBits()
The number of wasted bits per sample
|
protected final FlacAudioFrame audioFrame
protected final int predictorOrder
protected final int sampleSizeBits
protected final int blockSize
protected FlacAudioSubFrame(int predictorOrder, int channelNumber, FlacAudioFrame audioFrame)
public static FlacAudioSubFrame create(int type, int channelNumber, int wastedBits, FlacAudioFrame audioFrame, BitsReader data) throws IOException
IOException
public int getWastedBits()
public int getPredictorOrder()
public int getSampleSizeBits()
public int getBlockSize()
public abstract String getType()
protected FlacAudioSubFrame.SubFrameResidual createResidual(BitsReader data) throws IOException
IOException
Copyright © 2016. All rights reserved.