Discussion:
[mad-user] [help] support multiple instance of libmad
Sangwoon Chung
2004-12-08 02:12:16 UTC
Permalink
Hello there,

I'm trying to decoding and playing multiple mp3 files in a time using libmad.
But it does not seem to support multiple instance of libmad.

I really want to know the libmad support multiple instance ?
If not, please let me know how and what should I customize libmad source
to support multiple instance.

I'll appreciate any Help,


P.S Sorry for posting this articel for mad-dev list...

Thanks a lot,
Sangwoon

***@rtsolutions.co.kr
Rob Leslie
2004-12-08 09:13:23 UTC
Permalink
Post by Sangwoon Chung
P.S Sorry for posting this articel for mad-dev list...
Actually, mad-dev was the correct list. You just needed to subscribe.
[Note Reply-To: header.]
Post by Sangwoon Chung
I'm trying to decodingĀ and playing multiple mp3 files in a time using
libmad. But it does not seem to support multiple instance of libmad.
I really want to know the libmad support multiple instance ?
If not, please let me know how and what should I customize libmad
source to support multiple instance.
Yes, libmad supports multiple decoding instances. Simply allocate
separate struct mad_stream, struct mad_frame, and struct mad_synth
structures
if you are using the low-level API, or separate struct mad_decoder
structures if using the high-level API.
--
Rob Leslie
***@mars.org
Loading...