On Fri, 22 Apr 2005 16:48:32 +0100
Steve Harris <S.W.Harris(a)ecs.soton.ac.uk> wrote:
Doing heavy jobs in the process() callback is fine, as
long as the CPU
load is deterministic. I this case I think it should be.
Yep, the CPU load of the sample rate conversion process of libsamplerate
is pretty close to linearly related to the size of the blocks you are
converting.
The only mallocing etc that is done by libsamplerate is done in
src_new(), the obly freeing if memory is done in src_delete().
Erik
--
+-----------------------------------------------------------+
Erik de Castro Lopo nospam(a)mega-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
The National Multiple Sclerosis Society of America recently started an
advertising campaign with the slogan "MS: It's not a software company".
Seasoned IT professionals will have no trouble telling the two MS's
apart. One is a debilitating and surprisingly widespread affliction
that renders the sufferer barely able to perform the simplest task.
The other is a disease.