Home
last modified time | relevance | path

Searched refs:cblk (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/libmedia/
DAudioRecord.cpp288 audio_track_cblk_t* cblk = mCblk; in start() local
293 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 …]
DAudioTrack.cpp384 audio_track_cblk_t* cblk = mCblk; in start() local
389 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 …]
DIAudioRecord.cpp70 sp<IMemory> cblk; in getCblk() local
74 cblk = interface_cast<IMemory>(reply.readStrongBinder()); in getCblk()
76 return cblk; in getCblk()
DIEffect.cpp115 sp<IMemory> cblk; in getCblk() local
119 cblk = interface_cast<IMemory>(reply.readStrongBinder()); in getCblk()
121 return cblk; in getCblk()
DAudioEffect.cpp98 sp<IMemory> cblk; in set() local
141 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()
DIAudioTrack.cpp55 sp<IMemory> cblk; in getCblk() local
59 cblk = interface_cast<IMemory>(reply.readStrongBinder()); in getCblk()
61 return cblk; in getCblk()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp3098 audio_track_cblk_t* cblk = track->cblk(); in prepareTracks_l() local
3122 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() local
3755 uint32_t vlr = cblk->getVolumeLR(); in prepareTracks_l()
4068 if (outputTrack->cblk() != NULL) { in addOutputTrack()
[all …]
DAudioFlinger.h400 audio_track_cblk_t* cblk() const { return mCblk; } in cblk() function
/frameworks/av/include/media/
DAudioRecord.h350 status_t restoreRecord_l(audio_track_cblk_t*& cblk);
DAudioTrack.h496 status_t restoreTrack_l(audio_track_cblk_t*& cblk, bool fromStart);