/frameworks/av/media/libaudioclient/ |
D | AudioTrackShared.cpp | 78 Proxy::Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, in Proxy() argument 80 : mCblk(cblk), mBuffers(buffers), mFrameCount(frameCount), mFrameSize(frameSize), in Proxy() 108 ClientProxy::ClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, in ClientProxy() argument 110 : Proxy(cblk, buffers, frameCount, frameSize, isOut, clientInServer) in ClientProxy() 112 , mTimestampObserver(&cblk->mExtendedTimestampQueue) in ClientProxy() 181 audio_track_cblk_t* cblk = mCblk; in obtainBuffer() local 189 int32_t flags = android_atomic_and(~CBLK_INTERRUPT, &cblk->mFlags); in obtainBuffer() 219 front = android_atomic_acquire_load(&cblk->u.mStreaming.mFront); in obtainBuffer() 220 rear = cblk->u.mStreaming.mRear; in obtainBuffer() 223 rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear); in obtainBuffer() [all …]
|
D | AudioEffect.cpp | 76 sp<IMemory> cblk; in set() local 161 || !convertSharedFileRegionToIMemory(shmem, &cblk) in set() 162 || cblk == 0) { in set() 169 mCblkMemory = cblk; in set() 174 mCblk = static_cast<effect_param_cblk_t*>(cblk->unsecurePointer()); in set()
|
D | AudioRecord.cpp | 759 audio_track_cblk_t* cblk; in createRecord_l() local 860 if (output.cblk == 0) { in createRecord_l() 869 iMemPointer = output.cblk ->unsecurePointer(); in createRecord_l() 875 cblk = static_cast<audio_track_cblk_t*>(iMemPointer); in createRecord_l() 882 buffers = cblk + 1; in createRecord_l() 902 mCblkMemory = output.cblk; in createRecord_l() 906 mCblk = cblk; in createRecord_l() 948 mProxy = new AudioRecordClientProxy(cblk, buffers, mFrameCount, mFrameSize); in createRecord_l()
|
D | IAudioFlinger.cpp | 188 aidl.cblk = VALUE_OR_RETURN(legacy2aidl_NullableIMemory_SharedFileRegion(cblk)); in toAidl() 208 legacy.cblk = VALUE_OR_RETURN(aidl2legacy_NullableSharedFileRegion_IMemory(aidl.cblk)); in fromAidl()
|
D | AudioTrack.cpp | 1790 audio_track_cblk_t* cblk = static_cast<audio_track_cblk_t*>(iMemPointer); in createTrack_l() local 1791 mCblk = cblk; in createTrack_l() 1828 buffers = cblk + 1; in createTrack_l() 1856 mProxy = new AudioTrackClientProxy(cblk, buffers, mFrameCount, mFrameSize); in createTrack_l() 1858 mStaticProxy = new StaticAudioTrackClientProxy(cblk, buffers, mFrameCount, mFrameSize); in createTrack_l()
|
/frameworks/av/include/private/media/ |
D | AudioTrackShared.h | 208 Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, bool isOut, 243 ClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, 363 AudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, 365 : ClientProxy(cblk, buffers, frameCount, frameSize, true /*isOut*/, in ClientProxy() argument 367 mPlaybackRateMutator(&cblk->mPlaybackRateQueue) { in ClientProxy() 420 StaticAudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, 476 AudioRecordClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, in AudioRecordClientProxy() argument 478 : ClientProxy(cblk, buffers, frameCount, frameSize, in AudioRecordClientProxy() 498 ServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, 580 AudioTrackServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, in AudioTrackServerProxy() argument [all …]
|
/frameworks/av/services/audioflinger/ |
D | FastCapture.cpp | 215 audio_track_cblk_t* cblk = current->mCblk; in onWork() local 223 } else if (cblk != NULL && framesWritten > 0) { in onWork() 227 int32_t rear = cblk->u.mStreaming.mRear; in onWork() 228 android_atomic_release_store(framesWritten + rear, &cblk->u.mStreaming.mRear); in onWork() 229 cblk->mServer += framesWritten; in onWork() 230 int32_t old = android_atomic_or(CBLK_FUTEX_WAKE, &cblk->mFutex); in onWork() 233 (void) syscall(__NR_futex, &cblk->mFutex, FUTEX_WAKE, 1); in onWork()
|
D | Tracks.cpp | 254 status = cblk() != NULL ? NO_ERROR : NO_MEMORY; in initCheck() 1616 audio_track_cblk_t* cblk = mCblk; in signalClientFlag() local 1617 android_atomic_or(flag, &cblk->mFlags); in signalClientFlag() 1618 android_atomic_release_store(0x40000000, &cblk->mFutex); in signalClientFlag() 1620 (void) syscall(__NR_futex, &cblk->mFutex, FUTEX_WAKE, INT_MAX); in signalClientFlag() 2493 audio_track_cblk_t* cblk = mCblk; in invalidate() local 2494 android_atomic_or(CBLK_INVALID, &cblk->mFlags); in invalidate() 2495 android_atomic_release_store(0x40000000, &cblk->mFutex); in invalidate() 2497 (void) syscall(__NR_futex, &cblk->mFutex, FUTEX_WAKE, INT_MAX); in invalidate()
|
D | TrackBase.h | 81 audio_track_cblk_t* cblk() const { return mCblk; } in cblk() function
|
D | Threads.cpp | 5168 audio_track_cblk_t* cblk = track->cblk(); in prepareTracks_l() local 5225 ALOGVV("track(%d) s=%08x [OK] on thread %p", trackId, cblk->mServer, this); in prepareTracks_l() 5256 if (cblk->mServer != 0) { in prepareTracks_l() 5263 } else if (cblk->mServer != 0) { in prepareTracks_l() 5464 ALOGVV("track(%d) s=%08x [NOT READY] on thread %p", trackId, cblk->mServer, this); in prepareTracks_l() 5917 audio_track_cblk_t* cblk = track->cblk(); in prepareTracks_l() local 5988 ALOGVV("track(%d) s=%08x [OK]", trackId, cblk->mServer); in prepareTracks_l() 6455 audio_track_cblk_t* cblk = track->cblk(); in prepareTracks_l() local 6535 ALOGVV("OffloadThread: track(%d) s=%08x [OK]", track->id(), cblk->mServer); in prepareTracks_l() 6579 ALOGVV("OffloadThread: track(%d) s=%08x [NOT READY]", track->id(), cblk->mServer); in prepareTracks_l() [all …]
|
D | AudioFlinger.cpp | 2031 output.cblk.clear(); in createRecord() 2158 output.cblk = recordTrack->getCblk(); in createRecord()
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | CreateRecordResponse.aidl | 40 @nullable SharedFileRegion cblk;
|
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioFlinger.h | 165 sp<IMemory> cblk; variable
|