Blame doc/libvorbis/vorbis_synthesis_pcmout.html

Packit 06404a
<html>
Packit 06404a
Packit 06404a
<head>
Packit 06404a
<title>libvorbis - function - vorbis_synthesis_pcmout</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_pcmout

Packit 06404a
Packit 06404a

declared in "vorbis/codec.h";

Packit 06404a
Packit 06404a

This function retrieves buffers containing decoded audio samples.

Packit 06404a

The application is not required to make use of all of the samples

Packit 06404a
made available to it by one call to this function before it continues to
Packit 06404a
decode. Use vorbis_synthesis_read
Packit 06404a
to inform the decoder of how many samples were actually used. Any
Packit 06404a
unused samples will be included in the buffers output by the next call
Packit 06404a
to this function.

Packit 06404a
Packit 06404a
Packit 06404a
Packit 06404a
	
Packit 06404a
Packit 06404a
extern int      vorbis_synthesis_pcmout(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>