Lines Matching refs:mCblk

82         mCblk(NULL),  in TrackBase()
125 (mCblk = static_cast<audio_track_cblk_t *>(mCblkMemory->pointer())) == NULL) { in TrackBase()
133 mCblk = (audio_track_cblk_t *) new uint8_t[size]; in TrackBase()
138 if (mCblk != NULL) { in TrackBase()
139 new(mCblk) audio_track_cblk_t(); in TrackBase()
168 mBuffer = (char*)mCblk + sizeof(audio_track_cblk_t); in TrackBase()
173 mCblk->mFlags = CBLK_FORCEREADY; // FIXME hack, need to fix the track ready logic in TrackBase()
225 if (mCblk != NULL) { in ~TrackBase()
227 delete mCblk; in ~TrackBase()
229 mCblk->~audio_track_cblk_t(); // destroy our shared-structure. in ~TrackBase()
415 if (mCblk == NULL) { in Track()
420 mAudioTrackServerProxy = new AudioTrackServerProxy(mCblk, mBuffer, frameCount, in Track()
423 mAudioTrackServerProxy = new StaticAudioTrackServerProxy(mCblk, mBuffer, frameCount, in Track()
578 mCblk->mServer, in dump()
581 mCblk->mFlags, in dump()
642 (mCblk->mFlags & CBLK_FORCEREADY)) { in isReady()
644 android_atomic_and(~CBLK_FORCEREADY, &mCblk->mFlags); in isReady()
859 android_atomic_and(~CBLK_FORCEREADY, &mCblk->mFlags); in reset()
1031 ALOG_ASSERT(isFastTrack() && (mCblk != NULL)); in getVolumeLR()
1070 audio_track_cblk_t* cblk = mCblk; in invalidate()
1651 if (mCblk != NULL) { in OutputTrack()
1656 mCblk, mBuffer, in OutputTrack()
1660 mClientProxy = new AudioTrackClientProxy(mCblk, mBuffer, mFrameCount, mFrameSize, in OutputTrack()
1834 mProxy(new ClientProxy(mCblk, mBuffer, frameCount, mFrameSize, true, true)) in PatchTrack()
1887 if (android_atomic_and(~CBLK_DISABLED, &mCblk->mFlags) & CBLK_DISABLED) { in releaseBuffer()
1891 android_atomic_or(CBLK_FORCEREADY, &mCblk->mFlags); in releaseBuffer()
1958 if (mCblk == NULL) { in RecordTrack()
1976 mServerProxy = new AudioRecordServerProxy(mCblk, mBuffer, frameCount, in RecordTrack()
2013 (void) android_atomic_or(CBLK_OVERRUN, &mCblk->mFlags); in getNextBuffer()
2064 audio_track_cblk_t* cblk = mCblk; in invalidate()
2086 mCblk->mServer, in dump()
2125 mProxy(new ClientProxy(mCblk, mBuffer, frameCount, mFrameSize, false, true)) in PatchRecord()