Home
last modified time | relevance | path

Searched refs:sharedBuffer (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/include/media/
DAudioTrack.h258 const sp<IMemory>& sharedBuffer,
307 const sp<IMemory>& sharedBuffer = 0,
382 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } in sharedBuffer() function
DIAudioFlinger.h60 const sp<IMemory>& sharedBuffer,
/frameworks/av/media/libaudioclient/include/media/
DAudioTrack.h258 const sp<IMemory>& sharedBuffer,
307 const sp<IMemory>& sharedBuffer = 0,
382 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } in sharedBuffer() function
DIAudioFlinger.h60 const sp<IMemory>& sharedBuffer,
/frameworks/av/services/audioflinger/
DTracks.cpp371 const sp<IMemory>& sharedBuffer, in Track() argument
378 (sharedBuffer != 0) ? sharedBuffer->pointer() : buffer, in Track()
384 mSharedBuffer(sharedBuffer), in Track()
401 ALOG_ASSERT(!(client == 0 && sharedBuffer != 0)); in Track()
403 ALOGV_IF(sharedBuffer != 0, "sharedBuffer: %p, size: %zu", sharedBuffer->pointer(), in Track()
404 sharedBuffer->size()); in Track()
410 if (sharedBuffer == 0) { in Track()
416 if (sharedBuffer->size() < frameCount * mFrameSize) { in Track()
DPlaybackTracks.h33 const sp<IMemory>& sharedBuffer,
122 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } in sharedBuffer() function
DThreads.cpp1838 const sp<IMemory>& sharedBuffer, in createTrack_l() argument
1884 if (sharedBuffer == 0) { in createTrack_l()
1920 sharedBuffer.get(), frameCount, mFrameCount, format, mFormat, in createTrack_l()
1932 && audio_has_proportional_frames(format) && sharedBuffer == 0) { in createTrack_l()
2025 channelMask, frameCount, NULL, sharedBuffer, in createTrack_l()
2171 track->sharedBuffer() != 0 ? Track::FS_FILLED : Track::FS_FILLING; in addTrack_l()
4115 if (track->sharedBuffer() == 0) { in prepareTracks_l()
4204 track->sharedBuffer() != 0); in prepareTracks_l()
4237 if ((track->sharedBuffer() == 0) && !track->isStopped() && !track->isPausing() && in prepareTracks_l()
4475 if ((track->sharedBuffer() != 0) || track->isTerminated() || in prepareTracks_l()
[all …]
DAudioFlinger.cpp646 const sp<IMemory>& sharedBuffer, in createTrack() argument
699 if (sharedBuffer != 0 && sharedBuffer->pointer() == NULL) { in createTrack()
746 channelMask, frameCount, sharedBuffer, lSessionId, flags, tid, in createTrack()
DAudioFlinger.h122 const sp<IMemory>& sharedBuffer,
DThreads.h710 const sp<IMemory>& sharedBuffer,
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp232 const sp<IMemory>& sharedBuffer, in AudioTrack() argument
255 sharedBuffer, false /*threadCanCallJava*/, sessionId, transferType, offloadInfo, in AudioTrack()
297 const sp<IMemory>& sharedBuffer, in set() argument
317 if (sharedBuffer != 0) { in set()
326 if (cbf == NULL || sharedBuffer != 0) { in set()
333 if (sharedBuffer != 0) { in set()
339 if (sharedBuffer == 0) { in set()
348 mSharedBuffer = sharedBuffer; in set()
352 ALOGV_IF(sharedBuffer != 0, "sharedBuffer: %p, size: %zu", sharedBuffer->pointer(), in set()
353 sharedBuffer->size()); in set()
DIAudioFlinger.cpp105 const sp<IMemory>& sharedBuffer, in createTrack() argument
126 if (sharedBuffer != 0) { in createTrack()
128 data.writeStrongBinder(IInterface::asBinder(sharedBuffer)); in createTrack()
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp633 if (track->sharedBuffer() == 0) { in writeToTrack()
641 if ((size_t)sizeInBytes > track->sharedBuffer()->size()) { in writeToTrack()
642 sizeInBytes = track->sharedBuffer()->size(); in writeToTrack()
644 memcpy(track->sharedBuffer()->pointer(), data + offsetInSamples, sizeInBytes); in writeToTrack()