Lines Matching full:sharedbuffer
69 const sp<IMemory>& sharedBuffer,
104 // client == 0 implies sharedBuffer == 0
105 ALOG_ASSERT(!(client == 0 && sharedBuffer != 0));
107 ALOGV_IF(sharedBuffer != 0, "sharedBuffer: %p, size: %d", sharedBuffer->pointer(),
108 sharedBuffer->size());
112 size_t bufferSize = (sharedBuffer == 0 ? roundup(frameCount) : frameCount) * mFrameSize;
113 if (sharedBuffer == 0) {
138 if (sharedBuffer == 0) {
142 mBuffer = sharedBuffer->pointer();
327 const sp<IMemory>& sharedBuffer,
331 : TrackBase(thread, client, sampleRate, format, channelMask, frameCount, sharedBuffer,
335 mSharedBuffer(sharedBuffer),
350 if (sharedBuffer == 0) {
980 const sp<IMemory>& sharedBuffer,
988 sharedBuffer, sessionId, uid);
999 const sp<IMemory>& sharedBuffer,
1003 frameCount, sharedBuffer, sessionId, uid, IAudioFlinger::TRACK_TIMED),
1762 channelMask, frameCount, 0 /*sharedBuffer*/, sessionId, uid, false /*isOut*/),