kronihias / mcfx

multichannel cross plattform audio plug-in suite
GNU General Public License v3.0
81 stars 13 forks source link

Multiprocessing support #10

Closed abhayap closed 1 year ago

abhayap commented 1 year ago

Is there any reason why multiprocessing is disabled? Can I enable and compile? Thanks!

#if 0
    // for now use uniform partitioning and no multithreading
    partitions_.add(new MtxConvSlave());

    int numpartitions = ceil((float)maxsize/blocksize_);

    partitions_.getLast()->Configure(blocksize_, numpartitions, 0, 0, &inbuf_, &outbuf_); // for now no offset and zero priority

    numpartitions_ = 1;

    maxsize_ = maxsize;
kronihias commented 1 year ago

Multithreaded processing is enabled, that's why this part of the code is disabled. I understand it's a bit confusing by just reading this comment.

abhayap commented 1 year ago

Ok got it. Thanks!