Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/
DAudioPolicyClientImplLegacy.cpp72 const audio_offload_info_t *offloadInfo) in open_output() argument
88 if (offloadInfo != NULL) { in open_output()
89 config.offload_info = *offloadInfo; in open_output()
98 if (offloadInfo != NULL) { in open_output()
99 *((audio_offload_info_t *)offloadInfo) = config.offload_info; in open_output()
126 const audio_offload_info_t *offloadInfo) in aps_open_output_on_module() argument
129 pLatencyMs, flags, offloadInfo); in aps_open_output_on_module()
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;
DAudioPolicyInterfaceImplLegacy.cpp135 const audio_offload_info_t *offloadInfo) in getOutput() argument
146 format, channelMask, flags, offloadInfo); in getOutput()
571 const audio_offload_info_t *offloadInfo) in getOutputForAttr() argument
581 flags, offloadInfo); in getOutputForAttr()
DAudioPolicyInterfaceImpl.cpp130 const audio_offload_info_t *offloadInfo) in getOutput() argument
141 format, channelMask, flags, offloadInfo); in getOutput()
152 const audio_offload_info_t *offloadInfo) in getOutputForAttr() argument
160 format, channelMask, flags, offloadInfo); in getOutputForAttr()
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);
DAudioPolicyService.h75 const audio_offload_info_t *offloadInfo = NULL);
84 const audio_offload_info_t *offloadInfo = NULL);
DAudioPolicyManager.cpp875 const audio_offload_info_t *offloadInfo) in getOutput() argument
884 flags, offloadInfo); in getOutput()
895 const audio_offload_info_t *offloadInfo) in getOutputForAttr() argument
974 flags, offloadInfo); in getOutputForAttr()
989 const audio_offload_info_t *offloadInfo) in getOutputForDevice() argument
1012 if (offloadInfo != NULL) { in getOutputForDevice()
1013 config.offload_info = *offloadInfo; in getOutputForDevice()
1106 if (offloadInfo != NULL) { in getOutputForDevice()
1107 config.offload_info = *offloadInfo; in getOutputForDevice()
2338 bool AudioPolicyManager::isOffloadSupported(const audio_offload_info_t& offloadInfo) in isOffloadSupported() argument
[all …]
DAudioPolicyService.cpp1007 const audio_offload_info_t *offloadInfo);
/frameworks/av/media/libstagefright/
DAudioPlayer.cpp159 audio_offload_info_t offloadInfo = AUDIO_INFO_INITIALIZER; in start() local
169 offloadInfo.duration_us = durationUs; in start()
171 offloadInfo.duration_us = -1; in start()
174 offloadInfo.sample_rate = mSampleRate; in start()
175 offloadInfo.channel_mask = channelMask; in start()
176 offloadInfo.format = audioFormat; in start()
177 offloadInfo.stream_type = AUDIO_STREAM_MUSIC; in start()
178 offloadInfo.bit_rate = avgBitRate; in start()
179 offloadInfo.has_video = ((mCreateFlags & HAS_VIDEO) != 0); in start()
180 offloadInfo.is_streaming = ((mCreateFlags & IS_STREAMING) != 0); in start()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp1453 audio_offload_info_t offloadInfo = AUDIO_INFO_INITIALIZER; in onOpenAudioSink() local
1454 offloadInfo.duration_us = -1; in onOpenAudioSink()
1456 "durationUs", &offloadInfo.duration_us); in onOpenAudioSink()
1457 offloadInfo.sample_rate = sampleRate; in onOpenAudioSink()
1458 offloadInfo.channel_mask = channelMask; in onOpenAudioSink()
1459 offloadInfo.format = audioFormat; in onOpenAudioSink()
1460 offloadInfo.stream_type = AUDIO_STREAM_MUSIC; in onOpenAudioSink()
1461 offloadInfo.bit_rate = avgBitRate; in onOpenAudioSink()
1462 offloadInfo.has_video = hasVideo; in onOpenAudioSink()
1463 offloadInfo.is_streaming = true; in onOpenAudioSink()
[all …]
/frameworks/av/media/libmedia/
DIAudioPolicyService.cpp144 const audio_offload_info_t *offloadInfo) in getOutput() argument
154 if (offloadInfo == NULL) { in getOutput()
158 data.write(offloadInfo, sizeof(audio_offload_info_t)); in getOutput()
172 const audio_offload_info_t *offloadInfo) in getOutputForAttr() argument
208 if (offloadInfo == NULL) { in getOutputForAttr()
212 data.write(offloadInfo, sizeof(audio_offload_info_t)); in getOutputForAttr()
780 audio_offload_info_t offloadInfo; in onTransact() local
782 data.read(&offloadInfo, sizeof(audio_offload_info_t)); in onTransact()
789 hasOffloadInfo ? &offloadInfo : NULL); in onTransact()
813 audio_offload_info_t offloadInfo; in onTransact() local
[all …]
DAudioTrack.cpp140 const audio_offload_info_t *offloadInfo, in AudioTrack() argument
153 offloadInfo, uid, pid, pAttributes); in AudioTrack()
168 const audio_offload_info_t *offloadInfo, in AudioTrack() argument
180 sharedBuffer, false /*threadCanCallJava*/, sessionId, transferType, offloadInfo, in AudioTrack()
222 const audio_offload_info_t *offloadInfo, in set() argument
368 if (offloadInfo != NULL) { in set()
369 mOffloadInfoCopy = *offloadInfo; in set()
DAudioSystem.cpp645 const audio_offload_info_t *offloadInfo) in getOutput() argument
649 return aps->getOutput(stream, samplingRate, format, channelMask, flags, offloadInfo); in getOutput()
660 const audio_offload_info_t *offloadInfo) in getOutputForAttr() argument
666 flags, offloadInfo); in getOutputForAttr()
/frameworks/av/include/media/
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,
DIAudioPolicyService.h59 const audio_offload_info_t *offloadInfo = NULL) = 0;
68 const audio_offload_info_t *offloadInfo = NULL) = 0;
DAudioSystem.h218 const audio_offload_info_t *offloadInfo = NULL);
227 const audio_offload_info_t *offloadInfo = NULL);
DMediaPlayerInterface.h116 const audio_offload_info_t *offloadInfo = NULL) = 0;
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h98 const audio_offload_info_t *offloadInfo = NULL);
212 const audio_offload_info_t *offloadInfo = NULL);
DMediaPlayerService.cpp1561 const audio_offload_info_t *offloadInfo) in open() argument
1581 ((cb == NULL) || (offloadInfo == NULL))) { in open()
1676 offloadInfo, in open()