public class OpusInfo extends HighLevelOggStreamPacket implements OpusPacket, OggAudioInfoHeader
MAGIC_HEADER_BYTES, MAGIC_HEADER_STR, MAGIC_TAGS_BYTES, MAGIC_TAGS_STR| Modifier and Type | Method and Description |
|---|---|
byte[] |
getChannelMapping() |
byte |
getChannelMappingFamily() |
int |
getMajorVersion() |
int |
getMinorVersion() |
int |
getNumChannels() |
int |
getOutputGain() |
int |
getPreSkip() |
long |
getRate() |
int |
getSampleRate() |
byte |
getStreamCount() |
byte |
getTwoChannelStreamCount() |
byte |
getVersion() |
String |
getVersionString() |
void |
setNumChannels(int channels) |
void |
setOutputGain(int outputGain) |
void |
setPreSkip(int preSkip) |
void |
setSampleRate(long rate) |
OggPacket |
write() |
getData, getOggOverheadSize, getOggPacket, setDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetData, getOggOverheadSize, setDatapublic OpusInfo()
public OpusInfo(OggPacket pkt)
public OggPacket write()
write in interface OggStreamPacketwrite in class HighLevelOggStreamPacketpublic byte getVersion()
public int getMajorVersion()
public int getMinorVersion()
public String getVersionString()
getVersionString in interface OggAudioInfoHeaderpublic int getNumChannels()
getNumChannels in interface OggAudioInfoHeaderpublic void setNumChannels(int channels)
public int getPreSkip()
getPreSkip in interface OggAudioInfoHeaderpublic void setPreSkip(int preSkip)
public long getRate()
public int getSampleRate()
getSampleRate in interface OggAudioInfoHeaderpublic void setSampleRate(long rate)
public int getOutputGain()
public void setOutputGain(int outputGain)
public byte getChannelMappingFamily()
public byte getStreamCount()
public byte getTwoChannelStreamCount()
public byte[] getChannelMapping()
Copyright © 2021. All rights reserved.