Mercurial > pygar
diff modules/bluespec/Pygar/core/AudioCoreSystem.cpp @ 64:bf08daea854e pygar svn.65
[svn r65] compiles but doesn't run
author | punk |
---|---|
date | Mon, 10 May 2010 23:16:14 -0400 |
parents | b5be746a0d74 |
children | cf8bb3038cbd |
line wrap: on
line diff
1.1 --- a/modules/bluespec/Pygar/core/AudioCoreSystem.cpp Mon May 10 22:54:54 2010 -0400 1.2 +++ b/modules/bluespec/Pygar/core/AudioCoreSystem.cpp Mon May 10 23:16:14 2010 -0400 1.3 @@ -19,6 +19,7 @@ 1.4 1.5 clientStub(new AUDIOCORERRR_CLIENT_STUB_CLASS(this)) 1.6 { 1.7 + printf("SendSide Created\n"); 1.8 } 1.9 1.10 // destructor 1.11 @@ -31,18 +32,20 @@ 1.12 CONNECTED_APPLICATION_CLASS::Init() 1.13 { 1.14 1.15 + printf("InitSend Side\n"); 1.16 pthread_mutex_init(&lock, NULL); 1.17 pthread_cond_init(&cond, NULL); 1.18 sem_init(&throttle, 0, 64); 1.19 1.20 // enable stats 1.21 - // STATS_DEVICE_SERVER_CLASS::GetInstance()->SetupStats(); 1.22 + //STATS_DEVICE_SERVER_CLASS::GetInstance()->SetupStats(); 1.23 } 1.24 1.25 //This isn't called. 1.26 void 1.27 CONNECTED_APPLICATION_CLASS::UpdateSemaphore() 1.28 { 1.29 + printf("UpdateSemaphore\n"); 1.30 sem_post(&throttle); 1.31 } 1.32 1.33 @@ -79,6 +82,7 @@ 1.34 1.35 bool coreFin = false; 1.36 1.37 + printf("SendSide Main\n"); 1.38 fflush(stdout); 1.39 1.40 // Convert input wav to pcm