Searched refs:mCblk (Results 1 – 12 of 12) sorted by relevance
/frameworks/av/include/private/media/ |
D | AudioTrackShared.h | 153 : mCblk(cblk), mBuffers(buffers), mFrameCount(frameCount), mFrameSize(frameSize) { } in Proxy() 158 return mCblk->buffer(mBuffers, mFrameSize, offset); in buffer() 164 audio_track_cblk_t* const mCblk; // the control block 199 mCblk->mSendLevel = uint16_t(sendLevel * 0x1000); in setSendLevel() 204 mCblk->mVolumeLR = volumeLR; in setVolumeLR() 208 mCblk->mSampleRate = sampleRate; in setSampleRate() 218 return mCblk->stepUser(stepCount, mFrameCount, true /*isOut*/); in stepUser() 223 return mCblk->framesAvailable(mFrameCount, true /*isOut*/); in framesAvailable() 229 return mCblk->framesAvailable_l(mFrameCount, true /*isOut*/); in framesAvailable_l() 245 return mCblk->stepUser(stepCount, mFrameCount, false /*isOut*/); in stepUser() [all …]
|
/frameworks/av/services/audioflinger/ |
D | Tracks.cpp | 75 mCblk(NULL), in TrackBase() 109 mCblk = static_cast<audio_track_cblk_t *>(mCblkMemory->pointer()); in TrackBase() 118 mCblk = (audio_track_cblk_t *) new uint8_t[size]; in TrackBase() 123 if (mCblk != NULL) { in TrackBase() 124 new(mCblk) audio_track_cblk_t(); in TrackBase() 126 mCblk->frameCount_ = frameCount; in TrackBase() 133 mBuffer = (char*)mCblk + sizeof(audio_track_cblk_t); in TrackBase() 137 mCblk->flags = CBLK_UNDERRUN; in TrackBase() 142 mServerProxy = new ServerProxy(mCblk, mBuffer, frameCount, mFrameSize, isOut); in TrackBase() 173 if (mCblk != NULL) { in ~TrackBase() [all …]
|
D | Effects.cpp | 865 mEffect(effect), mEffectClient(effectClient), mClient(client), mCblk(NULL), in EffectHandle() 876 mCblk = static_cast<effect_param_cblk_t *>(mCblkMemory->pointer()); in EffectHandle() 878 if (mCblk != NULL) { in EffectHandle() 879 new(mCblk) effect_param_cblk_t(); in EffectHandle() 880 mBuffer = (uint8_t *)mCblk + bufOffset; in EffectHandle() 990 if (mCblk != NULL) { in disconnect() 992 mCblk->~effect_param_cblk_t(); // destroy our shared-structure. in disconnect() 1026 Mutex::Autolock _l(mCblk->lock); in command() 1027 if (mCblk->clientIndex > EFFECT_PARAM_BUFFER_SIZE || in command() 1028 mCblk->serverIndex > EFFECT_PARAM_BUFFER_SIZE) { in command() [all …]
|
D | TrackBase.h | 55 audio_track_cblk_t* cblk() const { return mCblk; } in cblk() 117 audio_track_cblk_t* mCblk; variable
|
D | Effects.h | 212 effect_param_cblk_t* mCblk; // control block for deferred parameter setting via variable
|
D | Threads.cpp | 2509 android_atomic_or(CBLK_DISABLED, &track->mCblk->flags); in prepareTracks_l()
|
/frameworks/av/media/libmedia/ |
D | AudioEffect.cpp | 150 mCblk = static_cast<effect_param_cblk_t*>(cblk->pointer()); in set() 152 mCblk->buffer = (uint8_t *)mCblk + bufOffset; in set() 287 Mutex::Autolock _l(mCblk->lock); in setParameterDeferred() 292 if (mCblk->clientIndex + size > EFFECT_PARAM_BUFFER_SIZE) { in setParameterDeferred() 295 int *p = (int *)(mCblk->buffer + mCblk->clientIndex); in setParameterDeferred() 298 mCblk->clientIndex += size; in setParameterDeferred() 309 Mutex::Autolock _l(mCblk->lock); in setParameterCommit() 310 if (mCblk->clientIndex == 0) { in setParameterCommit()
|
D | AudioTrack.cpp | 342 audio_track_cblk_t* cblk = mCblk; in start() 400 mCblk->cv.signal(); in stop() 452 mCblk->cv.signal(); in flush_l() 461 mCblk->cv.signal(); in pause() 564 audio_track_cblk_t* cblk = mCblk; in setLoop_l() 659 audio_track_cblk_t* cblk = mCblk; in setPosition() 678 *position = mFlushed ? 0 : mCblk->server; in getPosition() 887 mCblk = cblk; in createTrack_l() 952 audio_track_cblk_t* cblk = mCblk; in obtainBuffer() 993 cblk = mCblk; in obtainBuffer() [all …]
|
D | AudioRecord.cpp | 231 mFrameCount = mCblk->frameCount_; in set() 297 audio_track_cblk_t* cblk = mCblk; in start() 347 mCblk->cv.signal(); in stop() 422 *position = mCblk->user; in getPosition() 478 mCblk = cblk; in openRecord_l() 497 audio_track_cblk_t* cblk = mCblk; in obtainBuffer() 531 cblk = mCblk; in obtainBuffer() 694 audio_track_cblk_t* cblk = mCblk; in processAudioBuffer() 802 newCblk = mCblk; in restoreRecord_l()
|
/frameworks/av/include/media/ |
D | AudioEffect.h | 450 effect_param_cblk_t* mCblk; // control block for deferred parameter setting variable
|
D | AudioRecord.h | 393 audio_track_cblk_t* mCblk; variable
|
D | AudioTrack.h | 547 audio_track_cblk_t* mCblk; // re-load after mLock.unlock() variable
|