/frameworks/av/media/libmedia/ |
D | AudioTrackShared.cpp | 37 Proxy::Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, in Proxy() argument 39 : mCblk(cblk), mBuffers(buffers), mFrameCount(frameCount), mFrameSize(frameSize), in Proxy() 47 ClientProxy::ClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, in ClientProxy() argument 49 : Proxy(cblk, buffers, frameCount, frameSize, isOut, clientInServer), mEpoch(0) in ClientProxy() 94 audio_track_cblk_t* cblk = mCblk; in obtainBuffer() local 102 int32_t flags = android_atomic_and(~CBLK_INTERRUPT, &cblk->mFlags); in obtainBuffer() 127 front = android_atomic_acquire_load(&cblk->u.mStreaming.mFront); in obtainBuffer() 128 rear = cblk->u.mStreaming.mRear; in obtainBuffer() 131 rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear); in obtainBuffer() 132 front = cblk->u.mStreaming.mFront; in obtainBuffer() [all …]
|
D | IAudioRecord.cpp | 48 sp<IMemory> cblk; in getCblk() local 52 cblk = interface_cast<IMemory>(reply.readStrongBinder()); in getCblk() 54 return cblk; in getCblk()
|
D | IEffect.cpp | 115 sp<IMemory> cblk; in getCblk() local 119 cblk = interface_cast<IMemory>(reply.readStrongBinder()); in getCblk() 121 return cblk; in getCblk()
|
D | AudioTrack.cpp | 1026 audio_track_cblk_t* cblk = static_cast<audio_track_cblk_t*>(iMem->pointer()); in createTrack_l() local 1027 mCblk = cblk; in createTrack_l() 1028 size_t temp = cblk->frameCount_; in createTrack_l() 1080 buffers = (char*)cblk + sizeof(audio_track_cblk_t); in createTrack_l() 1098 mProxy = new AudioTrackClientProxy(cblk, buffers, frameCount, mFrameSizeAF); in createTrack_l() 1100 mStaticProxy = new StaticAudioTrackClientProxy(cblk, buffers, frameCount, mFrameSizeAF); in createTrack_l() 1239 audio_track_cblk_t* cblk = mCblk; in releaseBuffer() local 1240 if (android_atomic_and(~CBLK_DISABLED, &cblk->mFlags) & CBLK_DISABLED) { in releaseBuffer() 1318 audio_track_cblk_t* cblk = mCblk; in allocateTimedBuffer() local 1319 if (!(cblk->mFlags & CBLK_INVALID)) { in allocateTimedBuffer() [all …]
|
D | AudioEffect.cpp | 98 sp<IMemory> cblk; in set() local 141 cblk = iEffect->getCblk(); in set() 142 if (cblk == 0) { in set() 149 mCblkMemory = cblk; in set() 150 mCblk = static_cast<effect_param_cblk_t*>(cblk->pointer()); in set()
|
D | IAudioTrack.cpp | 58 sp<IMemory> cblk; in getCblk() local 62 cblk = interface_cast<IMemory>(reply.readStrongBinder()); in getCblk() 64 return cblk; in getCblk()
|
D | AudioRecord.cpp | 499 audio_track_cblk_t* cblk = static_cast<audio_track_cblk_t*>(iMemPointer); in openRecord_l() local 500 mCblk = cblk; in openRecord_l() 522 void *buffers = (char*)cblk + sizeof(audio_track_cblk_t); in openRecord_l() 525 mProxy = new AudioRecordClientProxy(cblk, buffers, mFrameCount, mFrameSize); in openRecord_l()
|
/frameworks/av/include/private/media/ |
D | AudioTrackShared.h | 150 Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, bool isOut, 181 ClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, 270 AudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, 272 : ClientProxy(cblk, buffers, frameCount, frameSize, true /*isOut*/, in ClientProxy() argument 308 StaticAudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, 336 AudioRecordClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, in AudioRecordClientProxy() argument 338 : ClientProxy(cblk, buffers, frameCount, frameSize, in AudioRecordClientProxy() 348 ServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, 394 AudioTrackServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, 396 : ServerProxy(cblk, buffers, frameCount, frameSize, true /*isOut*/, clientInServer) { } in ServerProxy() argument [all …]
|
/frameworks/av/services/audioflinger/ |
D | TrackBase.h | 56 audio_track_cblk_t* cblk() const { return mCblk; } in cblk() function
|
D | Tracks.cpp | 951 audio_track_cblk_t* cblk = mCblk; in invalidate() local 952 android_atomic_or(CBLK_INVALID, &cblk->mFlags); in invalidate() 953 android_atomic_release_store(0x40000000, &cblk->mFutex); in invalidate() 955 (void) __futex_syscall3(&cblk->mFutex, FUTEX_WAKE, INT_MAX); in invalidate() 1838 audio_track_cblk_t* cblk = mCblk; in invalidate() local 1839 android_atomic_or(CBLK_INVALID, &cblk->mFlags); in invalidate() 1840 android_atomic_release_store(0x40000000, &cblk->mFutex); in invalidate() 1842 (void) __futex_syscall3(&cblk->mFutex, FUTEX_WAKE, INT_MAX); in invalidate()
|
D | Threads.cpp | 3011 audio_track_cblk_t* cblk = track->cblk(); in prepareTracks_l() local 3034 ALOG_ASSERT(desiredFrames <= cblk->frameCount_); in prepareTracks_l() 3046 ALOGVV("track %d s=%08x [OK] on thread %p", name, cblk->mServer, this); in prepareTracks_l() 3076 } else if (cblk->mServer != 0) { in prepareTracks_l() 3209 ALOGVV("track %d s=%08x [NOT READY] on thread %p", name, cblk->mServer, this); in prepareTracks_l() 3232 android_atomic_or(CBLK_DISABLED, &cblk->mFlags); in prepareTracks_l() 3544 audio_track_cblk_t* cblk = track->cblk(); in processVolume_l() local 3603 audio_track_cblk_t* cblk = track->cblk(); in prepareTracks_l() local 3623 ALOGVV("track %d s=%08x [OK]", track->name(), cblk->mServer); in prepareTracks_l() 3649 ALOGVV("track %d s=%08x [NOT READY]", track->name(), cblk->mServer); in prepareTracks_l() [all …]
|