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

  /frameworks/av/services/audioflinger/
FastCaptureState.h 38 audio_track_cblk_t *mCblk; // control block for the single fast client, or NULL
Tracks.cpp 81 mCblk(NULL),
124 (mCblk = static_cast<audio_track_cblk_t *>(mCblkMemory->pointer())) == NULL) {
132 mCblk = (audio_track_cblk_t *) new uint8_t[size];
133 // assume mCblk != NULL
137 if (mCblk != NULL) {
138 new(mCblk) audio_track_cblk_t();
167 mBuffer = (char*)mCblk + sizeof(audio_track_cblk_t);
172 mCblk->mFlags = CBLK_FORCEREADY; // FIXME hack, need to fix the track ready logic
224 if (mCblk != NULL) {
226 delete mCblk;
    [all...]
Effects.cpp     [all...]
TrackBase.h 78 audio_track_cblk_t* cblk() const { return mCblk; }
141 audio_track_cblk_t* mCblk;
FastCapture.cpp 198 audio_track_cblk_t* cblk = current->mCblk;
Effects.h 225 effect_param_cblk_t* mCblk; // control block for deferred parameter setting via
Threads.cpp     [all...]
  /frameworks/av/include/private/media/
AudioTrackShared.h 162 audio_track_cblk_t* const mCblk; // the control block
237 return mEpoch + mCblk->mServer;
249 mCblk->mMinimum = (uint32_t) minimum;
282 mCblk->mSendLevel = uint16_t(sendLevel * 0x1000);
287 mCblk->mVolumeLR = volumeLR;
291 mCblk->mSampleRate = sampleRate;
297 return mCblk->u.mStreaming.mUnderrunFrames;
398 mCblk->mSampleRate = sampleRate;
405 uint32_t getSampleRate() const { return mCblk->mSampleRate; }
406 uint16_t getSendLevel_U4_12() const { return mCblk->mSendLevel;
    [all...]
  /frameworks/av/media/libmedia/
AudioEffect.cpp 149 mCblk = static_cast<effect_param_cblk_t*>(cblk->pointer());
151 mCblk->buffer = (uint8_t *)mCblk + bufOffset;
294 Mutex::Autolock _l(mCblk->lock);
299 if (mCblk->clientIndex + size > EFFECT_PARAM_BUFFER_SIZE) {
302 int *p = (int *)(mCblk->buffer + mCblk->clientIndex);
305 mCblk->clientIndex += size;
316 Mutex::Autolock _l(mCblk->lock);
317 if (mCblk->clientIndex == 0)
    [all...]
AudioTrackShared.cpp 45 : mCblk(cblk), mBuffers(buffers), mFrameCount(frameCount), mFrameSize(frameSize),
100 audio_track_cblk_t* cblk = mCblk;
295 audio_track_cblk_t* cblk = mCblk;
308 audio_track_cblk_t* cblk = mCblk;
319 audio_track_cblk_t* cblk = mCblk;
329 audio_track_cblk_t* cblk = mCblk;
335 audio_track_cblk_t* cblk = mCblk;
362 audio_track_cblk_t* cblk = mCblk;
369 return (android_atomic_and(~CBLK_STREAM_END_DONE, &mCblk->mFlags) & CBLK_STREAM_END_DONE) != 0;
373 return (mCblk->mFlags & CBLK_STREAM_END_DONE) != 0
    [all...]
AudioTrack.cpp 473 int32_t flags = android_atomic_and(~CBLK_DISABLED, &mCblk->mFlags);
859 if (mCblk->mFlags & CBLK_INVALID) {
    [all...]
AudioRecord.cpp 285 int32_t flags = android_atomic_acquire_load(&mCblk->mFlags);
536 mCblk = cblk;
780 // Can only reference mCblk while locked
781 int32_t flags = android_atomic_and(~CBLK_OVERRUN, &mCblk->mFlags);
996 // following member variables: mAudioRecord, mCblkMemory, mCblk, mBufferMemory.
    [all...]
  /frameworks/av/include/media/
AudioEffect.h 456 effect_param_cblk_t* mCblk; // control block for deferred parameter setting
AudioRecord.h 505 audio_track_cblk_t* mCblk; // re-load after mLock.unlock()
AudioTrack.h     [all...]

Completed in 301 milliseconds