mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 00:23:32 +02:00
dox2-src
help
images
lib-src
FileDialog
expat
ffmpeg
iAVC
id3lib
lib-widget-extra
libflac
libid3tag
liblrdf
libmad
libnyquist
libogg
debian
doc
libogg
ogg
Makefile.am
Makefile.in
bitpacking.html
datastructures.html
decoding.html
encoding.html
general.html
index.html
ogg_packet.html
ogg_packet_clear.html
ogg_page.html
ogg_page_bos.html
ogg_page_checksum_set.html
ogg_page_continued.html
ogg_page_eos.html
ogg_page_granulepos.html
ogg_page_packets.html
ogg_page_pageno.html
ogg_page_serialno.html
ogg_page_version.html
ogg_stream_clear.html
ogg_stream_destroy.html
ogg_stream_eos.html
ogg_stream_flush.html
ogg_stream_init.html
ogg_stream_packetin.html
ogg_stream_packetout.html
ogg_stream_packetpeek.html
ogg_stream_pagein.html
ogg_stream_pageout.html
ogg_stream_reset.html
ogg_stream_reset_serialno.html
ogg_stream_state.html
ogg_sync_buffer.html
ogg_sync_clear.html
ogg_sync_destroy.html
ogg_sync_init.html
ogg_sync_pageout.html
ogg_sync_pageseek.html
ogg_sync_reset.html
ogg_sync_state.html
ogg_sync_wrote.html
oggpack_adv.html
oggpack_adv1.html
oggpack_adv_huff.html
oggpack_bits.html
oggpack_buffer.html
oggpack_bytes.html
oggpack_get_buffer.html
oggpack_look.html
oggpack_look1.html
oggpack_look_huff.html
oggpack_read.html
oggpack_read1.html
oggpack_readinit.html
oggpack_reset.html
oggpack_write.html
oggpack_writealign.html
oggpack_writeclear.html
oggpack_writecopy.html
oggpack_writeinit.html
oggpack_writetrunc.html
overview.html
reference.html
style.css
vorbis_comment.html
vorbis_info.html
vorbisenc
vorbisfile
xml
Makefile.am
Makefile.in
include
macos
macosx
src
win32
AUTHORS
CHANGES
COPYING
Makefile.am
Makefile.in
README
acinclude.m4
compile
config.guess
config.h.in
config.sub
configure
configure.in
depcomp
install-sh
libogg.spec
libogg.spec.in
ltmain.sh
missing
ogg-uninstalled.pc.in
ogg.m4
ogg.pc.in
libraptor
libresample
libsamplerate
libscorealign
libsndfile
libvamp
libvorbis
mod-script-pipe
portaudio
portaudio-v19
portburn
portmidi
portmixer
portsmf
redland
rtaudio
sbsms
slv2
soundtouch
taglib
twolame
Makefile.in
audacity-patches.txt
locale
m4
mac
nyquist
plug-ins
qa
scripts
src
tests
win
LICENSE.txt
Makefile.in
README.txt
audacity.dox
config.guess
config.sub
configure
configure.in
install-sh
todo.txt
68 lines
2.0 KiB
HTML
68 lines
2.0 KiB
HTML
<html>
|
|
|
|
<head>
|
|
<title>libogg - function - ogg_sync_buffer</title>
|
|
<link rel=stylesheet href="style.css" type="text/css">
|
|
</head>
|
|
|
|
<body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
|
|
<table border=0 width=100%>
|
|
<tr>
|
|
<td><p class=tiny>libogg documentation</p></td>
|
|
<td align=right><p class=tiny>libogg release 1.0 - 20000615</p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<h1>ogg_sync_buffer</h1>
|
|
|
|
<p><i>declared in "ogg/ogg.h";</i></p>
|
|
|
|
<p>This function is used to provide a properly-sized buffer for writing.
|
|
<p>Buffer space which has already been returned is cleared, and the buffer is extended as necessary by the size plus some additional bytes. Within the current implementation, an extra 4096 bytes are allocated, but applications should not rely on this additional buffer space.
|
|
<p>The buffer exposed by this function is empty internal storage from the <a href="ogg_sync_state.html">ogg_sync_state</a> struct, beginning at the fill mark within the struct.
|
|
<p>A pointer to this buffer is returned to be used by the calling application.
|
|
|
|
<br><br>
|
|
<table border=0 color=black cellspacing=0 cellpadding=7>
|
|
<tr bgcolor=#cccccc>
|
|
<td>
|
|
<pre><b>
|
|
char *ogg_sync_buffer(ogg_sync_state *oy, long size);
|
|
</b></pre>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<h3>Parameters</h3>
|
|
<dl>
|
|
<dt><i>oy</i></dt>
|
|
<dd>Pointer to a previously declared <a href="ogg_sync_state.html">ogg_sync_state</a> struct.</dd>
|
|
<dt><i>size</i></dt>
|
|
<dd>Size of the desired buffer. The actual size of the buffer returned will be this size plus some extra bytes (currently 4096).
|
|
</dl>
|
|
|
|
|
|
<h3>Return Values</h3>
|
|
<blockquote>
|
|
<li>
|
|
Returns a pointer to the newly allocated buffer.</li>
|
|
</blockquote>
|
|
<p>
|
|
|
|
<br><br>
|
|
<hr noshade>
|
|
<table border=0 width=100%>
|
|
<tr valign=top>
|
|
<td><p class=tiny>copyright © 2000 xiph.org</p></td>
|
|
<td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/index.html">Ogg Vorbis</a><br><a href="mailto:team@xiph.org">team@xiph.org</a></p></td>
|
|
</tr><tr>
|
|
<td><p class=tiny>libogg documentation</p></td>
|
|
<td align=right><p class=tiny>libogg release 1.0 - 20000615</p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|