/frameworks/av/services/audioflinger/ |
H A D | PlaybackTracks.h | 33 const sp<IMemory>& sharedBuffer, 122 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } function in class:Track
|
H A D | Tracks.cpp | 371 const sp<IMemory>& sharedBuffer, 378 (sharedBuffer != 0) ? sharedBuffer->pointer() : buffer, 384 mSharedBuffer(sharedBuffer), 400 // client == 0 implies sharedBuffer == 0 401 ALOG_ASSERT(!(client == 0 && sharedBuffer != 0)); 403 ALOGV_IF(sharedBuffer != 0, "sharedBuffer: %p, size: %zu", sharedBuffer->pointer(), 404 sharedBuffer 362 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, audio_session_t sessionId, uid_t uid, audio_output_flags_t flags, track_type type, audio_port_handle_t portId) argument [all...] |
H A D | Threads.cpp | 1838 const sp<IMemory>& sharedBuffer, 1884 if (sharedBuffer == 0) { 1916 ALOGV("AUDIO_OUTPUT_FLAG_FAST denied: sharedBuffer=%p frameCount=%zu " 1920 sharedBuffer.get(), frameCount, mFrameCount, format, mFormat, 1932 && audio_has_proportional_frames(format) && sharedBuffer == 0) { 2025 channelMask, frameCount, NULL, sharedBuffer, 2171 track->sharedBuffer() != 0 ? Track::FS_FILLED : Track::FS_FILLING; 4115 if (track->sharedBuffer() == 0) { 4204 track->sharedBuffer() != 0); 4237 if ((track->sharedBuffer() 1831 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, audio_session_t sessionId, audio_output_flags_t *flags, pid_t tid, uid_t uid, status_t *status, audio_port_handle_t portId) argument [all...] |
H A D | AudioFlinger.cpp | 646 const sp<IMemory>& sharedBuffer, 699 if (sharedBuffer != 0 && sharedBuffer->pointer() == NULL) { 700 ALOGE("createTrack() sharedBuffer is non-0 but has NULL pointer()"); 746 channelMask, frameCount, sharedBuffer, lSessionId, flags, tid, 639 createTrack( 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, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t pid, pid_t tid, audio_session_t *sessionId, int clientUid, status_t *status, audio_port_handle_t portId) argument
|
H A D | AudioFlinger.h | 122 const sp<IMemory>& sharedBuffer,
|
H A D | Threads.h | 710 const sp<IMemory>& sharedBuffer,
|
/frameworks/av/include/media/ |
H A D | AudioTrack.h | 245 * identified by the argument sharedBuffer, which should be non-0. 246 * If sharedBuffer is zero, this constructor is equivalent to the previous constructor 258 const sp<IMemory>& sharedBuffer, 288 * If sharedBuffer is non-0, the frameCount parameter is ignored and 307 const sp<IMemory>& sharedBuffer = 0, 382 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } function in class:android::AudioTrack
|
H A D | IAudioFlinger.h | 60 const sp<IMemory>& sharedBuffer,
|
/frameworks/av/media/libaudioclient/include/media/ |
H A D | AudioTrack.h | 245 * identified by the argument sharedBuffer, which should be non-0. 246 * If sharedBuffer is zero, this constructor is equivalent to the previous constructor 258 const sp<IMemory>& sharedBuffer, 288 * If sharedBuffer is non-0, the frameCount parameter is ignored and 307 const sp<IMemory>& sharedBuffer = 0, 382 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } function in class:android::AudioTrack
|
H A D | IAudioFlinger.h | 60 const sp<IMemory>& sharedBuffer,
|
/frameworks/av/media/libaudioclient/ |
H A D | AudioTrack.cpp | 223 0 /*sharedBuffer*/, false /*threadCanCallJava*/, sessionId, transferType, 232 const sp<IMemory>& sharedBuffer, 255 sharedBuffer, false /*threadCanCallJava*/, sessionId, transferType, offloadInfo, 297 const sp<IMemory>& sharedBuffer, 317 if (sharedBuffer != 0) { 326 if (cbf == NULL || sharedBuffer != 0) { 327 ALOGE("Transfer type TRANSFER_CALLBACK but cbf == NULL || sharedBuffer != 0"); 333 if (sharedBuffer != 0) { 334 ALOGE("Transfer type TRANSFER_OBTAIN but sharedBuffer != 0"); 339 if (sharedBuffer 227 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, int32_t notificationFrames, audio_session_t sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, uid_t uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect, float maxRequiredSpeed) argument 287 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, int32_t notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava, audio_session_t sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, uid_t uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect, float maxRequiredSpeed) argument [all...] |
H A D | IAudioFlinger.cpp | 105 const sp<IMemory>& sharedBuffer, 126 if (sharedBuffer != 0) { 128 data.writeStrongBinder(IInterface::asBinder(sharedBuffer)); 98 createTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t *pFrameCount, audio_output_flags_t *flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t pid, pid_t tid, audio_session_t *sessionId, int clientUid, status_t *status, audio_port_handle_t portId) argument
|
/frameworks/base/core/jni/ |
H A D | android_media_AudioTrack.cpp | 633 if (track->sharedBuffer() == 0) { 641 if ((size_t)sizeInBytes > track->sharedBuffer()->size()) { 642 sizeInBytes = track->sharedBuffer()->size(); 644 memcpy(track->sharedBuffer()->pointer(), data + offsetInSamples, sizeInBytes);
|