changeset 57:b5be746a0d74 pygar svn.58

[svn r58] removed throttle in main
author punk
date Mon, 10 May 2010 12:17:52 -0400
parents 4449e17a2237
children 52f9a257c2ba
files modules/bluespec/Pygar/core/AudioCoreSystem.cpp
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
     1.1 --- a/modules/bluespec/Pygar/core/AudioCoreSystem.cpp	Sun May 09 23:12:15 2010 -0400
     1.2 +++ b/modules/bluespec/Pygar/core/AudioCoreSystem.cpp	Mon May 10 12:17:52 2010 -0400
     1.3 @@ -36,9 +36,10 @@
     1.4    sem_init(&throttle, 0, 64);
     1.5  
     1.6    // enable stats 
     1.7 -  STATS_DEVICE_SERVER_CLASS::GetInstance()->SetupStats();
     1.8 +  // STATS_DEVICE_SERVER_CLASS::GetInstance()->SetupStats();
     1.9  }
    1.10  
    1.11 +//This isn't called.
    1.12  void
    1.13  CONNECTED_APPLICATION_CLASS::UpdateSemaphore()
    1.14  {
    1.15 @@ -82,7 +83,6 @@
    1.16  
    1.17    // Convert input wav to pcm
    1.18   
    1.19 -
    1.20    //rlm: for now we are going to going to just have 2 files with "common names"
    1.21  
    1.22    generate_pcm("input.wav","input.pcm");
    1.23 @@ -99,7 +99,7 @@
    1.24  
    1.25    int count = 0;
    1.26  
    1.27 -  printf("main:PROCESSOR about to enter loop %d\n", count);  
    1.28 +  printf("main:samples about to start sending %d\n", count);  
    1.29  
    1.30    //rlm: here we read both files. later refactor into a function.
    1.31    // also, this will terminate when the FIRST file reaches its end.
    1.32 @@ -120,7 +120,6 @@
    1.33       if(count%1000 == 0)
    1.34       printf("main: %d\n", count);
    1.35       count++;
    1.36 -     sem_wait(&throttle);
    1.37      
    1.38      //rlm: two files.
    1.39      // clientStub->SendUnprocessedStream( Data,(UINT32)sample);