> From: Samuel Greear 
> Date: Mon, 17 Sep 2001 17:49:21 -0600
> 
> I've read that that libmp3lame is supposed to be reentrant, does
> this mean that one should be able to encode a single mp3 in
> parallel?   Are there any issues that one needs to be aware of
> in doing so?
> 
> A frontend I've been toying with: ...
> http://evilcode.net/dklame/threaded.c
> 
> Any hints appreciated.
> 

Does that code work?  It looks ok at first glance.  

Latest reports are that lame is thread safe and can do what you are
trying.  The only issue seems to be that at least on one system, the
default stack size for a thread was 128K, which is not enough for
LAME.  Default stack size in linux (glibc 2.1) for pthreads is 2M,
which should be large enough for LAME.


Mark
--
MP3 ENCODER mailing list archive is at:
http://www.mail-archive.com/mp3encoder%40minnie.cs.adfa.edu.au/

Reply via email to