On Fri, 22 Apr 2005 16:48:32 +0100
Steve Harris <S.W.Harris@email-addr-hidden> 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@email-addr-hidden-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.Received on Sat Apr 23 00:15:07 2005
This archive was generated by hypermail 2.1.8 : Sat Apr 23 2005 - 00:15:08 EEST