Mercurial > pygar
changeset 64:bf08daea854e pygar svn.65
[svn r65] compiles but doesn't run
author | punk |
---|---|
date | Mon, 10 May 2010 23:16:14 -0400 |
parents | 1d5cbb5343d2 |
children | cf8bb3038cbd |
files | modules/bluespec/Pygar/core/AudioCoreRRR.cpp modules/bluespec/Pygar/core/AudioCoreSystem.cpp |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
1.1 --- a/modules/bluespec/Pygar/core/AudioCoreRRR.cpp Mon May 10 22:54:54 2010 -0400 1.2 +++ b/modules/bluespec/Pygar/core/AudioCoreRRR.cpp Mon May 10 23:16:14 2010 -0400 1.3 @@ -20,7 +20,7 @@ 1.4 { 1.5 // instantiate stub 1.6 1.7 - printf("rlm: init called\n\n"); 1.8 + printf("ReceiveSide Created\n"); 1.9 outputFile = NULL; 1.10 memory = NULL; 1.11 fflush(stdout);
2.1 --- a/modules/bluespec/Pygar/core/AudioCoreSystem.cpp Mon May 10 22:54:54 2010 -0400 2.2 +++ b/modules/bluespec/Pygar/core/AudioCoreSystem.cpp Mon May 10 23:16:14 2010 -0400 2.3 @@ -19,6 +19,7 @@ 2.4 2.5 clientStub(new AUDIOCORERRR_CLIENT_STUB_CLASS(this)) 2.6 { 2.7 + printf("SendSide Created\n"); 2.8 } 2.9 2.10 // destructor 2.11 @@ -31,18 +32,20 @@ 2.12 CONNECTED_APPLICATION_CLASS::Init() 2.13 { 2.14 2.15 + printf("InitSend Side\n"); 2.16 pthread_mutex_init(&lock, NULL); 2.17 pthread_cond_init(&cond, NULL); 2.18 sem_init(&throttle, 0, 64); 2.19 2.20 // enable stats 2.21 - // STATS_DEVICE_SERVER_CLASS::GetInstance()->SetupStats(); 2.22 + //STATS_DEVICE_SERVER_CLASS::GetInstance()->SetupStats(); 2.23 } 2.24 2.25 //This isn't called. 2.26 void 2.27 CONNECTED_APPLICATION_CLASS::UpdateSemaphore() 2.28 { 2.29 + printf("UpdateSemaphore\n"); 2.30 sem_post(&throttle); 2.31 } 2.32 2.33 @@ -79,6 +82,7 @@ 2.34 2.35 bool coreFin = false; 2.36 2.37 + printf("SendSide Main\n"); 2.38 fflush(stdout); 2.39 2.40 // Convert input wav to pcm