Audio-LibSampleRate

 view release on metacpan or  search on metacpan

libsamplerate/doc/api_full.html  view on Meta::CPAN

139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
</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

178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
<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 )