org.jaudiotagger.audio.ogg
Class OggVorbisTagReader.OggVorbisHeaderSizes
java.lang.Object
org.jaudiotagger.audio.ogg.OggVorbisTagReader.OggVorbisHeaderSizes
- Enclosing class:
- OggVorbisTagReader
public static class OggVorbisTagReader.OggVorbisHeaderSizes
- extends java.lang.Object
Find the length of the raw packet data and the start position of the ogg page header they start in
for the two OggVorbisHeader we need to know about when writing data (sizes included vorbis header)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
commentHeaderStartPosition
private long commentHeaderStartPosition
setupHeaderStartPosition
private long setupHeaderStartPosition
commentHeaderSize
private int commentHeaderSize
setupHeaderSize
private int setupHeaderSize
packetList
private java.util.List<OggPageHeader.PacketStartAndLength> packetList
OggVorbisTagReader.OggVorbisHeaderSizes
OggVorbisTagReader.OggVorbisHeaderSizes(long commentHeaderStartPosition,
long setupHeaderStartPosition,
int commentHeaderSize,
int setupHeaderSize,
java.util.List<OggPageHeader.PacketStartAndLength> packetList)
getCommentHeaderSize
public int getCommentHeaderSize()
- Returns:
- the size of the raw packet data for the vorbis comment header (includes vorbis header)
getSetupHeaderSize
public int getSetupHeaderSize()
- Returns:
- he size of the raw packet data for the vorbis setup header (includes vorbis header)
getExtraPacketDataSize
public int getExtraPacketDataSize()
- Return the size required by all the extra packets on same page as setup header, usually there are
no packets immediately after the setup packet.
- Returns:
- extra data size required for additional packets on same page
getCommentHeaderStartPosition
public long getCommentHeaderStartPosition()
- Returns:
- the start position in the file of the ogg header which contains the start of the Vorbis Comment
getSetupHeaderStartPosition
public long getSetupHeaderStartPosition()
- Returns:
- the start position in the file of the ogg header which contains the start of the Setup Header
getExtraPacketList
public java.util.List<OggPageHeader.PacketStartAndLength> getExtraPacketList()