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 OggAudioHeaders
public OggStreamIdentifier.OggStreamType getType()
getType
in interface OggAudioHeaders
public OggAudioInfoHeader getInfo()
getInfo
in interface OggAudioHeaders
public OggAudioTagsHeader getTags()
getTags
in interface OggAudioHeaders
public OggAudioSetupHeader getSetup()
getSetup
in interface OggAudioHeaders
Copyright © 2015. All rights reserved.