int BASE::configure() { int status = 0; in = new float [RTBUFSAMPS * inputChannels()]; status = alloc_delays(); /* allocates memory for delays */ rvb_reset(m_tapDelay); // resets reverb & tap delay if (status == 0 && m_binaural) { rtcmix_advise(name(), "Running in binaural mode."); status = alloc_firfilters(); // allocates memory for FIRs } return status; }
int MBASE::configure() { int status = 0; in = new float [RTBUFSAMPS * inputChannels()]; status = alloc_delays(); /* allocates memory for delays */ for (int i = 0; i < 2; i++) for (int j = 0; j < 13; j++) m_vectors[i][j].Sig = new double[getBufferSize()]; rvb_reset(m_tapDelay); // resets tap delay if (status == 0 && m_binaural) { rtcmix_advise(name(), "Running in binaural mode."); status = alloc_firfilters(); // allocates memory for FIRs } return status; }