Searched refs:cblk (Results 1 – 10 of 10) sorted by relevance
288 audio_track_cblk_t* cblk = mCblk; in start() local293 cblk->lock.lock(); in start()294 if (!(cblk->flags & CBLK_INVALID_MSK)) { in start()295 cblk->lock.unlock(); in start()298 cblk->lock.lock(); in start()300 android_atomic_or(CBLK_INVALID_ON, &cblk->flags); in start()303 if (cblk->flags & CBLK_INVALID_MSK) { in start()304 ret = restoreRecord_l(cblk); in start()306 cblk->lock.unlock(); in start()308 mNewPosition = cblk->user + mUpdatePeriod; in start()[all …]
384 audio_track_cblk_t* cblk = mCblk; in start() local389 mNewPosition = cblk->server + mUpdatePeriod; in start()390 cblk->lock.lock(); in start()391 cblk->bufferTimeoutMs = MAX_STARTUP_TIMEOUT_MS; in start()392 cblk->waitTimeMs = 0; in start()393 android_atomic_and(~CBLK_DISABLED_ON, &cblk->flags); in start()404 if (!(cblk->flags & CBLK_INVALID_MSK)) { in start()405 cblk->lock.unlock(); in start()408 cblk->lock.lock(); in start()410 android_atomic_or(CBLK_INVALID_ON, &cblk->flags); in start()[all …]
70 sp<IMemory> cblk; in getCblk() local74 cblk = interface_cast<IMemory>(reply.readStrongBinder()); in getCblk()76 return cblk; in getCblk()
115 sp<IMemory> cblk; in getCblk() local119 cblk = interface_cast<IMemory>(reply.readStrongBinder()); in getCblk()121 return cblk; in getCblk()
98 sp<IMemory> cblk; in set() local141 cblk = iEffect->getCblk(); in set()142 if (cblk == 0) { in set()149 mCblkMemory = cblk; in set()150 mCblk = static_cast<effect_param_cblk_t*>(cblk->pointer()); in set()
55 sp<IMemory> cblk; in getCblk() local59 cblk = interface_cast<IMemory>(reply.readStrongBinder()); in getCblk()61 return cblk; in getCblk()
3098 audio_track_cblk_t* cblk = track->cblk(); in prepareTracks_l() local3122 ALOG_ASSERT(minFrames <= cblk->frameCount); in prepareTracks_l()3156 } else if (cblk->server != 0) { in prepareTracks_l()3175 uint32_t vlr = cblk->getVolumeLR(); in prepareTracks_l()3193 uint16_t sendLevel = cblk->getSendLevel_U4_12(); in prepareTracks_l()3243 (void *)(cblk->sampleRate)); in prepareTracks_l()3296 android_atomic_or(CBLK_DISABLED_ON, &cblk->flags); in prepareTracks_l()3721 audio_track_cblk_t* cblk = track->cblk(); in prepareTracks_l() local3755 uint32_t vlr = cblk->getVolumeLR(); in prepareTracks_l()4068 if (outputTrack->cblk() != NULL) { in addOutputTrack()[all …]
400 audio_track_cblk_t* cblk() const { return mCblk; } in cblk() function
350 status_t restoreRecord_l(audio_track_cblk_t*& cblk);
496 status_t restoreTrack_l(audio_track_cblk_t*& cblk, bool fromStart);