/frameworks/av/include/media/ |
D | AudioTrack.h | 258 const sp<IMemory>& sharedBuffer, 307 const sp<IMemory>& sharedBuffer = 0, 382 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } in sharedBuffer() function
|
D | IAudioFlinger.h | 60 const sp<IMemory>& sharedBuffer,
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioTrack.h | 258 const sp<IMemory>& sharedBuffer, 307 const sp<IMemory>& sharedBuffer = 0, 382 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } in sharedBuffer() function
|
D | IAudioFlinger.h | 60 const sp<IMemory>& sharedBuffer,
|
/frameworks/av/services/audioflinger/ |
D | Tracks.cpp | 371 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()
|
D | PlaybackTracks.h | 33 const sp<IMemory>& sharedBuffer, 122 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } in sharedBuffer() function
|
D | Threads.cpp | 1838 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 …]
|
D | AudioFlinger.cpp | 646 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()
|
D | AudioFlinger.h | 122 const sp<IMemory>& sharedBuffer,
|
D | Threads.h | 710 const sp<IMemory>& sharedBuffer,
|
/frameworks/av/media/libaudioclient/ |
D | AudioTrack.cpp | 232 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()
|
D | IAudioFlinger.cpp | 105 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/ |
D | android_media_AudioTrack.cpp | 633 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()
|