/frameworks/av/services/audioflinger/ |
H A D | PlaybackTracks.h | 32 const sp<IMemory>& sharedBuffer, 100 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } function in class:Track 167 const sp<IMemory>& sharedBuffer, 210 const sp<IMemory>& sharedBuffer,
|
H A D | Tracks.cpp | 69 const sp<IMemory>& sharedBuffer, 91 // client == 0 implies sharedBuffer == 0 92 ALOG_ASSERT(!(client == 0 && sharedBuffer != 0)); 94 ALOGV_IF(sharedBuffer != 0, "sharedBuffer: %p, size: %d", sharedBuffer->pointer(), 95 sharedBuffer->size()); 99 size_t bufferSize = (sharedBuffer == 0 ? roundup(frameCount) : frameCount) * mFrameSize; 100 if (sharedBuffer == 0) { 125 if (sharedBuffer 62 TrackBase( ThreadBase *thread, const sp<Client>& client, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, const sp<IMemory>& sharedBuffer, int sessionId, bool isOut) argument 306 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, const sp<IMemory>& sharedBuffer, int sessionId, IAudioFlinger::track_flags_t flags) argument 957 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) argument 975 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) argument [all...] |
H A D | AudioFlinger.cpp | 446 const sp<IMemory>& sharedBuffer, 513 channelMask, frameCount, sharedBuffer, lSessionId, flags, tid, &lStatus); 439 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, String8& name, status_t *status) argument
|
H A D | Threads.cpp | 1159 const sp<IMemory>& sharedBuffer, 1179 (sharedBuffer != 0) 1211 ALOGV("AUDIO_OUTPUT_FLAG_FAST denied: isTimed=%d sharedBuffer=%p frameCount=%d " 1214 isTimed, sharedBuffer.get(), frameCount, mFrameCount, format, 1296 channelMask, frameCount, sharedBuffer, sessionId, *flags); 1299 channelMask, frameCount, sharedBuffer, sessionId); 1431 track->mFillingUpStatus = track->sharedBuffer() != 0 ? Track::FS_FILLED : Track::FS_FILLING; 2872 if (track->sharedBuffer() == 0) { 2988 if ((track->sharedBuffer() == 0) && !track->isStopped() && !track->isPausing() && 2994 if (track->sharedBuffer() 1152 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 frameCount, const sp<IMemory>& sharedBuffer, int sessionId, IAudioFlinger::track_flags_t *flags, pid_t tid, status_t *status) argument [all...] |
/frameworks/av/include/media/ |
H A D | AudioTrack.h | 196 * identified by the argument sharedBuffer, which must be non-0. 207 const sp<IMemory>& sharedBuffer, 231 * If sharedBuffer is non-0, the frameCount parameter is ignored and 247 const sp<IMemory>& sharedBuffer = 0, 282 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } function in class:android::AudioTrack 637 const sp<IMemory>& sharedBuffer,
|
/frameworks/av/media/libmedia/ |
H A D | AudioTrack.cpp | 112 0 /*sharedBuffer*/, false /*threadCanCallJava*/, sessionId, transferType, offloadInfo); 120 const sp<IMemory>& sharedBuffer, 135 sharedBuffer, false /*threadCanCallJava*/, sessionId, transferType, offloadInfo); 168 const sp<IMemory>& sharedBuffer, 176 if (sharedBuffer != 0) { 185 if (cbf == NULL || sharedBuffer != 0) { 186 ALOGE("Transfer type TRANSFER_CALLBACK but cbf == NULL || sharedBuffer != 0"); 192 if (sharedBuffer != 0) { 193 ALOGE("Transfer type TRANSFER_OBTAIN but sharedBuffer != 0"); 198 if (sharedBuffer 115 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, transfer_type transferType, const audio_offload_info_t *offloadInfo) argument 158 set( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCountInt, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava, int sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo) argument 804 createTrack_l( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, size_t frameCount, audio_output_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, size_t epoch) argument [all...] |
H A D | IAudioFlinger.cpp | 94 const sp<IMemory>& sharedBuffer, 111 if (sharedBuffer != 0) { 113 data.writeStrongBinder(sharedBuffer->asBinder()); 87 createTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, track_flags_t *flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t tid, int *sessionId, String8& name, status_t *status) argument
|