D for Speech and Signal Processing
ponce
contact at g3mesfrommarsSPAM.fr
Fri Nov 29 09:19:15 PST 2013
On Friday, 29 November 2013 at 16:58:47 UTC, Baz wrote:
> In speech recognition you'll mostly use some frequency-domain
> technics (not to name the fft), so basically if you don't want
> to trigger a GC pass, don't use build-in array and make your
> own array using alloc/malloc/free. For the classes it's the
> same, you can still make your own class allocator/deallocator,
> like specified in the manual (even if they say it's
> deprecated). With user managed classes and array you'll avoid
> most of the GC passes...But it doesn't mean that the most
> important stuff is: not to allocate in the audio buffer loop.
From what I hear, Protools for Mac is especially demanding and
needs no allocation in the audio thread. Some people have
problems merely by acquiring a lock.
More information about the Digitalmars-d
mailing list