/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 | AudioRecord.cpp | 782 audio_track_cblk_t* cblk; in createRecord_l() local 892 if (output.cblk == 0) { in createRecord_l() 901 iMemPointer = output.cblk ->unsecurePointer(); in createRecord_l() 908 cblk = static_cast<audio_track_cblk_t*>(iMemPointer); in createRecord_l() 915 buffers = cblk + 1; in createRecord_l() 936 mCblkMemory = output.cblk; in createRecord_l() 940 mCblk = cblk; in createRecord_l() 986 mProxy = new AudioRecordClientProxy(cblk, buffers, mFrameCount, mServerFrameSize); in createRecord_l()
|
D | AudioEffect.cpp | 72 sp<IMemory> cblk; in set() local 160 || !convertSharedFileRegionToIMemory(shmem, &cblk) in set() 161 || cblk == 0) { in set() 168 mCblkMemory = cblk; in set() 173 mCblk = static_cast<effect_param_cblk_t*>(cblk->unsecurePointer()); in set()
|
D | IAudioFlinger.cpp | 209 aidl.cblk = VALUE_OR_RETURN(legacy2aidl_NullableIMemory_SharedFileRegion(cblk)); in toAidl() 233 legacy.cblk = VALUE_OR_RETURN(aidl2legacy_NullableSharedFileRegion_IMemory(aidl.cblk)); in fromAidl()
|
D | AudioTrack.cpp | 1948 audio_track_cblk_t* cblk = static_cast<audio_track_cblk_t*>(iMemPointer); in createTrack_l() local 1949 mCblk = cblk; in createTrack_l() 1989 buffers = cblk + 1; in createTrack_l() 2019 mProxy = new AudioTrackClientProxy(cblk, buffers, mFrameCount, mFrameSize); in createTrack_l() 2021 mStaticProxy = new StaticAudioTrackClientProxy(cblk, buffers, mFrameCount, mFrameSize); in createTrack_l()
|
/frameworks/av/include/private/media/ |
D | AudioTrackShared.h | 291 Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, bool isOut, 326 ClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, 447 AudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, 449 : ClientProxy(cblk, buffers, frameCount, frameSize, true /*isOut*/, 451 mPlaybackRateMutator(&cblk->mPlaybackRateQueue) { 504 StaticAudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, 560 AudioRecordClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, 562 : ClientProxy(cblk, buffers, frameCount, frameSize, 582 ServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, 664 AudioTrackServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, [all …]
|
/frameworks/av/services/audioflinger/fastpath/ |
D | FastCapture.cpp | 207 audio_track_cblk_t* cblk = current->mCblk; in onWork() local 215 } else if (cblk != nullptr && framesWritten > 0) { in onWork() 219 const int32_t rear = cblk->u.mStreaming.mRear; in onWork() 220 android_atomic_release_store(framesWritten + rear, &cblk->u.mStreaming.mRear); in onWork() 221 cblk->mServer += framesWritten; in onWork() 222 const int32_t old = android_atomic_or(CBLK_FUTEX_WAKE, &cblk->mFutex); in onWork() 225 (void) syscall(__NR_futex, &cblk->mFutex, FUTEX_WAKE, 1); in onWork()
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | CreateRecordResponse.aidl | 41 @nullable SharedFileRegion cblk;
|
/frameworks/av/services/audioflinger/ |
D | Tracks.cpp | 264 status = cblk() != NULL ? NO_ERROR : NO_MEMORY; in initCheck() 1886 audio_track_cblk_t* cblk = mCblk; in isDisabled() local 1887 return (cblk != nullptr) in isDisabled() 1888 && ((android_atomic_release_load(&cblk->mFlags) & CBLK_DISABLED) != 0); in isDisabled() 1894 audio_track_cblk_t* cblk = mCblk; in signalClientFlag() local 1895 android_atomic_or(flag, &cblk->mFlags); in signalClientFlag() 1896 android_atomic_release_store(0x40000000, &cblk->mFutex); in signalClientFlag() 1898 (void) syscall(__NR_futex, &cblk->mFutex, FUTEX_WAKE, INT_MAX); in signalClientFlag() 2930 audio_track_cblk_t* cblk = mCblk; in invalidate() local 2931 android_atomic_or(CBLK_INVALID, &cblk->mFlags); in invalidate() [all …]
|
D | TrackBase.h | 57 audio_track_cblk_t* cblk() const final { return mCblk; } in cblk() function
|
D | IAfTrack.h | 95 virtual audio_track_cblk_t* cblk() const = 0;
|
D | Threads.cpp | 5841 audio_track_cblk_t* cblk = track->cblk(); in prepareTracks_l() local 5898 ALOGVV("track(%d) s=%08x [OK] on thread %p", trackId, cblk->mServer, this); in prepareTracks_l() 5929 if (cblk->mServer != 0) { in prepareTracks_l() 5936 } else if (cblk->mServer != 0) { in prepareTracks_l() 6178 ALOGVV("track(%d) s=%08x [NOT READY] on thread %p", trackId, cblk->mServer, this); in prepareTracks_l() 6806 audio_track_cblk_t* cblk = track->cblk(); in prepareTracks_l() local 6877 ALOGVV("track(%d) s=%08x [OK]", trackId, cblk->mServer); in prepareTracks_l() 7372 audio_track_cblk_t* cblk = track->cblk(); in prepareTracks_l() local 7452 ALOGVV("OffloadThread: track(%d) s=%08x [OK]", track->id(), cblk->mServer); in prepareTracks_l() 7496 ALOGVV("OffloadThread: track(%d) s=%08x [NOT READY]", track->id(), cblk->mServer); in prepareTracks_l() [all …]
|
D | AudioFlinger.cpp | 2307 output.cblk.clear(); in createRecord() 2455 output.cblk = recordTrack->getCblk(); in createRecord()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioFlinger.h | 172 sp<IMemory> cblk; variable
|