Blame doc/libvorbis/vorbis_synthesis_lapout.html

Packit 06404a
<html>
Packit 06404a
Packit 06404a
<head>
Packit 06404a
<title>libvorbis - function - vorbis_synthesis_lapout</title>
Packit 06404a
<link rel=stylesheet href="style.css" type="text/css">
Packit 06404a
</head>
Packit 06404a
Packit 06404a
<body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
Packit 06404a
Packit 06404a
Packit 06404a

libvorbis documentation

Packit 06404a

libvorbis version 1.3.2 - 20101101

Packit 06404a
Packit 06404a
Packit 06404a
Packit 06404a

vorbis_synthesis_lapout

Packit 06404a
Packit 06404a

declared in "vorbis/codec.h";

Packit 06404a
Packit 06404a

This function retrieves buffers containing decoded audio samples, similarly

Packit 06404a
to vorbis_synthesis_pcmout.
Packit 06404a
However, it includes some extra samples extrapolated from the end of
Packit 06404a
the audio, suitable for crosslapping with other blocks. This exists mainly
Packit 06404a
for libvorbisfile to use for
Packit 06404a
handling chained bitstreams and bitstreams with holes.

Packit 06404a
Packit 06404a
Packit 06404a
Packit 06404a
	
Packit 06404a
Packit 06404a
extern int      vorbis_synthesis_lapout(vorbis_dsp_state *v,float ***pcm);
Packit 06404a
Packit 06404a
	
Packit 06404a
Packit 06404a
Packit 06404a
Packit 06404a

Parameters

Packit 06404a
Packit 06404a
v
Packit 06404a
The vorbis_dsp_state for the
Packit 06404a
decoder instance.
Packit 06404a
pcm
Packit 06404a
A pointer to a float** which will be made to point to an array of
Packit 06404a
pointers to the decoded samples for each channel. The memory is owned
Packit 06404a
by the decoder instance and will be freed when the application continues
Packit 06404a
decoding or destroys the decoder instance. This can be NULL, in which
Packit 06404a
case the return value gives the number of samples that would be returned
Packit 06404a
if this function were called with a non-NULL pointer here.
Packit 06404a
Packit 06404a
Packit 06404a
Packit 06404a

Return Values

Packit 06404a
Packit 06404a
  • The number of samples available in the output buffer.
  • Packit 06404a
  • 0 if no more samples are currently available.
  • Packit 06404a
    Packit 06404a

    Packit 06404a
    Packit 06404a


    Packit 06404a

    Packit 06404a
    Packit 06404a
    Packit 06404a

    copyright © 2010 Xiph.Org

    Packit 06404a

    Ogg Vorbis

    Packit 06404a
    Packit 06404a

    libvorbis documentation

    Packit 06404a

    libvorbis version 1.3.2 - 20101101

    Packit 06404a
    Packit 06404a
    Packit 06404a
    Packit 06404a
    Packit 06404a
    </body>
    Packit 06404a
    Packit 06404a
    </html>