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

/frameworks/av/include/media/
H A DIAudioFlinger.h73 sharedBuffer = interface_cast<IMemory>(parcel->readStrongBinder());
74 if (sharedBuffer == 0 || sharedBuffer->pointer() == NULL) {
95 if (sharedBuffer != 0) {
97 (void)parcel->writeStrongBinder(IInterface::asBinder(sharedBuffer));
117 sp<IMemory> sharedBuffer; member in class:android::IAudioFlinger::CreateTrackInput
H A DAudioTrack.h249 * identified by the argument sharedBuffer, which should be non-0.
250 * If sharedBuffer is zero, this constructor is equivalent to the previous constructor
262 const sp<IMemory>& sharedBuffer,
292 * If sharedBuffer is non-0, the frameCount parameter is ignored and
311 const sp<IMemory>& sharedBuffer = 0,
387 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } function in class:android::AudioTrack
/frameworks/av/media/libaudioclient/include/media/
H A DIAudioFlinger.h73 sharedBuffer = interface_cast<IMemory>(parcel->readStrongBinder());
74 if (sharedBuffer == 0 || sharedBuffer->pointer() == NULL) {
95 if (sharedBuffer != 0) {
97 (void)parcel->writeStrongBinder(IInterface::asBinder(sharedBuffer));
117 sp<IMemory> sharedBuffer; member in class:android::IAudioFlinger::CreateTrackInput
H A DAudioTrack.h249 * identified by the argument sharedBuffer, which should be non-0.
250 * If sharedBuffer is zero, this constructor is equivalent to the previous constructor
262 const sp<IMemory>& sharedBuffer,
292 * If sharedBuffer is non-0, the frameCount parameter is ignored and
311 const sp<IMemory>& sharedBuffer = 0,
387 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } function in class:android::AudioTrack
/frameworks/av/media/libaudioclient/tests/
H A Dtest_create_audiotrack.cpp72 sp<IMemory> sharedBuffer; local
94 sharedBuffer = heap->allocate(heapSize);
123 sharedBuffer,
126 ((fast && sharedBuffer == 0) || offload) ?
/frameworks/av/services/audioflinger/
H A DPlaybackTracks.h35 const sp<IMemory>& sharedBuffer,
145 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } function in class:Track
H A DTracks.cpp384 const sp<IMemory>& sharedBuffer,
391 (sharedBuffer != 0) ? sharedBuffer->pointer() : buffer,
392 (sharedBuffer != 0) ? sharedBuffer->size() : bufferSize,
398 mSharedBuffer(sharedBuffer),
417 // client == 0 implies sharedBuffer == 0
418 ALOG_ASSERT(!(client == 0 && sharedBuffer != 0));
420 ALOGV_IF(sharedBuffer != 0, "sharedBuffer
373 Track( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, const audio_attributes_t& attr, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, void *buffer, size_t bufferSize, 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 DThreads.cpp1869 const sp<IMemory>& sharedBuffer,
1922 if (sharedBuffer == 0) {
1954 ALOGV("AUDIO_OUTPUT_FLAG_FAST denied: sharedBuffer=%p frameCount=%zu "
1958 sharedBuffer.get(), frameCount, mFrameCount, format, mFormat,
1966 if (sharedBuffer != 0) {
1968 frameCount = sharedBuffer->size();
1975 } else if (sharedBuffer != 0) {
1990 if (((uintptr_t)sharedBuffer->pointer() & (alignment - 1)) != 0) {
1992 sharedBuffer->pointer(), channelCount);
2001 frameCount = sharedBuffer
1858 createTrack_l( const sp<AudioFlinger::Client>& client, audio_stream_type_t streamType, const audio_attributes_t& attr, uint32_t *pSampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t *pFrameCount, size_t *pNotificationFrameCount, uint32_t notificationsPerBuffer, float speed, 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/media/libaudioclient/
H A DAudioTrack.cpp285 0 /*sharedBuffer*/, false /*threadCanCallJava*/, sessionId, transferType,
294 const sp<IMemory>& sharedBuffer,
316 sharedBuffer, false /*threadCanCallJava*/, sessionId, transferType, offloadInfo,
361 const sp<IMemory>& sharedBuffer,
389 if (sharedBuffer != 0) {
398 if (cbf == NULL || sharedBuffer != 0) {
399 ALOGE("Transfer type TRANSFER_CALLBACK but cbf == NULL || sharedBuffer != 0");
406 if (sharedBuffer != 0) {
407 ALOGE("Transfer type TRANSFER_OBTAIN but sharedBuffer != 0");
413 if (sharedBuffer
289 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
351 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, audio_port_handle_t selectedDeviceId) argument
1403 bool sharedBuffer = mSharedBuffer != 0; local
[all...]

Completed in 218 milliseconds