HomeSort by relevance Sort by last modified time
    Searched refs:mCblk (Results 1 - 15 of 15) sorted by null

  /frameworks/av/include/private/media/
AudioTrackShared.h 221 audio_track_cblk_t* const mCblk; // the control block
298 return mEpoch + mCblk->mServer;
310 mCblk->mMinimum = (uint32_t) minimum;
339 // This is a copy of mCblk->mBufferSizeInFrames
370 mCblk->mSendLevel = uint16_t(sendLevel * 0x1000);
375 mCblk->mVolumeLR = volumeLR;
379 mCblk->mSampleRate = sampleRate;
389 return mCblk->u.mStreaming.mUnderrunFrames;
392 return mCblk->u.mStreaming.mUnderrunCount;
467 int32_t rear = android_atomic_acquire_load(&mCblk->u.mStreaming.mRear)
    [all...]
  /frameworks/av/services/audioflinger/
FastCaptureState.h 38 audio_track_cblk_t* mCblk; // control block for the single fast client, or NULL
Tracks.cpp 83 mCblk(NULL),
139 (mCblk = static_cast<audio_track_cblk_t *>(mCblkMemory->pointer())) == NULL) {
146 mCblk = (audio_track_cblk_t *) malloc(size);
147 if (mCblk == NULL) {
154 if (mCblk != NULL) {
155 new(mCblk) audio_track_cblk_t();
184 mBuffer = (char*)mCblk + sizeof(audio_track_cblk_t);
189 mCblk->mFlags = CBLK_FORCEREADY; // FIXME hack, need to fix the track ready logic
241 if (mCblk != NULL) {
242 mCblk->~audio_track_cblk_t(); // destroy our shared-structure
    [all...]
TrackBase.h 77 audio_track_cblk_t* cblk() const { return mCblk; }
144 audio_track_cblk_t* mCblk;
Effects.cpp     [all...]
FastCapture.cpp 199 audio_track_cblk_t* cblk = current->mCblk;
Effects.h 245 effect_param_cblk_t* mCblk; // control block for deferred parameter setting via
Threads.cpp     [all...]
  /frameworks/av/media/libaudioclient/
AudioEffect.cpp 156 mCblk = static_cast<effect_param_cblk_t*>(cblk->pointer());
158 mCblk->buffer = (uint8_t *)mCblk + bufOffset;
300 Mutex::Autolock _l(mCblk->lock);
305 if (mCblk->clientIndex + size > EFFECT_PARAM_BUFFER_SIZE) {
308 int *p = (int *)(mCblk->buffer + mCblk->clientIndex);
311 mCblk->clientIndex += size;
322 Mutex::Autolock _l(mCblk->lock);
323 if (mCblk->clientIndex == 0)
    [all...]
AudioTrackShared.cpp 61 : mCblk(cblk), mBuffers(buffers), mFrameCount(frameCount), mFrameSize(frameSize),
104 android_atomic_release_store(clippedSize, (int32_t *)&mCblk->mBufferSizeInFrames);
141 audio_track_cblk_t* cblk = mCblk;
350 audio_track_cblk_t* cblk = mCblk;
363 audio_track_cblk_t* cblk = mCblk;
374 audio_track_cblk_t* cblk = mCblk;
385 audio_track_cblk_t* cblk = mCblk;
397 audio_track_cblk_t* cblk = mCblk;
407 return (android_atomic_and(~CBLK_STREAM_END_DONE, &mCblk->mFlags) & CBLK_STREAM_END_DONE) != 0;
411 return (mCblk->mFlags & CBLK_STREAM_END_DONE) != 0
    [all...]
AudioTrack.cpp 628 int32_t flags = android_atomic_and(~(CBLK_STREAM_END_DONE | CBLK_DISABLED), &mCblk->mFlags);
    [all...]
AudioRecord.cpp 315 int32_t flags = android_atomic_acquire_load(&mCblk->mFlags);
490 android_atomic_or(CBLK_INVALID, &mCblk->mFlags);
703 mCblk = cblk;
957 // Can only reference mCblk while locked
958 int32_t flags = android_atomic_and(~CBLK_OVERRUN, &mCblk->mFlags);
    [all...]
  /frameworks/av/media/libaudioclient/include/media/
AudioEffect.h 481 effect_param_cblk_t* mCblk; // control block for deferred parameter setting
AudioRecord.h 623 audio_track_cblk_t* mCblk; // re-load after mLock.unlock()
    [all...]
AudioTrack.h     [all...]

Completed in 2199 milliseconds