Fixed DspDac not working like the pd dac~

Oh yes, you're right. I deleted it.

2014-11-04 23:33 GMT+01:00 Martin Roth <notifications@github.com>:

> In src/DspDac.cpp:
>
> >      }
> > -    case 1: {
> > -      ArrayArithmetic::add(d->dspBufferAtOutlet[0], d->dspBufferAtInlet[0],
> > -          d->dspBufferAtOutlet[0], 0, toIndex);
> > -      // allow fallthrough
> > +  }
> > +  incomingDspConnections = std::vector<std::list<ObjectLetPair> >(outputBuffers.size());
> > +}
> > +
> > +DspDac::~DspDac() {}
> > +
> > +void DspDac::processDspWithIndex(int fromIndex, int toIndex) {
> > +  if (outputBuffers.size() == 0)
>
> if outputBuffers.size() == 0 then the for loop will do nothing. This if
> is unnecessary!
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/mhroth/ZenGarden/pull/53/files#r19841747>.
>



-- 
SAUVAGEOT Paul-Arthur.
Développeur C \ C++ \ C#.