# HG changeset patch # User punk # Date 1273508272 14400 # Node ID b5be746a0d743ea95edfce0aec89859e4a689300 # Parent 4449e17a22376008bcda762e61cc9384f9f604ec [svn r58] removed throttle in main diff -r 4449e17a2237 -r b5be746a0d74 modules/bluespec/Pygar/core/AudioCoreSystem.cpp --- a/modules/bluespec/Pygar/core/AudioCoreSystem.cpp Sun May 09 23:12:15 2010 -0400 +++ b/modules/bluespec/Pygar/core/AudioCoreSystem.cpp Mon May 10 12:17:52 2010 -0400 @@ -36,9 +36,10 @@ sem_init(&throttle, 0, 64); // enable stats - STATS_DEVICE_SERVER_CLASS::GetInstance()->SetupStats(); + // STATS_DEVICE_SERVER_CLASS::GetInstance()->SetupStats(); } +//This isn't called. void CONNECTED_APPLICATION_CLASS::UpdateSemaphore() { @@ -82,7 +83,6 @@ // Convert input wav to pcm - //rlm: for now we are going to going to just have 2 files with "common names" generate_pcm("input.wav","input.pcm"); @@ -99,7 +99,7 @@ int count = 0; - printf("main:PROCESSOR about to enter loop %d\n", count); + printf("main:samples about to start sending %d\n", count); //rlm: here we read both files. later refactor into a function. // also, this will terminate when the FIRST file reaches its end. @@ -120,7 +120,6 @@ if(count%1000 == 0) printf("main: %d\n", count); count++; - sem_wait(&throttle); //rlm: two files. // clientStub->SendUnprocessedStream( Data,(UINT32)sample);