Audio-LibSampleRate
view release on metacpan or search on metacpan
libsamplerate/doc/api_full.html view on Meta::CPAN
139140141142143144145146147148149150151152153154155156157158159</P>
<P>
When the <B>src_process</B> function returns <B>output_frames_gen</B> will be
set to the number of output frames generated and <B>input_frames_used</B> will
be set to the number of input frames consumed to generate the provided number of
output frames.
</P>
<P>
The <B>src_process</B> function returns non-zero
if
an error occurs.
The non-zero error
return
value can be decoded into a text string using the function
documented <A HREF=
"api_misc.html#ErrorReporting"
>here</A>.
</P>
<A NAME=
"Reset"
></A>
<H3><BR>Reset</H3>
<PRE>
int
src_reset (SRC_STATE
*state
) ;
</PRE>
<P>
The <B>src_reset</B> function resets the internal state of the sample rate
libsamplerate/doc/api_full.html view on Meta::CPAN
178179180181182183184185186187188189190191192193194195196197198<P>
If the user want to bypass this smooth transition and achieve a step response in
the conversion ratio, the <B>src_set_ratio</B> function can be used to set the
starting conversion ratio of the
next
call to <B>src_process</B> or
<B>src_callback_process</B>.
<p/>
<P>
This function returns non-zero on error and the error
return
value can be
decoded into a text string using the function documented
<A HREF=
"api_misc.html#ErrorReporting"
>here</A>.</P>
<!-- <A HREF=
"mailto:aldel@mega-nerd.com"
>For the spam bots</A> -->
</DIV>
</TD></TR>
</TABLE>
</BODY>
</HTML>
( run in 0.215 second using v1.01-cache-2.11-cpan-0d8aa00de5b )