/frameworks/av/media/libmedia/ |
D | AudioTrack.cpp | 124 const sp<IMemory>& sharedBuffer, in AudioTrack() argument 141 sharedBuffer, false /*threadCanCallJava*/, sessionId, transferType, offloadInfo, uid); in AudioTrack() 174 const sp<IMemory>& sharedBuffer, in set() argument 183 if (sharedBuffer != 0) { in set() 192 if (cbf == NULL || sharedBuffer != 0) { in set() 199 if (sharedBuffer != 0) { in set() 205 if (sharedBuffer == 0) { in set() 223 ALOGV_IF(sharedBuffer != 0, "sharedBuffer: %p, size: %d", sharedBuffer->pointer(), in set() 224 sharedBuffer->size()); in set() 267 if (format == AUDIO_FORMAT_PCM_8_BIT && sharedBuffer != 0) { in set() [all …]
|
D | IAudioFlinger.cpp | 94 const sp<IMemory>& sharedBuffer, in createTrack() argument 112 if (sharedBuffer != 0) { in createTrack() 114 data.writeStrongBinder(sharedBuffer->asBinder()); in createTrack()
|
/frameworks/av/services/audioflinger/ |
D | PlaybackTracks.h | 32 const sp<IMemory>& sharedBuffer, 101 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } in sharedBuffer() function 168 const sp<IMemory>& sharedBuffer, 212 const sp<IMemory>& sharedBuffer,
|
D | Tracks.cpp | 69 const sp<IMemory>& sharedBuffer, in TrackBase() argument 105 ALOG_ASSERT(!(client == 0 && sharedBuffer != 0)); in TrackBase() 107 ALOGV_IF(sharedBuffer != 0, "sharedBuffer: %p, size: %d", sharedBuffer->pointer(), in TrackBase() 108 sharedBuffer->size()); in TrackBase() 112 size_t bufferSize = (sharedBuffer == 0 ? roundup(frameCount) : frameCount) * mFrameSize; in TrackBase() 113 if (sharedBuffer == 0) { in TrackBase() 138 if (sharedBuffer == 0) { in TrackBase() 142 mBuffer = sharedBuffer->pointer(); in TrackBase() 327 const sp<IMemory>& sharedBuffer, in Track() argument 331 : TrackBase(thread, client, sampleRate, format, channelMask, frameCount, sharedBuffer, in Track() [all …]
|
D | TrackBase.h | 46 const sp<IMemory>& sharedBuffer,
|
D | Threads.cpp | 1186 const sp<IMemory>& sharedBuffer, in createTrack_l() argument 1207 (sharedBuffer != 0) in createTrack_l() 1242 isTimed, sharedBuffer.get(), frameCount, mFrameCount, format, in createTrack_l() 1324 channelMask, frameCount, sharedBuffer, sessionId, uid, *flags); in createTrack_l() 1327 channelMask, frameCount, sharedBuffer, sessionId, uid); in createTrack_l() 1461 track->mFillingUpStatus = track->sharedBuffer() != 0 ? Track::FS_FILLED : Track::FS_FILLING; in addTrack_l() 2921 if (track->sharedBuffer() == 0) { in prepareTracks_l() 3037 if ((track->sharedBuffer() == 0) && !track->isStopped() && !track->isPausing() && in prepareTracks_l() 3210 if ((track->sharedBuffer() != 0) || track->isTerminated() || in prepareTracks_l() 3614 if ((track->sharedBuffer() == 0) && !track->isStopped() && !track->isPausing()) { in prepareTracks_l() [all …]
|
D | AudioFlinger.h | 107 const sp<IMemory>& sharedBuffer,
|
D | Threads.h | 423 const sp<IMemory>& sharedBuffer,
|
D | AudioFlinger.cpp | 446 const sp<IMemory>& sharedBuffer, in createTrack() argument 515 channelMask, frameCount, sharedBuffer, lSessionId, flags, tid, clientUid, &lStatus); in createTrack()
|
/frameworks/av/include/media/ |
D | AudioTrack.h | 208 const sp<IMemory>& sharedBuffer, 249 const sp<IMemory>& sharedBuffer = 0, 285 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } in sharedBuffer() function 640 const sp<IMemory>& sharedBuffer,
|
D | IAudioFlinger.h | 69 const sp<IMemory>& sharedBuffer,
|
/frameworks/base/core/jni/ |
D | android_media_AudioTrack.cpp | 515 if (track->sharedBuffer() == 0) { in writeToTrack() 524 if ((size_t)sizeInBytes > track->sharedBuffer()->size()) { in writeToTrack() 525 sizeInBytes = track->sharedBuffer()->size(); in writeToTrack() 527 memcpy(track->sharedBuffer()->pointer(), data + offsetInBytes, sizeInBytes); in writeToTrack() 534 if (((size_t)sizeInBytes)*2 > track->sharedBuffer()->size()) { in writeToTrack() 535 sizeInBytes = track->sharedBuffer()->size() / 2; in writeToTrack() 538 int16_t *dst = (int16_t *)track->sharedBuffer()->pointer(); in writeToTrack()
|