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

/frameworks/av/services/audiopolicy/
H A DAudioPolicyClientImplLegacy.cpp72 const audio_offload_info_t *offloadInfo)
88 if (offloadInfo != NULL) {
89 config.offload_info = *offloadInfo;
98 if (offloadInfo != NULL) {
99 *((audio_offload_info_t *)offloadInfo) = config.offload_info;
126 const audio_offload_info_t *offloadInfo)
129 pLatencyMs, flags, offloadInfo);
65 open_output(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
118 aps_open_output_on_module(void *service __unused, 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 DAudioPolicyInterface.h103 const audio_offload_info_t *offloadInfo) = 0;
112 const audio_offload_info_t *offloadInfo) = 0;
192 virtual bool isOffloadSupported(const audio_offload_info_t& offloadInfo) = 0;
H A DAudioPolicyInterfaceImplLegacy.cpp135 const audio_offload_info_t *offloadInfo)
146 format, channelMask, flags, offloadInfo);
571 const audio_offload_info_t *offloadInfo)
581 flags, offloadInfo);
130 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
563 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session __unused, 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 DAudioPolicyInterfaceImpl.cpp130 const audio_offload_info_t *offloadInfo)
141 format, channelMask, flags, offloadInfo);
152 const audio_offload_info_t *offloadInfo)
160 format, channelMask, flags, offloadInfo);
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
144 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session, 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 DAudioPolicyManager.h90 const audio_offload_info_t *offloadInfo);
99 const audio_offload_info_t *offloadInfo);
166 virtual bool isOffloadSupported(const audio_offload_info_t& offloadInfo);
911 const audio_offload_info_t *offloadInfo);
H A DAudioPolicyService.h75 const audio_offload_info_t *offloadInfo = NULL);
84 const audio_offload_info_t *offloadInfo = NULL);
H A DAudioPolicyManager.cpp875 const audio_offload_info_t *offloadInfo)
884 flags, offloadInfo);
895 const audio_offload_info_t *offloadInfo)
974 flags, offloadInfo);
989 const audio_offload_info_t *offloadInfo)
1012 if (offloadInfo != NULL) {
1013 config.offload_info = *offloadInfo;
1106 if (offloadInfo != NULL) {
1107 config.offload_info = *offloadInfo;
2338 bool AudioPolicyManager::isOffloadSupported(const audio_offload_info_t& offloadInfo) argument
870 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
887 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session, 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
981 getOutputForDevice( audio_devices_t device, audio_session_t session __unused, 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
[all...]
H A DAudioPolicyService.cpp1007 const audio_offload_info_t *offloadInfo);
/frameworks/av/media/libstagefright/
H A DAudioPlayer.cpp159 audio_offload_info_t offloadInfo = AUDIO_INFO_INITIALIZER; local
169 offloadInfo.duration_us = durationUs;
171 offloadInfo.duration_us = -1;
174 offloadInfo.sample_rate = mSampleRate;
175 offloadInfo.channel_mask = channelMask;
176 offloadInfo.format = audioFormat;
177 offloadInfo.stream_type = AUDIO_STREAM_MUSIC;
178 offloadInfo.bit_rate = avgBitRate;
179 offloadInfo.has_video = ((mCreateFlags & HAS_VIDEO) != 0);
180 offloadInfo
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerRenderer.cpp1453 audio_offload_info_t offloadInfo = AUDIO_INFO_INITIALIZER; local
1454 offloadInfo.duration_us = -1;
1456 "durationUs", &offloadInfo.duration_us);
1457 offloadInfo.sample_rate = sampleRate;
1458 offloadInfo.channel_mask = channelMask;
1459 offloadInfo.format = audioFormat;
1460 offloadInfo.stream_type = AUDIO_STREAM_MUSIC;
1461 offloadInfo.bit_rate = avgBitRate;
1462 offloadInfo.has_video = hasVideo;
1463 offloadInfo
[all...]
/frameworks/av/include/media/
H A DAudioTrack.h189 const audio_offload_info_t *offloadInfo = NULL,
216 const audio_offload_info_t *offloadInfo = NULL,
259 const audio_offload_info_t *offloadInfo = NULL,
H A DIAudioPolicyService.h59 const audio_offload_info_t *offloadInfo = NULL) = 0;
68 const audio_offload_info_t *offloadInfo = NULL) = 0;
H A DAudioSystem.h218 const audio_offload_info_t *offloadInfo = NULL);
227 const audio_offload_info_t *offloadInfo = NULL);
H A DMediaPlayerInterface.h116 const audio_offload_info_t *offloadInfo = NULL) = 0;
/frameworks/av/media/libmedia/
H A DIAudioPolicyService.cpp146 const audio_offload_info_t *offloadInfo)
156 if (offloadInfo == NULL) {
160 data.write(offloadInfo, sizeof(audio_offload_info_t));
174 const audio_offload_info_t *offloadInfo)
210 if (offloadInfo == NULL) {
214 data.write(offloadInfo, sizeof(audio_offload_info_t));
782 audio_offload_info_t offloadInfo; local
784 data.read(&offloadInfo, sizeof(audio_offload_info_t));
791 hasOffloadInfo ? &offloadInfo : NULL);
815 audio_offload_info_t offloadInfo; local
140 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
166 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session, 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
[all...]
H A DAudioSystem.cpp645 const audio_offload_info_t *offloadInfo)
649 return aps->getOutput(stream, samplingRate, format, channelMask, flags, offloadInfo);
660 const audio_offload_info_t *offloadInfo)
666 flags, offloadInfo);
640 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
652 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session, 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.cpp140 const audio_offload_info_t *offloadInfo,
153 offloadInfo, uid, pid, pAttributes);
168 const audio_offload_info_t *offloadInfo,
180 sharedBuffer, false /*threadCanCallJava*/, sessionId, transferType, offloadInfo,
222 const audio_offload_info_t *offloadInfo,
365 // Make copy of input parameter offloadInfo so that in the future:
368 if (offloadInfo != NULL) {
369 mOffloadInfoCopy = *offloadInfo;
128 AudioTrack( 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, uint32_t notificationFrames, int sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, int uid, pid_t pid, const audio_attributes_t* pAttributes) argument
156 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, uint32_t notificationFrames, int sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, int uid, pid_t pid, const audio_attributes_t* pAttributes) argument
208 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, uint32_t notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava, int sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, int uid, pid_t pid, const audio_attributes_t* pAttributes) argument
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.h98 const audio_offload_info_t *offloadInfo = NULL);
212 const audio_offload_info_t *offloadInfo = NULL);
H A DMediaPlayerService.cpp1561 const audio_offload_info_t *offloadInfo)
1579 // offloadInfo must be present if offload flag is set
1581 ((cb == NULL) || (offloadInfo == NULL))) {
1676 offloadInfo,
2068 const audio_offload_info_t* /*offloadInfo*/)
1556 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

Completed in 205 milliseconds