Mercurial > hg > beaglert
comparison examples/d-box/render.cpp @ 303:421a69d42943 prerelease
Changed BeagleRT -> Bela in defines and thread names; some preliminary mux capelet stuff
author | andrewm |
---|---|
date | Fri, 27 May 2016 17:40:44 +0100 |
parents | e4392164b458 |
children | 3bed6b09223c |
comparison
equal
deleted
inserted
replaced
302:b26e7c61e3b6 | 303:421a69d42943 |
---|---|
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 |