Lines Matching refs:cblk
1713 audio_track_cblk_t* cblk = track->cblk(); in prepareTracks_l() local
1718 if (cblk->framesReady() && track->isReady() && in prepareTracks_l()
1748 } else if (cblk->server != 0) { in prepareTracks_l()
1778 vl = (uint32_t)(v * cblk->volume[0]) << 12; in prepareTracks_l()
1779 vr = (uint32_t)(v * cblk->volume[1]) << 12; in prepareTracks_l()
1781 va = (uint32_t)(v * cblk->sendLevel); in prepareTracks_l()
1833 (void *)(cblk->sampleRate)); in prepareTracks_l()
1860 cblk->flags |= CBLK_DISABLED_ON; in prepareTracks_l()
2230 audio_track_cblk_t* cblk = track->cblk(); in threadLoop() local
2234 if (cblk->framesReady() && track->isReady() && in threadLoop()
2247 } else if (cblk->server != 0) { in threadLoop()
2263 float v_clamped = v * cblk->volume[0]; in threadLoop()
2266 v_clamped = v * cblk->volume[1]; in threadLoop()
2689 if (outputTrack->cblk() != NULL) { in addOutputTrack()
2850 audio_track_cblk_t* cblk = this->cblk(); in step() local
2852 result = cblk->stepServer(mFrameCount); in step()
2861 audio_track_cblk_t* cblk = this->cblk(); in reset() local
2863 cblk->user = 0; in reset()
2864 cblk->server = 0; in reset()
2865 cblk->userBase = 0; in reset()
2866 cblk->serverBase = 0; in reset()
2885 audio_track_cblk_t* cblk = this->cblk(); in getBuffer() local
2886 int8_t *bufferStart = (int8_t *)mBuffer + (offset-cblk->serverBase)*cblk->frameSize; in getBuffer()
2887 int8_t *bufferEnd = bufferStart + frames * cblk->frameSize; in getBuffer()
2891 ((unsigned long)bufferStart & (unsigned long)(cblk->frameSize - 1))) { in getBuffer()
2895 cblk->server, cblk->serverBase, cblk->user, cblk->userBase, cblk->channelCount); in getBuffer()
3002 audio_track_cblk_t* cblk = this->cblk(); in getNextBuffer() local
3013 framesReady = cblk->framesReady(); in getNextBuffer()
3016 uint32_t s = cblk->server; in getNextBuffer()
3017 uint32_t bufferEnd = cblk->serverBase + cblk->frameCount; in getNextBuffer()
3019 bufferEnd = (cblk->loopEnd < bufferEnd) ? cblk->loopEnd : bufferEnd; in getNextBuffer()
3242 audio_track_cblk_t* cblk = this->cblk(); in getNextBuffer() local
3253 framesAvail = cblk->framesAvailable_l(); in getNextBuffer()
3256 uint32_t s = cblk->server; in getNextBuffer()
3257 uint32_t bufferEnd = cblk->serverBase + cblk->frameCount; in getNextBuffer()
3492 audio_track_cblk_t* cblk = mCblk; in obtainBuffer() local
3498 uint32_t framesAvail = cblk->framesAvailable(); in obtainBuffer()
3502 Mutex::Autolock _l(cblk->lock); in obtainBuffer()
3510 result = cblk->cv.waitRelative(cblk->lock, milliseconds(waitTimeMs)); in obtainBuffer()
3516 framesAvail = cblk->framesAvailable_l(); in obtainBuffer()
3528 uint32_t u = cblk->user; in obtainBuffer()
3529 uint32_t bufferEnd = cblk->userBase + cblk->frameCount; in obtainBuffer()
3536 buffer->raw = (void *)cblk->buffer(u); in obtainBuffer()