public class FlacInfo extends FlacMetadataBlock
APPLICATION, CUESHEET, PADDING, PICTURE, SEEKTABLE, STREAMINFO, VORBIS_COMMENT
Constructor and Description |
---|
FlacInfo()
Creates a new, empty info
|
FlacInfo(byte[] data,
int offset)
Reads the Info from the specified data
|
Modifier and Type | Method and Description |
---|---|
int |
getBitsPerSample() |
int |
getMaximumBlockSize()
The maximum block size (in samples) used in the stream.
|
int |
getMaximumFrameSize() |
int |
getMinimumBlockSize()
The minimum block size (in samples) used in the stream.
|
int |
getMinimumFrameSize() |
long |
getNumberOfSamples() |
int |
getNumChannels() |
int |
getSampleRate() |
byte[] |
getSignature() |
void |
setBitsPerSample(int bitsPerSample) |
void |
setMaximumBlockSize(int maximumBlockSize) |
void |
setMaximumFrameSize(int maximumFrameSize) |
void |
setMinimumBlockSize(int minimumBlockSize) |
void |
setMinimumFrameSize(int minimumFrameSize) |
void |
setNumberOfSamples(long numberOfSamples) |
void |
setNumChannels(int numChannels) |
void |
setSampleRate(int sampleRate) |
void |
setSignature(byte[] signature) |
protected void |
write(OutputStream out) |
create, getData, getType, isLastMetadataBlock
public FlacInfo()
public FlacInfo(byte[] data, int offset)
protected void write(OutputStream out) throws IOException
write
in class FlacMetadataBlock
IOException
public int getMinimumBlockSize()
public void setMinimumBlockSize(int minimumBlockSize)
public int getMaximumBlockSize()
public void setMaximumBlockSize(int maximumBlockSize)
public int getMinimumFrameSize()
public void setMinimumFrameSize(int minimumFrameSize)
public int getMaximumFrameSize()
public void setMaximumFrameSize(int maximumFrameSize)
public int getSampleRate()
public void setSampleRate(int sampleRate)
public int getNumChannels()
public void setNumChannels(int numChannels)
public int getBitsPerSample()
public void setBitsPerSample(int bitsPerSample)
public long getNumberOfSamples()
public void setNumberOfSamples(long numberOfSamples)
public byte[] getSignature()
public void setSignature(byte[] signature)
Copyright © 2015. All rights reserved.