void Entity::mProcessAll() { //Processing external inputs and all internal operators for (mainDataType i = FirstExtInputPos; i < _nextOperatorId; i++) { mProcess(i); } //Processing external outputs //static const unsigned short rex = ExternalOutputsCount - 1; for (mainDataType i = 0; i < ExternalOutputsCount;) { mainDataType nextI = i + 1;// external output if (_chmanager->GetCorrectAnswer(i) != GetInputValue(nextI, FirstContact)) { //_chmanager->ReportFailure(); _incorrectAnswersCount++; return; } i = nextI; } //_chmanager->ReportSuccess(); _correctAnswersCount++; }
void METH(process)(t_sword * inbuf, t_sword * outbuf, t_uint16 size) { int i; while (mVolData.new_config) { volctrl_set_new_config(&mVolData); } ASSERT(mProcess != 0); mProcess(inbuf, outbuf, size); // Update attributes for getConfig OMX command ATTR(gGLL)= mVolData.current_gaindB[GLL]+VOLCTRL_OFFSET_GAIN; ATTR(gGRR)= mVolData.current_gaindB[GRR]+VOLCTRL_OFFSET_GAIN; ATTR(gTimeLeft) = mVolData.current_duration[GLL]; ATTR(gTimeRight) = mVolData.current_duration[GRR]; for(i=0;i<MAX_CH;i++){ if(mRampActivated[i]){ if(mVolData.nb_smooth_iter[i] == 0){ // Ramp terminated mRampActivated[i] = 0; // Communication with proxy proxy.eventHandler(OMX_DSP_EventIndexSettingChanged,i, 0x1); } } } }
void Entity::mProcessLast() { mProcess(_nextOperatorId - 1); }
void VstWrap::processReplacing (float **inputs, float **outputs, long numSamples) { mProcess(mProcessParent, inputs,outputs,numSamples,10); }