/frameworks/av/services/audioflinger/ |
H A D | PlaybackTracks.h | 33 const sp<IMemory>& sharedBuffer, 105 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } function in class:Track 174 const sp<IMemory>& sharedBuffer, 217 const sp<IMemory>& sharedBuffer,
|
H A D | Tracks.cpp | 382 const sp<IMemory>& sharedBuffer, 388 (sharedBuffer != 0) ? sharedBuffer->pointer() : buffer, 394 mSharedBuffer(sharedBuffer), 411 // client == 0 implies sharedBuffer == 0 412 ALOG_ASSERT(!(client == 0 && sharedBuffer != 0)); 414 ALOGV_IF(sharedBuffer != 0, "sharedBuffer: %p, size: %d", sharedBuffer->pointer(), 415 sharedBuffer 373 Track( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, void *buffer, const sp<IMemory>& sharedBuffer, int sessionId, int uid, IAudioFlinger::track_flags_t flags, track_type type) argument 1132 create( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, const sp<IMemory>& sharedBuffer, int sessionId, int uid) argument 1152 TimedTrack( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, const sp<IMemory>& sharedBuffer, int sessionId, int uid) argument [all...] |
H A D | Threads.cpp | 1357 const sp<IMemory>& sharedBuffer, 1379 (sharedBuffer != 0) 1415 ALOGV("AUDIO_OUTPUT_FLAG_FAST denied: isTimed=%d sharedBuffer=%p frameCount=%d " 1419 isTimed, sharedBuffer.get(), frameCount, mFrameCount, format, mFormat, 1509 channelMask, frameCount, NULL, sharedBuffer, 1513 channelMask, frameCount, sharedBuffer, sessionId, uid); 1649 track->mFillingUpStatus = track->sharedBuffer() != 0 ? Track::FS_FILLED : Track::FS_FILLING; 3284 if (track->sharedBuffer() == 0) { 3402 if ((track->sharedBuffer() == 0) && !track->isStopped() && !track->isPausing() && 3608 if ((track->sharedBuffer() ! 1350 createTrack_l( const sp<AudioFlinger::Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t *pFrameCount, const sp<IMemory>& sharedBuffer, int sessionId, IAudioFlinger::track_flags_t *flags, pid_t tid, int uid, status_t *status) argument [all...] |
H A D | AudioFlinger.cpp | 540 const sp<IMemory>& sharedBuffer, 582 if (sharedBuffer != 0 && sharedBuffer->pointer() == NULL) { 583 ALOGE("createTrack() sharedBuffer is non-0 but has NULL pointer()"); 625 channelMask, frameCount, sharedBuffer, lSessionId, flags, tid, clientUid, &lStatus); 533 createTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t *frameCount, IAudioFlinger::track_flags_t *flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t tid, int *sessionId, int clientUid, status_t *status) argument
|
H A D | AudioFlinger.h | 108 const sp<IMemory>& sharedBuffer,
|
H A D | Threads.h | 535 const sp<IMemory>& sharedBuffer,
|
/frameworks/av/include/media/ |
H A D | AudioTrack.h | 198 * identified by the argument sharedBuffer, which must be non-0. 209 const sp<IMemory>& sharedBuffer, 236 * If sharedBuffer is non-0, the frameCount parameter is ignored and 255 const sp<IMemory>& sharedBuffer = 0, 293 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } function in class:android::AudioTrack
|
H A D | IAudioFlinger.h | 70 const sp<IMemory>& sharedBuffer,
|
/frameworks/base/core/jni/ |
H A D | android_media_AudioTrack.cpp | 519 if (track->sharedBuffer() == 0) { 533 if ((size_t)sizeInBytes > track->sharedBuffer()->size()) { 534 sizeInBytes = track->sharedBuffer()->size(); 536 memcpy(track->sharedBuffer()->pointer(), data + offsetInBytes, sizeInBytes); 545 if (((size_t)sizeInBytes)*2 > track->sharedBuffer()->size()) { 546 sizeInBytes = track->sharedBuffer()->size() / 2; 549 int16_t *dst = (int16_t *)track->sharedBuffer()->pointer();
|
/frameworks/av/media/libmedia/ |
H A D | AudioTrack.cpp | 152 0 /*sharedBuffer*/, false /*threadCanCallJava*/, sessionId, transferType, 161 const sp<IMemory>& sharedBuffer, 180 sharedBuffer, false /*threadCanCallJava*/, sessionId, transferType, offloadInfo, 218 const sp<IMemory>& sharedBuffer, 234 if (sharedBuffer != 0) { 243 if (cbf == NULL || sharedBuffer != 0) { 244 ALOGE("Transfer type TRANSFER_CALLBACK but cbf == NULL || sharedBuffer != 0"); 250 if (sharedBuffer != 0) { 251 ALOGE("Transfer type TRANSFER_OBTAIN but sharedBuffer != 0"); 256 if (sharedBuffer 156 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const sp<IMemory>& sharedBuffer, audio_output_flags_t flags, callback_t cbf, void* user, uint32_t notificationFrames, int sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, int uid, pid_t pid, const audio_attributes_t* pAttributes) argument 208 set( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, audio_output_flags_t flags, callback_t cbf, void* user, uint32_t notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava, int sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, int uid, pid_t pid, const audio_attributes_t* pAttributes) argument [all...] |
H A D | IAudioFlinger.cpp | 101 const sp<IMemory>& sharedBuffer, 120 if (sharedBuffer != 0) { 122 data.writeStrongBinder(sharedBuffer->asBinder()); 94 createTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t *pFrameCount, track_flags_t *flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t tid, int *sessionId, int clientUid, status_t *status) argument
|