HydrogenAudio

Lossy Audio Compression => AAC => AAC - General => Topic started by: vindows on 2012-07-03 02:41:49

Title: can faad2 support multiple aac decoder instance
Post by: vindows on 2012-07-03 02:41:49
Hi,

Can faad2 support multiple aac decoder  instance? (That means if I can create multiple decoder and decode several files simultaneously)
Can faac support multiple aac encoder  instance?

Thanks.
Title: can faad2 support multiple aac decoder instance
Post by: saratoga on 2012-07-03 04:30:02
Generally, I don't think decoders support any particular number of instances.  Rather, the operating system and hardware they are run on typically determines that.
Title: can faad2 support multiple aac decoder instance
Post by: skamp on 2012-07-03 09:22:03
I'm not sure I understand the question. Yes, you can launch multiple instances of faad/faac at once, manually, via a script, or whatever.
Title: can faad2 support multiple aac decoder instance
Post by: lvqcl on 2012-07-03 12:43:49
Maybe the question is about thread safety of faac and faad2 DLLs?
Title: can faad2 support multiple aac decoder instance
Post by: Garf on 2012-07-03 13:57:12
As far as I remember FAAD2 at least requires you to allocate all its working memory in a structure and pass it into every function, so it's likely to be thread-safe.