Searched refs:offloadInfo (Results 1 - 18 of 18) sorted by relevance

/frameworks/av/media/libstagefright/
H A DAudioPlayer.cpp150 audio_offload_info_t offloadInfo = AUDIO_INFO_INITIALIZER; local
160 offloadInfo.duration_us = durationUs;
162 offloadInfo.duration_us = -1;
165 offloadInfo.sample_rate = mSampleRate;
166 offloadInfo.channel_mask = channelMask;
167 offloadInfo.format = audioFormat;
168 offloadInfo.stream_type = AUDIO_STREAM_MUSIC;
169 offloadInfo.bit_rate = avgBitRate;
170 offloadInfo.has_video = ((mCreateFlags & HAS_VIDEO) != 0);
171 offloadInfo
[all...]
/frameworks/av/include/media/
H A DAudioTrack.h190 const audio_offload_info_t *offloadInfo = NULL,
215 const audio_offload_info_t *offloadInfo = NULL,
253 const audio_offload_info_t *offloadInfo = NULL,
H A DIAudioPolicyService.h57 const audio_offload_info_t *offloadInfo = NULL) = 0;
H A DAudioSystem.h201 const audio_offload_info_t *offloadInfo = NULL);
H A DIAudioFlinger.h152 const audio_offload_info_t *offloadInfo = NULL) = 0;
H A DMediaPlayerInterface.h114 const audio_offload_info_t *offloadInfo = NULL) = 0;
/frameworks/av/media/libmedia/
H A DIAudioPolicyService.cpp131 const audio_offload_info_t *offloadInfo)
140 if (offloadInfo == NULL) {
144 data.write(offloadInfo, sizeof(audio_offload_info_t));
462 audio_offload_info_t offloadInfo; local
464 data.read(&offloadInfo, sizeof(audio_offload_info_t));
471 hasOffloadInfo ? &offloadInfo : NULL);
125 getOutput( audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
H A DAudioTrack.cpp105 const audio_offload_info_t *offloadInfo,
116 offloadInfo, uid);
131 const audio_offload_info_t *offloadInfo,
141 sharedBuffer, false /*threadCanCallJava*/, sessionId, transferType, offloadInfo, uid);
178 const audio_offload_info_t *offloadInfo,
308 offloadInfo);
93 AudioTrack( 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, int sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, int uid) argument
119 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, int uid) argument
164 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, int uid) argument
H A DIAudioFlinger.cpp391 const audio_offload_info_t *offloadInfo)
408 if (offloadInfo == NULL) {
412 data.write(offloadInfo, sizeof(audio_offload_info_t));
932 audio_offload_info_t offloadInfo; local
934 data.read(&offloadInfo, sizeof(audio_offload_info_t));
943 hasOffloadInfo ? &offloadInfo : NULL);
384 openOutput(audio_module_handle_t module, audio_devices_t *pDevices, uint32_t *pSamplingRate, audio_format_t *pFormat, audio_channel_mask_t *pChannelMask, uint32_t *pLatencyMs, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
H A DAudioSystem.cpp604 const audio_offload_info_t *offloadInfo)
608 return aps->getOutput(stream, samplingRate, format, channelMask, flags, offloadInfo);
599 getOutput(audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.h96 const audio_offload_info_t *offloadInfo = NULL);
206 const audio_offload_info_t *offloadInfo = NULL);
H A DMediaPlayerService.cpp1438 const audio_offload_info_t *offloadInfo)
1456 // offloadInfo must be present if offload flag is set
1458 ((cb == NULL) || (offloadInfo == NULL))) {
1553 offloadInfo,
1923 const audio_offload_info_t *offloadInfo)
1433 open( uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask, audio_format_t format, int bufferCount, AudioCallback cb, void *cookie, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
1919 open( uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask, audio_format_t format, int bufferCount, AudioCallback cb, void *cookie, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPlayer.h57 const audio_offload_info_t *offloadInfo);
H A DVideoEditorPlayer.cpp395 const audio_offload_info_t *offloadInfo) {
391 open( uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask, audio_format_t format, int bufferCount, AudioCallback cb, void *cookie, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
/frameworks/av/services/audioflinger/
H A DAudioPolicyService.h71 const audio_offload_info_t *offloadInfo = NULL);
H A DAudioFlinger.cpp1452 const audio_offload_info_t *offloadInfo)
1459 if (offloadInfo) {
1460 config.offload_info = *offloadInfo;
1473 ALOGV("openOutput(), offloadInfo %p version 0x%04x",
1474 offloadInfo, offloadInfo == NULL ? -1 : offloadInfo->version );
1445 openOutput(audio_module_handle_t module, audio_devices_t *pDevices, uint32_t *pSamplingRate, audio_format_t *pFormat, audio_channel_mask_t *pChannelMask, uint32_t *pLatencyMs, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
H A DAudioPolicyService.cpp229 const audio_offload_info_t *offloadInfo)
237 format, channelMask, flags, offloadInfo);
1486 const audio_offload_info_t *offloadInfo)
1494 pLatencyMs, flags, offloadInfo);
224 getOutput(audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
1478 aps_open_output_on_module(void *service, audio_module_handle_t module, audio_devices_t *pDevices, uint32_t *pSamplingRate, audio_format_t *pFormat, audio_channel_mask_t *pChannelMask, uint32_t *pLatencyMs, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
H A DAudioFlinger.h166 const audio_offload_info_t *offloadInfo);

Completed in 2653 milliseconds