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 82 mCblk(NULL),
122 (mCblk = static_cast<audio_track_cblk_t *>(mCblkMemory->pointer())) == NULL) {
130 mCblk = (audio_track_cblk_t *) new uint8_t[size];
131 // assume mCblk != NULL
135 if (mCblk != NULL) {
136 new(mCblk) audio_track_cblk_t();
165 mBuffer = (char*)mCblk + sizeof(audio_track_cblk_t);
170 mCblk->mFlags = CBLK_FORCEREADY; // FIXME hack, need to fix the track ready logic
222 if (mCblk != NULL) {
224 delete mCblk;
    [all...]
TrackBase.h 76 audio_track_cblk_t* cblk() const { return mCblk; }
138 audio_track_cblk_t* mCblk;
Effects.cpp     [all...]
FastCapture.cpp 199 audio_track_cblk_t* cblk = current->mCblk;
Effects.h 229 effect_param_cblk_t* mCblk; // control block for deferred parameter setting via
Threads.cpp     [all...]
  /frameworks/av/media/libmedia/
AudioEffect.cpp 154 mCblk = static_cast<effect_param_cblk_t*>(cblk->pointer());
156 mCblk->buffer = (uint8_t *)mCblk + bufOffset;
299 Mutex::Autolock _l(mCblk->lock);
304 if (mCblk->clientIndex + size > EFFECT_PARAM_BUFFER_SIZE) {
307 int *p = (int *)(mCblk->buffer + mCblk->clientIndex);
310 mCblk->clientIndex += size;
321 Mutex::Autolock _l(mCblk->lock);
322 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...]
AudioRecord.cpp 313 int32_t flags = android_atomic_acquire_load(&mCblk->mFlags);
487 android_atomic_or(CBLK_INVALID, &mCblk->mFlags);
687 mCblk = cblk;
941 // Can only reference mCblk while locked
942 int32_t flags = android_atomic_and(~CBLK_OVERRUN, &mCblk->mFlags);
    [all...]
AudioTrack.cpp 602 int32_t flags = android_atomic_and(~CBLK_DISABLED, &mCblk->mFlags);
    [all...]
  /frameworks/av/include/media/
AudioEffect.h 481 effect_param_cblk_t* mCblk; // control block for deferred parameter setting
AudioRecord.h 616 audio_track_cblk_t* mCblk; // re-load after mLock.unlock()
AudioTrack.h     [all...]

Completed in 435 milliseconds