comparison examples/01-Basics/sinetone/render.cpp @ 546:db3e1a08cdee prerelease

typo in sinetone
author chnrx <chris.heinrichs@gmail.com>
date Fri, 24 Jun 2016 14:11:32 +0100
parents 8f8809c77dda
children
comparison
equal deleted inserted replaced
543:8f8809c77dda 546:db3e1a08cdee
29 float gInverseSampleRate; 29 float gInverseSampleRate;
30 30
31 bool setup(BelaContext *context, void *userData) 31 bool setup(BelaContext *context, void *userData)
32 { 32 {
33 gInverseSampleRate = 1.0 / context->audioSampleRate; 33 gInverseSampleRate = 1.0 / context->audioSampleRate;
34 gPhase = 0.0;s 34 gPhase = 0.0;
35 35
36 return true; 36 return true;
37 } 37 }
38 38
39 void render(BelaContext *context, void *userData) 39 void render(BelaContext *context, void *userData)