Mercurial > pygar
comparison modules/bluespec/Pygar/core/AudioCoreSystem.cpp @ 25:220c14f5963c pygar svn.26
[svn r26] Not fully connected but passes audio successfully
author | punk |
---|---|
date | Wed, 28 Apr 2010 12:01:37 -0400 |
parents | 90197e3375e2 |
children | f41eef1bebfc |
comparison
equal
deleted
inserted
replaced
24:3871f3530551 | 25:220c14f5963c |
---|---|
80 while(fread(&sample, 2, 1, inputFile)) { | 80 while(fread(&sample, 2, 1, inputFile)) { |
81 if(count%1000 == 0) | 81 if(count%1000 == 0) |
82 printf("main: %d\n", count); | 82 printf("main: %d\n", count); |
83 count++; | 83 count++; |
84 sem_wait(&throttle); | 84 sem_wait(&throttle); |
85 printf("rlm:sending data to processor (%d)\n", count); | 85 // printf("rlm:sending data to processor (%d)\n", count); |
86 clientStub->SendUnprocessedStream(Data,(UINT32)sample); | 86 clientStub->SendUnprocessedStream(Data,(UINT32)sample); |
87 } | 87 } |
88 | 88 |
89 printf("main: out of loop\n"); | 89 printf("main: out of loop\n"); |
90 | 90 |