Searched defs:cblk (Results 1 - 13 of 13) sorted by relevance

/frameworks/av/media/libaudioclient/
H A DIEffect.cpp120 sp<IMemory> cblk; local
124 cblk = interface_cast<IMemory>(reply.readStrongBinder());
125 if (cblk != 0 && cblk->pointer() == NULL) {
126 cblk.clear();
129 return cblk;
H A DIAudioTrack.cpp57 sp<IMemory> cblk; local
61 cblk = interface_cast<IMemory>(reply.readStrongBinder());
62 if (cblk != 0 && cblk->pointer() == NULL) {
63 cblk.clear();
66 return cblk;
H A DAudioEffect.cpp100 sp<IMemory> cblk; local
147 cblk = iEffect->getCblk();
148 if (cblk == 0) {
155 mCblkMemory = cblk;
156 mCblk = static_cast<effect_param_cblk_t*>(cblk->pointer());
H A DAudioTrackShared.cpp59 Proxy::Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, argument
61 : mCblk(cblk), mBuffers(buffers), mFrameCount(frameCount), mFrameSize(frameSize),
69 ClientProxy::ClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, argument
71 : Proxy(cblk, buffers, frameCount, frameSize, isOut, clientInServer)
73 , mTimestampObserver(&cblk->mExtendedTimestampQueue)
141 audio_track_cblk_t* cblk = mCblk; local
149 int32_t flags = android_atomic_and(~CBLK_INTERRUPT, &cblk->mFlags);
179 front = android_atomic_acquire_load(&cblk->u.mStreaming.mFront);
180 rear = cblk->u.mStreaming.mRear;
183 rear = android_atomic_acquire_load(&cblk
350 audio_track_cblk_t* cblk = mCblk; local
363 audio_track_cblk_t* cblk = mCblk; local
374 audio_track_cblk_t* cblk = mCblk; local
385 audio_track_cblk_t* cblk = mCblk; local
397 audio_track_cblk_t* cblk = mCblk; local
419 audio_track_cblk_t* cblk = mCblk; local
523 StaticAudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize) argument
615 ServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, bool isOut, bool clientInServer) argument
627 audio_track_cblk_t* cblk = mCblk; local
682 audio_track_cblk_t* cblk = mCblk; local
765 audio_track_cblk_t* cblk = mCblk; local
812 audio_track_cblk_t* cblk = mCblk; local
836 audio_track_cblk_t* cblk = mCblk; local
848 audio_track_cblk_t* cblk = mCblk; local
878 StaticAudioTrackServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize) argument
[all...]
H A DAudioRecord.cpp624 sp<IMemory> iMem; // for cblk
677 audio_track_cblk_t* cblk = static_cast<audio_track_cblk_t*>(iMemPointer); local
684 buffers = cblk + 1;
703 mCblk = cblk;
730 mProxy = new AudioRecordClientProxy(cblk, buffers, mFrameCount, mFrameSize);
H A DAudioTrack.cpp1473 audio_track_cblk_t* cblk = static_cast<audio_track_cblk_t*>(iMemPointer); local
1474 mCblk = cblk;
1534 buffers = cblk + 1;
1555 // reset server position to 0 as we have new cblk.
1561 mProxy = new AudioTrackClientProxy(cblk, buffers, frameCount, mFrameSize);
1563 mStaticProxy = new StaticAudioTrackClientProxy(cblk, buffers, frameCount, mFrameSize);
H A DIAudioFlinger.cpp191 sp<IMemory>& cblk,
218 cblk.clear();
242 cblk = interface_cast<IMemory>(reply.readStrongBinder());
243 if (cblk != 0 && cblk->pointer() == NULL) {
244 cblk.clear();
254 } else if (cblk == 0) {
255 ALOGE("openRecord should have returned a cblk");
260 if (record != 0 || cblk != 0 || buffers != 0) {
261 ALOGE("openRecord returned an IAudioRecord, cblk, "
178 openRecord( audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const String16& opPackageName, size_t *pFrameCount, audio_input_flags_t *flags, pid_t pid, pid_t tid, int clientUid, audio_session_t *sessionId, size_t *notificationFrames, sp<IMemory>& cblk, sp<IMemory>& buffers, status_t *status, audio_port_handle_t portId) argument
1025 sp<IMemory> cblk; local
[all...]
/frameworks/av/services/audioflinger/
H A DFastCapture.cpp199 audio_track_cblk_t* cblk = current->mCblk; local
200 if (cblk != NULL && framesWritten > 0) {
201 int32_t rear = cblk->u.mStreaming.mRear;
202 android_atomic_release_store(framesWritten + rear, &cblk->u.mStreaming.mRear);
203 cblk->mServer += framesWritten;
204 int32_t old = android_atomic_or(CBLK_FUTEX_WAKE, &cblk->mFutex);
207 (void) syscall(__NR_futex, &cblk->mFutex, FUTEX_WAKE, 1);
H A DTrackBase.h77 audio_track_cblk_t* cblk() const { return mCblk; } function in class:TrackBase
H A DTracks.cpp227 status = cblk() != NULL ? NO_ERROR : NO_MEMORY;
1147 audio_track_cblk_t* cblk = mCblk; local
1148 android_atomic_or(flag, &cblk->mFlags);
1149 android_atomic_release_store(0x40000000, &cblk->mFutex);
1151 (void) syscall(__NR_futex, &cblk->mFutex, FUTEX_WAKE, INT_MAX);
1694 audio_track_cblk_t* cblk = mCblk; local
1695 android_atomic_or(CBLK_INVALID, &cblk->mFlags);
1696 android_atomic_release_store(0x40000000, &cblk->mFutex);
1698 (void) syscall(__NR_futex, &cblk->mFutex, FUTEX_WAKE, INT_MAX);
H A DAudioFlinger.cpp1591 sp<IMemory>& cblk,
1602 cblk.clear();
1705 cblk = recordTrack->getCblk();
1578 openRecord( audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const String16& opPackageName, size_t *frameCount, audio_input_flags_t *flags, pid_t pid, pid_t tid, int clientUid, audio_session_t *sessionId, size_t *notificationFrames, sp<IMemory>& cblk, sp<IMemory>& buffers, status_t *status, audio_port_handle_t portId) argument
H A DThreads.cpp4215 audio_track_cblk_t* cblk = track->cblk(); local
4263 ALOGVV("track %d s=%08x [OK] on thread %p", name, cblk->mServer, this);
4297 } else if (cblk->mServer != 0) {
4474 ALOGVV("track %d s=%08x [NOT READY] on thread %p", name, cblk->mServer, this);
4918 audio_track_cblk_t* cblk = track->cblk(); local
4968 ALOGVV("track %d s=%08x [OK]", track->name(), cblk->mServer);
5468 audio_track_cblk_t* cblk = track->cblk(); local
[all...]
/frameworks/av/include/private/media/
H A DAudioTrackShared.h205 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, argument
358 : ClientProxy(cblk, buffers, frameCount, frameSize, true /*isOut*/,
360 mPlaybackRateMutator(&cblk->mPlaybackRateQueue) {
407 StaticAudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount,
457 AudioRecordClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, argument
459 : ClientProxy(cblk, buffers, frameCount, frameSize,
479 ServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize,
527 // cblk
550 AudioTrackServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, bool clientInServer = false, uint32_t sampleRate = 0) argument
652 AudioRecordServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, bool clientInServer) argument
[all...]

Completed in 167 milliseconds