From 740291cf2ae7f360b4ab119746da9ac2ef6611e4 Mon Sep 17 00:00:00 2001 From: claude-bot Date: Mon, 13 Jul 2026 12:40:00 +0000 Subject: Import xiph/ogg @ 36f969bb37559345ee03796ed625a9abd42c6db9 Snapshot for re3/reVC vendoring, per @lzcnt. Source: https://github.com/xiph/ogg (36f969bb37559345ee03796ed625a9abd42c6db9). --- doc/libogg/ogg_sync_wrote.html | 73 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 doc/libogg/ogg_sync_wrote.html (limited to 'doc/libogg/ogg_sync_wrote.html') diff --git a/doc/libogg/ogg_sync_wrote.html b/doc/libogg/ogg_sync_wrote.html new file mode 100644 index 0000000..e2f4ee5 --- /dev/null +++ b/doc/libogg/ogg_sync_wrote.html @@ -0,0 +1,73 @@ + + + +libogg - function - ogg_sync_wrote + + + + + + + + + +

libogg documentation

libogg release 1.3.4 - 20190830

+ +

ogg_sync_wrote

+ +

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 procedure 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);
+
+
+ +

Parameters

+
+
oy
+
Pointer to a previously declared ogg_sync_state struct.
+
bytes
+
Number of bytes of new data written.
+
+ + +

Return Values

+
+
  • -1 if the number of bytes written overflows the internal storage of the ogg_sync_state struct or an internal error occurred. +
  • +0 in all other cases.
  • +
    + + +

    +
    + + + + + + + + +

    copyright © 2000-2019 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.4 - 20190830

    + + + + + -- cgit v1.2.3