/frameworks/av/media/libmedia/ |
H A D | AudioTrackShared.cpp | 37 Proxy::Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, argument 39 : mCblk(cblk), mBuffers(buffers), mFrameCount(frameCount), mFrameSize(frameSize), 47 ClientProxy::ClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, argument 49 : Proxy(cblk, buffers, frameCount, frameSize, isOut, clientInServer), mEpoch(0) 94 audio_track_cblk_t* cblk = mCblk; local 102 int32_t flags = android_atomic_and(~CBLK_INTERRUPT, &cblk->mFlags); 127 front = android_atomic_acquire_load(&cblk->u.mStreaming.mFront); 128 rear = cblk->u.mStreaming.mRear; 131 rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear); 132 front = cblk 282 audio_track_cblk_t* cblk = mCblk; local 295 audio_track_cblk_t* cblk = mCblk; local 305 audio_track_cblk_t* cblk = mCblk; local 314 audio_track_cblk_t* cblk = mCblk; local 320 audio_track_cblk_t* cblk = mCblk; local 360 audio_track_cblk_t* cblk = mCblk; local 464 StaticAudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize) argument 502 ServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, bool isOut, bool clientInServer) argument 516 audio_track_cblk_t* cblk = mCblk; local 610 audio_track_cblk_t* cblk = mCblk; local 655 audio_track_cblk_t* cblk = mCblk; local 696 StaticAudioTrackServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize) argument 817 audio_track_cblk_t* cblk = mCblk; local [all...] |
H A D | IAudioRecord.cpp | 48 sp<IMemory> cblk; local 52 cblk = interface_cast<IMemory>(reply.readStrongBinder()); 54 return cblk;
|
H A D | IEffect.cpp | 115 sp<IMemory> cblk; local 119 cblk = interface_cast<IMemory>(reply.readStrongBinder()); 121 return cblk;
|
H A D | AudioTrack.cpp | 993 audio_track_cblk_t* cblk = static_cast<audio_track_cblk_t*>(iMem->pointer()); local 994 mCblk = cblk; 995 size_t temp = cblk->frameCount_; 1045 buffers = (char*)cblk + sizeof(audio_track_cblk_t); 1063 mProxy = new AudioTrackClientProxy(cblk, buffers, frameCount, mFrameSizeAF); 1065 mStaticProxy = new StaticAudioTrackClientProxy(cblk, buffers, frameCount, mFrameSizeAF); 1204 audio_track_cblk_t* cblk = mCblk; local 1205 if (android_atomic_and(~CBLK_DISABLED, &cblk->mFlags) & CBLK_DISABLED) { 1275 // while we are accessing the cblk 1283 audio_track_cblk_t* cblk local 1310 audio_track_cblk_t* cblk = mCblk; local [all...] |
H A D | AudioEffect.cpp | 98 sp<IMemory> cblk; local 141 cblk = iEffect->getCblk(); 142 if (cblk == 0) { 149 mCblkMemory = cblk; 150 mCblk = static_cast<effect_param_cblk_t*>(cblk->pointer());
|
H A D | IAudioTrack.cpp | 58 sp<IMemory> cblk; local 62 cblk = interface_cast<IMemory>(reply.readStrongBinder()); 64 return cblk;
|
H A D | AudioRecord.cpp | 499 audio_track_cblk_t* cblk = static_cast<audio_track_cblk_t*>(iMemPointer); local 500 mCblk = cblk; 522 void *buffers = (char*)cblk + sizeof(audio_track_cblk_t); 525 mProxy = new AudioRecordClientProxy(cblk, buffers, mFrameCount, mFrameSize);
|
/frameworks/av/include/private/media/ |
H A 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, argument 272 : ClientProxy(cblk, buffers, frameCount, frameSize, true /*isOut*/, 308 StaticAudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, 336 AudioRecordClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, argument 338 : ClientProxy(cblk, buffers, frameCount, frameSize, 348 ServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, 388 int32_t mFlush; // our copy of cblk->u.mStreaming.mFlush, for streaming output only 394 AudioTrackServerProxy(audio_track_cblk_t* cblk, voi argument 458 AudioRecordServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize) argument [all...] |
/frameworks/av/services/audioflinger/ |
H A D | TrackBase.h | 56 audio_track_cblk_t* cblk() const { return mCblk; } function in class:TrackBase
|
H A D | Tracks.cpp | 951 audio_track_cblk_t* cblk = mCblk; local 952 android_atomic_or(CBLK_INVALID, &cblk->mFlags); 953 android_atomic_release_store(0x40000000, &cblk->mFutex); 955 (void) __futex_syscall3(&cblk->mFutex, FUTEX_WAKE, INT_MAX); 1838 audio_track_cblk_t* cblk = mCblk; local 1839 android_atomic_or(CBLK_INVALID, &cblk->mFlags); 1840 android_atomic_release_store(0x40000000, &cblk->mFutex); 1842 (void) __futex_syscall3(&cblk->mFutex, FUTEX_WAKE, INT_MAX);
|
H A D | Threads.cpp | 3009 audio_track_cblk_t* cblk = track->cblk(); local 3027 // because cblk->framesReady() will include these frames 3032 ALOG_ASSERT(desiredFrames <= cblk->frameCount_); 3051 ALOGVV("track %d s=%08x [OK] on thread %p", name, cblk->mServer, this); 3081 } else if (cblk->mServer != 0) { 3214 ALOGVV("track %d s=%08x [NOT READY] on thread %p", name, cblk->mServer, this); 3237 android_atomic_or(CBLK_DISABLED, &cblk->mFlags); 3549 audio_track_cblk_t* cblk = track->cblk(); local 3608 audio_track_cblk_t* cblk = track->cblk(); local 3978 audio_track_cblk_t* cblk = track->cblk(); local [all...] |