Searched defs:sharedBuffer (Results 1 - 8 of 8) sorted by relevance

/frameworks/av/services/audioflinger/
H A DPlaybackTracks.h33 const sp<IMemory>& sharedBuffer,
122 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } function in class:Track
H A DTracks.cpp371 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 DAudioFlinger.cpp646 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 DThreads.cpp1838 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...]
/frameworks/av/include/media/
H A DAudioTrack.h245 * 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
/frameworks/av/media/libaudioclient/include/media/
H A DAudioTrack.h245 * 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
/frameworks/av/media/libaudioclient/
H A DAudioTrack.cpp223 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 DIAudioFlinger.cpp105 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

Completed in 1933 milliseconds