comparison examples/d-box/render.cpp @ 305:b57d76dcc9ae prerelease

Merge
author Giulio Moro <giuliomoro@yahoo.it>
date Fri, 27 May 2016 17:51:34 +0100
parents 421a69d42943
children 3bed6b09223c
comparison
equal deleted inserted replaced
304:d2b7df6b355b 305:b57d76dcc9ae
227 PeakBurst[1].setDecayRate(.5 * context->analogSampleRate); 227 PeakBurst[1].setDecayRate(.5 * context->analogSampleRate);
228 PeakBurst[0].setSustainLevel(0.0); 228 PeakBurst[0].setSustainLevel(0.0);
229 PeakBurst[1].setSustainLevel(0.0); 229 PeakBurst[1].setSustainLevel(0.0);
230 230
231 // Initialise auxiliary tasks 231 // Initialise auxiliary tasks
232 if((gMediumPriorityRender = Bela_createAuxiliaryTask(&render_medium_prio, BEAGLERT_AUDIO_PRIORITY - 10, "dbox-calculation-medium")) == 0) 232 if((gMediumPriorityRender = Bela_createAuxiliaryTask(&render_medium_prio, BELA_AUDIO_PRIORITY - 10, "dbox-calculation-medium")) == 0)
233 return false; 233 return false;
234 if((gLowPriorityRender = Bela_createAuxiliaryTask(&render_low_prio, BEAGLERT_AUDIO_PRIORITY - 15, "dbox-calculation-low")) == 0) 234 if((gLowPriorityRender = Bela_createAuxiliaryTask(&render_low_prio, BELA_AUDIO_PRIORITY - 15, "dbox-calculation-low")) == 0)
235 return false; 235 return false;
236 236
237 return true; 237 return true;
238 } 238 }
239 239