public interface ChunkFormat extends Chunk
The following features are supported:
WavPackage.getChunkFormat()
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getAverageBytesPerSecond()
Returns the value of the 'Average Bytes Per Second' attribute.
|
java.lang.Integer |
getBlockAlign()
Returns the value of the 'Block Align' attribute.
|
CompressionCode |
getCompressionCode()
Returns the value of the 'Compression Code' attribute.
|
java.lang.Integer |
getCompressionCodeValue()
Returns the value of the 'Compression Code Value' attribute.
|
byte[] |
getExtraFormatBytes()
Returns the value of the 'Extra Format Bytes' attribute.
|
java.lang.Integer |
getNumberOfChannels()
Returns the value of the 'Number Of Channels' attribute.
|
java.lang.Integer |
getNumberOfExtraFormatBytes()
Returns the value of the 'Number Of Extra Format Bytes' attribute.
|
java.lang.Long |
getSampleRate()
Returns the value of the 'Sample Rate' attribute.
|
java.lang.Integer |
getSignificantBitsPerSample()
Returns the value of the 'Significant Bits Per Sample' attribute.
|
void |
setAverageBytesPerSecond(java.lang.Long value)
Sets the value of the '
Average Bytes Per Second ' attribute. |
void |
setBlockAlign(java.lang.Integer value)
Sets the value of the '
Block Align ' attribute. |
void |
setCompressionCode(CompressionCode value)
Sets the value of the '
Compression Code ' attribute. |
void |
setCompressionCodeValue(java.lang.Integer value)
Sets the value of the '
Compression Code Value ' attribute. |
void |
setExtraFormatBytes(byte[] value)
Sets the value of the '
Extra Format Bytes ' attribute. |
void |
setNumberOfChannels(java.lang.Integer value)
Sets the value of the '
Number Of Channels ' attribute. |
void |
setSampleRate(java.lang.Long value)
Sets the value of the '
Sample Rate ' attribute. |
void |
setSignificantBitsPerSample(java.lang.Integer value)
Sets the value of the '
Significant Bits Per Sample ' attribute. |
getBlockAlignedSize, getChunkTypeID, getChunkTypeIDValue, getSize, init, toByteArray
CompressionCode getCompressionCode()
CompressionCode
.
If the meaning of the 'Compression Code' attribute isn't clear, there really should be more of a description here...
CompressionCode
,
setCompressionCode(CompressionCode)
,
WavPackage.getChunkFormat_CompressionCode()
void setCompressionCode(CompressionCode value)
Compression Code
' attribute.
value
- the new value of the 'Compression Code' attribute.CompressionCode
,
getCompressionCode()
java.lang.Integer getCompressionCodeValue()
If the meaning of the 'Compression Code Value' attribute isn't clear, there really should be more of a description here...
setCompressionCodeValue(Integer)
,
WavPackage.getChunkFormat_CompressionCodeValue()
void setCompressionCodeValue(java.lang.Integer value)
Compression Code Value
' attribute.
value
- the new value of the 'Compression Code Value' attribute.getCompressionCodeValue()
java.lang.Integer getNumberOfChannels()
If the meaning of the 'Number Of Channels' attribute isn't clear, there really should be more of a description here...
setNumberOfChannels(Integer)
,
WavPackage.getChunkFormat_NumberOfChannels()
void setNumberOfChannels(java.lang.Integer value)
Number Of Channels
' attribute.
value
- the new value of the 'Number Of Channels' attribute.getNumberOfChannels()
java.lang.Long getSampleRate()
If the meaning of the 'Sample Rate' attribute isn't clear, there really should be more of a description here...
setSampleRate(Long)
,
WavPackage.getChunkFormat_SampleRate()
void setSampleRate(java.lang.Long value)
Sample Rate
' attribute.
value
- the new value of the 'Sample Rate' attribute.getSampleRate()
java.lang.Long getAverageBytesPerSecond()
If the meaning of the 'Average Bytes Per Second' attribute isn't clear, there really should be more of a description here...
setAverageBytesPerSecond(Long)
,
WavPackage.getChunkFormat_AverageBytesPerSecond()
void setAverageBytesPerSecond(java.lang.Long value)
Average Bytes Per Second
' attribute.
value
- the new value of the 'Average Bytes Per Second' attribute.getAverageBytesPerSecond()
java.lang.Integer getBlockAlign()
If the meaning of the 'Block Align' attribute isn't clear, there really should be more of a description here...
setBlockAlign(Integer)
,
WavPackage.getChunkFormat_BlockAlign()
void setBlockAlign(java.lang.Integer value)
Block Align
' attribute.
value
- the new value of the 'Block Align' attribute.getBlockAlign()
java.lang.Integer getSignificantBitsPerSample()
If the meaning of the 'Significant Bits Per Sample' attribute isn't clear, there really should be more of a description here...
setSignificantBitsPerSample(Integer)
,
WavPackage.getChunkFormat_SignificantBitsPerSample()
void setSignificantBitsPerSample(java.lang.Integer value)
Significant Bits Per Sample
' attribute.
value
- the new value of the 'Significant Bits Per Sample' attribute.getSignificantBitsPerSample()
java.lang.Integer getNumberOfExtraFormatBytes()
If the meaning of the 'Number Of Extra Format Bytes' attribute isn't clear, there really should be more of a description here...
WavPackage.getChunkFormat_NumberOfExtraFormatBytes()
byte[] getExtraFormatBytes()
If the meaning of the 'Extra Format Bytes' attribute isn't clear, there really should be more of a description here...
setExtraFormatBytes(byte[])
,
WavPackage.getChunkFormat_ExtraFormatBytes()
void setExtraFormatBytes(byte[] value)
Extra Format Bytes
' attribute.
value
- the new value of the 'Extra Format Bytes' attribute.getExtraFormatBytes()