# HG changeset patch # User Giulio Moro # Date 1455378933 0 # Node ID 0183185cab1bd2c42cbcacca470c7dbf16ea264d # Parent a94c8e0f4ec768468bc321bdd3fadbb8bc8465e5 Removed obsolete Scope class diff -r a94c8e0f4ec7 -r 0183185cab1b core/NetworkSend.cpp --- a/core/NetworkSend.cpp Sat Feb 13 05:00:02 2016 +0000 +++ b/core/NetworkSend.cpp Sat Feb 13 15:55:33 2016 +0000 @@ -240,7 +240,7 @@ // auto duration2 = std::chrono::duration_cast( t2 - t1 ).count(); // if(duration2>0) // std::cout << "Duration is: " << duration2 <<". Whole loop is: " << duration1 << "\n"; - sleep(1); + usleep(1000); } #else threadRunning=true; @@ -251,44 +251,3 @@ threadRunning=false; #endif } -#ifdef USE_JUCE -#else -Scope::Scope(int aNumChannels): - channels(aNumChannels) -{}; -Scope::~Scope(){}; - -void Scope::log(int channel, float value){ - if(channel>=getNumChannels()) //TODO: assert this - return; - channels[channel].log(value); -} - -void Scope::setup(){ - setup(44100, 9999, "127.0.0.1"); -} - -void Scope::setup(float sampleRate, int aPort, const char* aServer){ - for(int n=0; n