Mercurial > hg > beaglert
diff projects/scope/render.cpp @ 122:bc514f29c3aa scope-refactoring
ReceiveAudioThread updated to match the newest UdpServer
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Sat, 22 Aug 2015 01:20:55 +0100 |
parents | cdd441a304a9 |
children | 2696a7f00053 |
line wrap: on
line diff
--- a/projects/scope/render.cpp Sat Aug 22 01:20:35 2015 +0100 +++ b/projects/scope/render.cpp Sat Aug 22 01:20:55 2015 +0100 @@ -49,9 +49,10 @@ void render(BeagleRTContext *context, void *userData) { static int count=0; - if(count==0) + if(count==0){ + printf("startHread\n"); ReceiveAudioThread::startThread(); - + } for(unsigned int n = 0; n < context->audioFrames; n++) { float chn0 = sinf(gPhase1);