/frameworks/av/media/libaudioclient/ |
D | AudioTrackShared.cpp | 59 Proxy::Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, in Proxy() argument 61 : mCblk(cblk), mBuffers(buffers), mFrameCount(frameCount), mFrameSize(frameSize), in Proxy() 69 ClientProxy::ClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, in ClientProxy() argument 71 : Proxy(cblk, buffers, frameCount, frameSize, isOut, clientInServer) in ClientProxy() 73 , mTimestampObserver(&cblk->mExtendedTimestampQueue) in ClientProxy() 142 audio_track_cblk_t* cblk = mCblk; in obtainBuffer() local 150 int32_t flags = android_atomic_and(~CBLK_INTERRUPT, &cblk->mFlags); in obtainBuffer() 180 front = android_atomic_acquire_load(&cblk->u.mStreaming.mFront); in obtainBuffer() 181 rear = cblk->u.mStreaming.mRear; in obtainBuffer() 184 rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear); in obtainBuffer() [all …]
|
D | IEffect.cpp | 120 sp<IMemory> cblk; in getCblk() local 124 cblk = interface_cast<IMemory>(reply.readStrongBinder()); in getCblk() 125 if (cblk != 0 && cblk->pointer() == NULL) { in getCblk() 126 cblk.clear(); in getCblk() 129 return cblk; in getCblk()
|
D | IAudioTrack.cpp | 57 sp<IMemory> cblk; in getCblk() local 61 cblk = interface_cast<IMemory>(reply.readStrongBinder()); in getCblk() 62 if (cblk != 0 && cblk->pointer() == NULL) { in getCblk() 63 cblk.clear(); in getCblk() 66 return cblk; in getCblk()
|
D | AudioEffect.cpp | 100 sp<IMemory> cblk; in set() local 151 cblk = iEffect->getCblk(); in set() 152 if (cblk == 0) { in set() 159 mCblkMemory = cblk; in set() 160 mCblk = static_cast<effect_param_cblk_t*>(cblk->pointer()); in set()
|
D | IAudioFlinger.cpp | 191 sp<IMemory>& cblk, in openRecord() argument 218 cblk.clear(); in openRecord() 242 cblk = interface_cast<IMemory>(reply.readStrongBinder()); in openRecord() 243 if (cblk != 0 && cblk->pointer() == NULL) { in openRecord() 244 cblk.clear(); in openRecord() 254 } else if (cblk == 0) { in openRecord() 260 if (record != 0 || cblk != 0 || buffers != 0) { in openRecord() 267 cblk.clear(); in openRecord() 1025 sp<IMemory> cblk; in onTransact() local 1030 pid, tid, clientUid, &sessionId, ¬ificationFrames, cblk, buffers, in onTransact() [all …]
|
D | AudioRecord.cpp | 710 audio_track_cblk_t* cblk = static_cast<audio_track_cblk_t*>(iMemPointer); in openRecord_l() local 717 buffers = cblk + 1; in openRecord_l() 736 mCblk = cblk; in openRecord_l() 772 mProxy = new AudioRecordClientProxy(cblk, buffers, mFrameCount, mFrameSize); in openRecord_l()
|
D | AudioTrack.cpp | 1541 audio_track_cblk_t* cblk = static_cast<audio_track_cblk_t*>(iMemPointer); in createTrack_l() local 1542 mCblk = cblk; in createTrack_l() 1611 buffers = cblk + 1; in createTrack_l() 1637 mProxy = new AudioTrackClientProxy(cblk, buffers, frameCount, mFrameSize); in createTrack_l() 1639 mStaticProxy = new StaticAudioTrackClientProxy(cblk, buffers, frameCount, mFrameSize); in createTrack_l()
|
/frameworks/av/include/private/media/ |
D | AudioTrackShared.h | 205 Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, bool isOut, 238 ClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, 356 AudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, 358 : ClientProxy(cblk, buffers, frameCount, frameSize, true /*isOut*/, in ClientProxy() argument 360 mPlaybackRateMutator(&cblk->mPlaybackRateQueue) { in ClientProxy() 407 StaticAudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, 457 AudioRecordClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, in AudioRecordClientProxy() argument 459 : ClientProxy(cblk, buffers, frameCount, frameSize, in AudioRecordClientProxy() 479 ServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, 550 AudioTrackServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, [all …]
|
/frameworks/av/services/audioflinger/ |
D | FastCapture.cpp | 199 audio_track_cblk_t* cblk = current->mCblk; in onWork() local 200 if (cblk != NULL && framesWritten > 0) { in onWork() 201 int32_t rear = cblk->u.mStreaming.mRear; in onWork() 202 android_atomic_release_store(framesWritten + rear, &cblk->u.mStreaming.mRear); in onWork() 203 cblk->mServer += framesWritten; in onWork() 204 int32_t old = android_atomic_or(CBLK_FUTEX_WAKE, &cblk->mFutex); in onWork() 207 (void) syscall(__NR_futex, &cblk->mFutex, FUTEX_WAKE, 1); in onWork()
|
D | Tracks.cpp | 235 status = cblk() != NULL ? NO_ERROR : NO_MEMORY; in initCheck() 1168 audio_track_cblk_t* cblk = mCblk; in signalClientFlag() local 1169 android_atomic_or(flag, &cblk->mFlags); in signalClientFlag() 1170 android_atomic_release_store(0x40000000, &cblk->mFutex); in signalClientFlag() 1172 (void) syscall(__NR_futex, &cblk->mFutex, FUTEX_WAKE, INT_MAX); in signalClientFlag() 1721 audio_track_cblk_t* cblk = mCblk; in invalidate() local 1722 android_atomic_or(CBLK_INVALID, &cblk->mFlags); in invalidate() 1723 android_atomic_release_store(0x40000000, &cblk->mFutex); in invalidate() 1725 (void) syscall(__NR_futex, &cblk->mFutex, FUTEX_WAKE, INT_MAX); in invalidate()
|
D | TrackBase.h | 78 audio_track_cblk_t* cblk() const { return mCblk; } in cblk() function
|
D | Threads.cpp | 4218 audio_track_cblk_t* cblk = track->cblk(); in prepareTracks_l() local 4266 ALOGVV("track %d s=%08x [OK] on thread %p", name, cblk->mServer, this); in prepareTracks_l() 4301 } else if (cblk->mServer != 0) { in prepareTracks_l() 4497 ALOGVV("track %d s=%08x [NOT READY] on thread %p", name, cblk->mServer, this); in prepareTracks_l() 4939 audio_track_cblk_t* cblk = track->cblk(); in prepareTracks_l() local 4989 ALOGVV("track %d s=%08x [OK]", track->name(), cblk->mServer); in prepareTracks_l() 5489 audio_track_cblk_t* cblk = track->cblk(); in prepareTracks_l() local 5562 ALOGVV("OffloadThread: track %d s=%08x [OK]", track->name(), cblk->mServer); in prepareTracks_l() 5606 ALOGVV("OffloadThread: track %d s=%08x [NOT READY]", track->name(), cblk->mServer); in prepareTracks_l() 6303 audio_track_cblk_t *cblkNew = fastTrack != 0 ? fastTrack->cblk() : NULL; in threadLoop()
|
D | AudioFlinger.h | 145 sp<IMemory>& cblk,
|
D | AudioFlinger.cpp | 1582 sp<IMemory>& cblk, in openRecord() argument 1593 cblk.clear(); in openRecord() 1696 cblk = recordTrack->getCblk(); in openRecord()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioFlinger.h | 88 sp<IMemory>& cblk,
|
/frameworks/av/include/media/ |
D | IAudioFlinger.h | 88 sp<IMemory>& cblk,
|