Re: [help] support multiple instance of libmad
Rob Leslie <[email protected]> Wed, 8 Dec 2004 01:13:23 -0800
| Newsgroups | gmane.comp.audio.mad.user |
|---|---|
| Message-ID | <[email protected]> |
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.=20 [Note Reply-To: header.] > I'm trying to decoding=A0and playing multiple mp3 files in a time using= =20 > 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=20 > source to support multiple instance. Yes, libmad supports multiple decoding instances. Simply allocate=20 separate struct mad_stream, struct mad_frame, and struct mad_synth=20 structures if you are using the low-level API, or separate struct mad_decoder=20 structures if using the high-level API. --=20 Rob Leslie [email protected]