public class OggAudioStreamHeaders extends Object implements OggAudioHeaders
OggAudioStream, allowing for the fact
that they may be interspersed with other streams' data.| Modifier and Type | Method and Description |
|---|---|
static OggAudioStreamHeaders |
create(OggPacket firstPacket)
Identifies the type, and returns a partially filled
OggAudioHeaders for the new stream |
OggStreamAudioData |
createAudio(OggPacket packet)
Creates the Audio Data for a given audio packet
|
protected OggStreamPacket |
createNext(OggPacket packet)
Creates an appropriate high level packet
|
OggAudioInfoHeader |
getInfo() |
OggAudioSetupHeader |
getSetup() |
int |
getSid() |
OggAudioTagsHeader |
getTags() |
OggStreamIdentifier.OggStreamType |
getType() |
boolean |
populate(OggPacket packet)
Populates with the next header
|
public static OggAudioStreamHeaders create(OggPacket firstPacket)
OggAudioHeaders for the new streamprotected OggStreamPacket createNext(OggPacket packet)
public boolean populate(OggPacket packet)
public OggStreamAudioData createAudio(OggPacket packet)
public int getSid()
getSid in interface OggAudioHeaderspublic OggStreamIdentifier.OggStreamType getType()
getType in interface OggAudioHeaderspublic OggAudioInfoHeader getInfo()
getInfo in interface OggAudioHeaderspublic OggAudioTagsHeader getTags()
getTags in interface OggAudioHeaderspublic OggAudioSetupHeader getSetup()
getSetup in interface OggAudioHeadersCopyright © 2021. All rights reserved.