public class SpeexTags extends VorbisStyleComments implements SpeexPacket, OggAudioTagsHeader
VorbisComments
with an Speex metadata
block header, rather than the usual vorbis one.KEY_ALBUM, KEY_ARTIST, KEY_DATE, KEY_GENRE, KEY_TITLE, KEY_TRACKNUMBER
MAGIC_HEADER_BYTES, MAGIC_HEADER_STR
Constructor and Description |
---|
SpeexTags() |
SpeexTags(OggPacket packet) |
Modifier and Type | Method and Description |
---|---|
protected int |
getHeaderSize()
0 byte header
|
protected boolean |
hasFramingBit()
We think that Speex doesn't do a framing bit if the
tags are null padded
|
protected void |
populateMetadataFooter(OutputStream out) |
protected void |
populateMetadataHeader(byte[] b,
int dataLength)
There is no header on Speex tags
|
addComment, getAlbum, getAllComments, getArtist, getComments, getDate, getGenre, getInt4, getSingleComment, getTitle, getTrackNumber, getTrackNumberNumeric, getVendor, normaliseTag, removeAllComments, removeComments, setComments, setVendor, write
getData, getOggPacket, setData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAlbum, getArtist, getComments, getDate, getGenre, getTitle, getTrackNumber, getTrackNumberNumeric, getVendor
getData, setData, write
public SpeexTags(OggPacket packet)
public SpeexTags()
protected int getHeaderSize()
getHeaderSize
in class VorbisStyleComments
protected boolean hasFramingBit()
hasFramingBit
in class VorbisStyleComments
protected void populateMetadataHeader(byte[] b, int dataLength)
populateMetadataHeader
in class VorbisStyleComments
protected void populateMetadataFooter(OutputStream out)
populateMetadataFooter
in class VorbisStyleComments
Copyright © 2015. All rights reserved.