Searched refs:sharedBuffer (Results 1 - 9 of 9) sorted by relevance

/frameworks/av/media/libmedia/
H A DAudioTrack.cpp120 0 /*sharedBuffer*/, false /*threadCanCallJava*/, sessionId);
142 0 /*sharedBuffer*/, false /*threadCanCallJava*/, sessionId);
150 const sp<IMemory>& sharedBuffer,
163 sharedBuffer, false /*threadCanCallJava*/, sessionId);
168 ALOGV_IF(mSharedBuffer != 0, "Destructor sharedBuffer: %p", mSharedBuffer->pointer());
196 const sp<IMemory>& sharedBuffer,
201 ALOGV_IF(sharedBuffer != 0, "sharedBuffer: %p, size: %d", sharedBuffer->pointer(), sharedBuffer
145 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, int notificationFrames, int sessionId) argument
186 set( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava, int sessionId) argument
366 sp<IMemory>& AudioTrack::sharedBuffer() function in class:android::AudioTrack
749 createTrack_l( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_output_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output) argument
[all...]
H A DIAudioFlinger.cpp94 const sp<IMemory>& sharedBuffer,
110 data.writeStrongBinder(sharedBuffer->asBinder());
86 createTrack( pid_t pid, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, track_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t tid, int *sessionId, status_t *status) argument
/frameworks/av/include/media/
H A DAudioTrack.h179 * identified by the argument sharedBuffer. This prototype is for static buffer playback.
190 const sp<IMemory>& sharedBuffer = 0,
219 const sp<IMemory>& sharedBuffer = 0,
249 sp<IMemory>& sharedBuffer();
491 const sp<IMemory>& sharedBuffer,
H A DIAudioFlinger.h66 const sp<IMemory>& sharedBuffer,
/frameworks/native/include/utils/
H A DString16.h60 inline const SharedBuffer* sharedBuffer() const;
145 inline const SharedBuffer* String16::sharedBuffer() const function in class:android::String16
H A DString8.h63 inline const SharedBuffer* sharedBuffer() const;
271 inline const SharedBuffer* String8::sharedBuffer() const function in class:android::String8
/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp516 if (track->sharedBuffer() == 0) {
521 if ((size_t)sizeInBytes > track->sharedBuffer()->size()) {
522 sizeInBytes = track->sharedBuffer()->size();
524 memcpy(track->sharedBuffer()->pointer(), data + offsetInBytes, sizeInBytes);
531 if (((size_t)sizeInBytes)*2 > track->sharedBuffer()->size()) {
532 sizeInBytes = track->sharedBuffer()->size() / 2;
535 int16_t *dst = (int16_t *)track->sharedBuffer()->pointer();
/frameworks/av/services/audioflinger/
H A DAudioFlinger.h97 const sp<IMemory>& sharedBuffer,
392 const sp<IMemory>& sharedBuffer,
784 const sp<IMemory>& sharedBuffer,
848 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } function in class:android::AudioFlinger::PlaybackThread::Track
908 const sp<IMemory>& sharedBuffer,
951 const sp<IMemory>& sharedBuffer,
1082 const sp<IMemory>& sharedBuffer,
H A DAudioFlinger.cpp449 const sp<IMemory>& sharedBuffer,
506 channelMask, frameCount, sharedBuffer, lSessionId, flags, tid, &lStatus);
1716 const sp<IMemory>& sharedBuffer,
1736 (sharedBuffer != 0)
1768 ALOGV("AUDIO_OUTPUT_FLAG_FAST denied: isTimed=%d sharedBuffer=%p frameCount=%d "
1771 isTimed, sharedBuffer.get(), frameCount, mFrameCount, format,
1838 channelMask, frameCount, sharedBuffer, sessionId, flags);
1841 channelMask, frameCount, sharedBuffer, sessionId);
2244 if ((track->sharedBuffer() != 0) &&
3005 if (track->sharedBuffer()
441 createTrack( pid_t pid, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, IAudioFlinger::track_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t tid, int *sessionId, status_t *status) argument
1709 createTrack_l( const sp<AudioFlinger::Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId, IAudioFlinger::track_flags_t flags, pid_t tid, status_t *status) argument
4140 TrackBase( ThreadBase *thread, const sp<Client>& client, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId) argument
4314 Track( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId, IAudioFlinger::track_flags_t flags) argument
4854 create( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId) argument
4872 TimedTrack( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, const sp<IMemory>& sharedBuffer, int sessionId) argument
[all...]

Completed in 853 milliseconds