public class OpusTags extends VorbisStyleComments implements OpusPacket, OggAudioTagsHeader
VorbisComments with an Opus metadata
block header, rather than the usual vorbis one.KEY_ALBUM, KEY_ARTIST, KEY_DATE, KEY_GENRE, KEY_TITLE, KEY_TRACKNUMBERMAGIC_HEADER_BYTES, MAGIC_HEADER_STR, MAGIC_TAGS_BYTES, MAGIC_TAGS_STR| Modifier and Type | Method and Description |
|---|---|
protected int |
getHeaderSize()
8 byte OpusTags
|
protected boolean |
hasFramingBit()
Opus doesn't do the framing bit if the tags are
null padded.
|
protected void |
populateMetadataFooter(OutputStream out) |
protected void |
populateMetadataHeader(byte[] b,
int dataLength)
Magic string
|
addComment, getAlbum, getAllComments, getArtist, getComments, getDate, getGenre, getInt4, getSingleComment, getTitle, getTrackNumber, getTrackNumberNumeric, getVendor, normaliseTag, removeAllComments, removeComments, setComments, setVendor, writegetData, getOggOverheadSize, getOggPacket, setDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAlbum, getAllComments, getArtist, getComments, getDate, getGenre, getTitle, getTrackNumber, getTrackNumberNumeric, getVendorgetData, getOggOverheadSize, setData, writepublic OpusTags(OggPacket packet)
public OpusTags()
protected int getHeaderSize()
getHeaderSize in class VorbisStyleCommentsprotected boolean hasFramingBit()
hasFramingBit in class VorbisStyleCommentsprotected void populateMetadataHeader(byte[] b,
int dataLength)
populateMetadataHeader in class VorbisStyleCommentsprotected void populateMetadataFooter(OutputStream out)
populateMetadataFooter in class VorbisStyleCommentsCopyright © 2021. All rights reserved.