|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tritonus.lowlevel.pogg.SyncState
public class SyncState
Wrapper for ogg_sync_state.
Constructor Summary | |
---|---|
SyncState()
|
Method Summary | |
---|---|
void |
clear()
Calls ogg_sync_clear(). |
void |
free()
|
void |
init()
Calls ogg_sync_init(). |
int |
pageOut(Page page)
Returns a page from the stream buffer, if possible. |
int |
pageseek(Page page)
Synchronizes the stream. |
void |
reset()
Calls ogg_sync_reset(). |
int |
write(byte[] abBuffer,
int nBytes)
Writes to the stream buffer. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SyncState()
Method Detail |
---|
public void free()
public void init()
public void clear()
public void reset()
public int write(byte[] abBuffer, int nBytes)
public int pageseek(Page page)
page
- The Page to store the result of the page search
in. The content is only changed if the return value is > 0.
public int pageOut(Page page)
page
- The Page to store the result of the page search
in. The content is only changed if the return value is 1.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |