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