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.h92 const audio_offload_info_t *offloadInfo) = 0;
98 const audio_offload_info_t *offloadInfo) = 0;
174 virtual bool isOffloadSupported(const audio_offload_info_t& offloadInfo) = 0;
DAudioPolicyInterfaceImplLegacy.cpp135 const audio_offload_info_t *offloadInfo) in getOutput() argument
143 format, channelMask, flags, offloadInfo); in getOutput()
534 const audio_offload_info_t *offloadInfo) in getOutputForAttr() argument
538 return getOutput(stream, samplingRate, format, channelMask, flags, offloadInfo); in getOutputForAttr()
DAudioPolicyInterfaceImpl.cpp130 const audio_offload_info_t *offloadInfo) in getOutput() argument
138 format, channelMask, flags, offloadInfo); in getOutput()
146 const audio_offload_info_t *offloadInfo) in getOutputForAttr() argument
154 format, channelMask, flags, offloadInfo); in getOutputForAttr()
DAudioPolicyManager.h89 const audio_offload_info_t *offloadInfo);
95 const audio_offload_info_t *offloadInfo);
156 virtual bool isOffloadSupported(const audio_offload_info_t& offloadInfo);
851 const audio_offload_info_t *offloadInfo);
DAudioPolicyService.h74 const audio_offload_info_t *offloadInfo = NULL);
80 const audio_offload_info_t *offloadInfo = NULL);
DAudioPolicyManager.cpp823 const audio_offload_info_t *offloadInfo) in getOutput() argument
832 offloadInfo); in getOutput()
840 const audio_offload_info_t *offloadInfo) in getOutputForAttr() argument
862 offloadInfo); in getOutputForAttr()
872 const audio_offload_info_t *offloadInfo) in getOutputForDevice() argument
895 if (offloadInfo != NULL) { in getOutputForDevice()
896 config.offload_info = *offloadInfo; in getOutputForDevice()
985 if (offloadInfo != NULL) { in getOutputForDevice()
986 config.offload_info = *offloadInfo; in getOutputForDevice()
1937 bool AudioPolicyManager::isOffloadSupported(const audio_offload_info_t& offloadInfo) in isOffloadSupported() argument
[all …]
DAudioPolicyService.cpp998 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.cpp1359 audio_offload_info_t offloadInfo = AUDIO_INFO_INITIALIZER; in onOpenAudioSink() local
1360 offloadInfo.duration_us = -1; in onOpenAudioSink()
1362 "durationUs", &offloadInfo.duration_us); in onOpenAudioSink()
1363 offloadInfo.sample_rate = sampleRate; in onOpenAudioSink()
1364 offloadInfo.channel_mask = channelMask; in onOpenAudioSink()
1365 offloadInfo.format = audioFormat; in onOpenAudioSink()
1366 offloadInfo.stream_type = AUDIO_STREAM_MUSIC; in onOpenAudioSink()
1367 offloadInfo.bit_rate = avgBitRate; in onOpenAudioSink()
1368 offloadInfo.has_video = hasVideo; in onOpenAudioSink()
1369 offloadInfo.is_streaming = true; in onOpenAudioSink()
[all …]
/frameworks/av/media/libmedia/
DIAudioPolicyService.cpp142 const audio_offload_info_t *offloadInfo) in getOutput() argument
152 if (offloadInfo == NULL) { in getOutput()
156 data.write(offloadInfo, sizeof(audio_offload_info_t)); in getOutput()
168 const audio_offload_info_t *offloadInfo) in getOutputForAttr() argument
182 if (offloadInfo == NULL) { in getOutputForAttr()
186 data.write(offloadInfo, sizeof(audio_offload_info_t)); in getOutputForAttr()
691 audio_offload_info_t offloadInfo; in onTransact() local
693 data.read(&offloadInfo, sizeof(audio_offload_info_t)); in onTransact()
700 hasOffloadInfo ? &offloadInfo : NULL); in onTransact()
715 audio_offload_info_t offloadInfo; in onTransact() local
[all …]
DAudioTrack.cpp139 const audio_offload_info_t *offloadInfo, in AudioTrack() argument
152 offloadInfo, uid, pid, pAttributes); in AudioTrack()
167 const audio_offload_info_t *offloadInfo, in AudioTrack() argument
179 sharedBuffer, false /*threadCanCallJava*/, sessionId, transferType, offloadInfo, in AudioTrack()
221 const audio_offload_info_t *offloadInfo, in set() argument
377 if (offloadInfo != NULL) { in set()
378 mOffloadInfoCopy = *offloadInfo; in set()
DAudioSystem.cpp653 const audio_offload_info_t *offloadInfo) in getOutput() argument
657 return aps->getOutput(stream, samplingRate, format, channelMask, flags, offloadInfo); in getOutput()
665 const audio_offload_info_t *offloadInfo) in getOutputForAttr() argument
670 return aps->getOutputForAttr(attr, samplingRate, format, channelMask, flags, offloadInfo); in getOutputForAttr()
/frameworks/av/include/media/
DIAudioPolicyService.h58 const audio_offload_info_t *offloadInfo = NULL) = 0;
64 const audio_offload_info_t *offloadInfo = NULL) = 0;
DAudioTrack.h189 const audio_offload_info_t *offloadInfo = NULL,
216 const audio_offload_info_t *offloadInfo = NULL,
256 const audio_offload_info_t *offloadInfo = NULL,
DAudioSystem.h221 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()