libogg documentation |
libogg release 1.0 - 20000615 |
declared in "ogg/ogg.h";
This function is used to tell the ogg_sync_state struct how many bytes we wrote into the buffer.
The general proceedure is to request a pointer into an internal ogg_sync_state buffer by calling ogg_sync_buffer(). The buffer is then filled up to the requested size with new input, and ogg_sync_wrote() is called to advance the fill pointer by however much data was actually available.
int ogg_sync_wrote(ogg_sync_state *oy, long bytes); |
-1 if the number of bytes written overflows the internal storage of the ogg_sync_state struct. 0 in all other cases.
copyright © 2000 xiph.org |
|
libogg documentation |
libogg release 1.0 - 20000615 |