Searched refs:cblk (Results 1 – 9 of 9) sorted by relevance
441 sp<IMemory> cblk = record->getCblk(); in openRecord() local442 if (cblk == 0) { in openRecord()449 mCblkMemory = cblk; in openRecord()450 mCblk = static_cast<audio_track_cblk_t*>(cblk->pointer()); in openRecord()462 audio_track_cblk_t* cblk = mCblk; in obtainBuffer() local464 uint32_t waitTimeMs = (waitCount < 0) ? cblk->bufferTimeoutMs : WAIT_PERIOD_MS; in obtainBuffer()469 uint32_t framesReady = cblk->framesReady(); in obtainBuffer()472 cblk->lock.lock(); in obtainBuffer()477 cblk->lock.unlock(); in obtainBuffer()481 cblk->lock.unlock(); in obtainBuffer()[all …]
505 audio_track_cblk_t* cblk = mCblk; in setLoop() local507 Mutex::Autolock _l(cblk->lock); in setLoop()510 cblk->loopStart = UINT_MAX; in setLoop()511 cblk->loopEnd = UINT_MAX; in setLoop()512 cblk->loopCount = 0; in setLoop()518 loopEnd - loopStart > cblk->frameCount) { in setLoop()519 …oopCount %d, framecount %d, user %d", loopStart, loopEnd, loopCount, cblk->frameCount, cblk->user); in setLoop()523 if ((mSharedBuffer != 0) && (loopEnd > cblk->frameCount)) { in setLoop()525 loopStart, loopEnd, cblk->frameCount); in setLoop()529 cblk->loopStart = loopStart; in setLoop()[all …]
68 sp<IMemory> cblk; in getCblk() local72 cblk = interface_cast<IMemory>(reply.readStrongBinder()); in getCblk()74 return cblk; in getCblk()
94 sp<IMemory> cblk; in getCblk() local98 cblk = interface_cast<IMemory>(reply.readStrongBinder()); in getCblk()100 return cblk; in getCblk()
108 sp<IMemory> cblk; in getCblk() local112 cblk = interface_cast<IMemory>(reply.readStrongBinder()); in getCblk()114 return cblk; in getCblk()
99 sp<IMemory> cblk; in set() local149 cblk = iEffect->getCblk(); in set()150 if (cblk == 0) { in set()157 mCblkMemory = cblk; in set()158 mCblk = static_cast<effect_param_cblk_t*>(cblk->pointer()); in set()
223 volatile surface_flinger_cblk_t const * cblk = get_cblk(); in getDisplayInfo() local224 volatile display_cblk_t const * dcblk = cblk->displays + dpy; in getDisplayInfo()240 volatile surface_flinger_cblk_t const * cblk = get_cblk(); in getDisplayWidth() local241 volatile display_cblk_t const * dcblk = cblk->displays + dpy; in getDisplayWidth()249 volatile surface_flinger_cblk_t const * cblk = get_cblk(); in getDisplayHeight() local250 volatile display_cblk_t const * dcblk = cblk->displays + dpy; in getDisplayHeight()258 volatile surface_flinger_cblk_t const * cblk = get_cblk(); in getDisplayOrientation() local259 volatile display_cblk_t const * dcblk = cblk->displays + dpy; in getDisplayOrientation()265 volatile surface_flinger_cblk_t const * cblk = get_cblk(); in getNumberOfDisplays() local266 uint32_t connected = cblk->connected; in getNumberOfDisplays()
1713 audio_track_cblk_t* cblk = track->cblk(); in prepareTracks_l() local1718 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() local2234 if (cblk->framesReady() && track->isReady() && in threadLoop()[all …]
315 audio_track_cblk_t* cblk() const { return mCblk; } in cblk() function