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
swchung@rtsolutions.co.kr
On Dec 7, 2004, at 6:12 PM, Sangwoon Chung wrote:
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.]
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.