cwAudioDeviceFile.cpp : Comment out debugging code.
This commit is contained in:
parent
c78f695c31
commit
0622345a8b
@ -473,6 +473,7 @@ namespace cw
|
||||
rc_t _write_cache_output( dev_t* d )
|
||||
{
|
||||
rc_t rc = kOkRC;
|
||||
//sample_t s;
|
||||
|
||||
assert( d->oCacheEnd != nullptr );
|
||||
|
||||
@ -485,6 +486,10 @@ namespace cw
|
||||
memcpy(d->oCacheEnd->buf + d->oCacheEnd->frameIdx * d->oChCnt, d->oPktAudioBuf, d->framesPerCycle * d->oChCnt * sizeof(sample_t));
|
||||
d->oCacheEnd->frameIdx += d->framesPerCycle;
|
||||
|
||||
//s = vop::sum(d->oPktAudioBuf,d->framesPerCycle * d->oChCnt);
|
||||
|
||||
//printf("w:%i %i %f\n",d->oCacheEnd->frameIdx,d->framesPerCycle * d->oChCnt,s);
|
||||
|
||||
errLabel:
|
||||
return rc;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user