Searched refs:mCblk (Results 1 – 15 of 15) sorted by relevance
/frameworks/av/include/private/media/ |
D | AudioTrackShared.h | 223 audio_track_cblk_t* const mCblk; // the control block 300 return mEpoch + mCblk->mServer; in getPosition() 312 mCblk->mMinimum = (uint32_t) minimum; in setMinimum() 374 mCblk->mSendLevel = uint16_t(sendLevel * 0x1000); in setSendLevel() 379 mCblk->mVolumeLR = volumeLR; in setVolumeLR() 383 mCblk->mSampleRate = sampleRate; in setSampleRate() 399 return mCblk->u.mStreaming.mUnderrunFrames; in getUnderrunFrames() 402 return mCblk->u.mStreaming.mUnderrunCount; in getUnderrunCount() 483 int32_t rear = android_atomic_acquire_load(&mCblk->u.mStreaming.mRear); in flush() 484 int32_t front = mCblk->u.mStreaming.mFront; in flush() [all …]
|
/frameworks/av/media/libaudioclient/ |
D | AudioTrackShared.cpp | 63 : mCblk(cblk), mBuffers(buffers), mFrameCount(frameCount), mFrameSize(frameSize), in Proxy() 106 android_atomic_release_store(clippedSize, (int32_t *)&mCblk->mBufferSizeInFrames); in setBufferSizeInFrames() 144 audio_track_cblk_t* cblk = mCblk; in obtainBuffer() 357 audio_track_cblk_t* cblk = mCblk; in releaseBuffer() 370 audio_track_cblk_t* cblk = mCblk; in binderDied() 381 audio_track_cblk_t* cblk = mCblk; in interrupt() 392 audio_track_cblk_t* cblk = mCblk; in getMisalignment() 430 const int32_t rearMasked = mCblk->u.mStreaming.mRear & mask; in sendStreamingFlushStop() 435 __builtin_add_overflow(mCblk->u.mStreaming.mStop & ~mask, increment, &stopBits); in sendStreamingFlushStop() 436 android_atomic_release_store(rearMasked | stopBits, &mCblk->u.mStreaming.mStop); in sendStreamingFlushStop() [all …]
|
D | AudioEffect.cpp | 171 mCblk = static_cast<effect_param_cblk_t*>(cblk->pointer()); in set() 173 mCblk->buffer = (uint8_t *)mCblk + bufOffset; in set() 315 Mutex::Autolock _l(mCblk->lock); in setParameterDeferred() 320 if (mCblk->clientIndex + size > EFFECT_PARAM_BUFFER_SIZE) { in setParameterDeferred() 323 int *p = (int *)(mCblk->buffer + mCblk->clientIndex); in setParameterDeferred() 326 mCblk->clientIndex += size; in setParameterDeferred() 337 Mutex::Autolock _l(mCblk->lock); in setParameterCommit() 338 if (mCblk->clientIndex == 0) { in setParameterCommit()
|
D | AudioTrack.cpp | 700 &mCblk->mFlags); in start() 704 int32_t flags = android_atomic_and(~(CBLK_STREAM_END_DONE | CBLK_DISABLED), &mCblk->mFlags); in start() 1239 if (mCblk->mFlags & CBLK_INVALID) { in getPosition() 1305 android_atomic_or(CBLK_INVALID, &mCblk->mFlags); in setOutputDevice() 1527 mCblk = cblk; in createTrack_l() 1771 int32_t flags = android_atomic_and(~CBLK_DISABLED, &mCblk->mFlags); in restartIfDisabled() 1792 &mCblk->mFlags); in write() 1856 LOG_ALWAYS_FATAL_IF(mCblk == NULL); in processAudioBuffer() 1883 ~(CBLK_UNDERRUN | CBLK_LOOP_CYCLE | CBLK_LOOP_FINAL | CBLK_BUFFER_END), &mCblk->mFlags); in processAudioBuffer() 2392 if (mCblk != nullptr) { in restoreTrack_l() [all …]
|
D | AudioRecord.cpp | 402 int32_t flags = android_atomic_acquire_load(&mCblk->mFlags); in start() 624 android_atomic_or(CBLK_INVALID, &mCblk->mFlags); in setInputDevice() 831 mCblk = cblk; in createRecord_l() 1092 int32_t flags = android_atomic_and(~CBLK_OVERRUN, &mCblk->mFlags); in processAudioBuffer() 1354 if (mCblk != nullptr) { in restoreRecord_l() 1355 android_atomic_or(CBLK_INVALID, &mCblk->mFlags); in restoreRecord_l()
|
/frameworks/av/services/audioflinger/ |
D | Tracks.cpp | 87 mCblk(NULL), in TrackBase() 153 (mCblk = static_cast<audio_track_cblk_t *>(mCblkMemory->pointer())) == NULL) { in TrackBase() 160 mCblk = (audio_track_cblk_t *) malloc(size); in TrackBase() 161 if (mCblk == NULL) { in TrackBase() 168 if (mCblk != NULL) { in TrackBase() 169 new(mCblk) audio_track_cblk_t(); in TrackBase() 200 mBuffer = (char*)mCblk + sizeof(audio_track_cblk_t); in TrackBase() 205 mCblk->mFlags = CBLK_FORCEREADY; // FIXME hack, need to fix the track ready logic in TrackBase() 242 if (mCblk != NULL) { in ~TrackBase() 243 mCblk->~audio_track_cblk_t(); // destroy our shared-structure. in ~TrackBase() [all …]
|
D | FastCaptureState.h | 39 audio_track_cblk_t* mCblk; // control block for the single fast client, or NULL member
|
D | Effects.cpp | 1603 mEffect(effect), mEffectClient(effectClient), mClient(client), mCblk(NULL), in EffectHandle() 1614 (mCblk = static_cast<effect_param_cblk_t *>(mCblkMemory->pointer())) == NULL) { in EffectHandle() 1620 new(mCblk) effect_param_cblk_t(); in EffectHandle() 1621 mBuffer = (uint8_t *)mCblk + bufOffset; in EffectHandle() 1729 if (mCblk != NULL) { in disconnect() 1731 mCblk->~effect_param_cblk_t(); // destroy our shared-structure. in disconnect() 1811 Mutex::Autolock _l(mCblk->lock); in command() 1813 const uint32_t clientIndex = mCblk->clientIndex; in command() 1814 const uint32_t serverIndex = mCblk->serverIndex; in command() 1817 mCblk->serverIndex = 0; in command() [all …]
|
D | TrackBase.h | 80 audio_track_cblk_t* cblk() const { return mCblk; } in cblk() 280 audio_track_cblk_t* mCblk; variable
|
D | FastCapture.cpp | 212 audio_track_cblk_t* cblk = current->mCblk; in onWork()
|
D | Effects.h | 383 effect_param_cblk_t* mCblk; // control block for deferred parameter setting via variable
|
D | Threads.cpp | 6817 state->mCblk = NULL; in RecordThread() 7074 audio_track_cblk_t *cblkOld = state->mCblk; in threadLoop() 7077 state->mCblk = cblkNew; in threadLoop()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioEffect.h | 641 effect_param_cblk_t* mCblk; // control block for deferred parameter setting variable
|
D | AudioRecord.h | 697 audio_track_cblk_t* mCblk; // re-load after mLock.unlock() variable
|
D | AudioTrack.h | 1031 audio_track_cblk_t* mCblk; // re-load after mLock.unlock() variable
|