Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioclient/tests/
Dtest_create_audiotrack.cpp75 audio_offload_info_t offloadInfo = AUDIO_INFO_INITIALIZER; in testTrack() local
100 offloadInfo.sample_rate = sampleRate; in testTrack()
101 offloadInfo.channel_mask = channelMask; in testTrack()
102 offloadInfo.format = format; in testTrack()
127 offload ? &offloadInfo : nullptr, in testTrack()
/frameworks/av/cmds/stagefright/
DAudioPlayer.cpp178 audio_offload_info_t offloadInfo = AUDIO_INFO_INITIALIZER; in start() local
188 offloadInfo.duration_us = durationUs; in start()
190 offloadInfo.duration_us = -1; in start()
193 offloadInfo.sample_rate = mSampleRate; in start()
194 offloadInfo.channel_mask = channelMask; in start()
195 offloadInfo.format = audioFormat; in start()
196 offloadInfo.stream_type = AUDIO_STREAM_MUSIC; in start()
197 offloadInfo.bit_rate = avgBitRate; in start()
198 offloadInfo.has_video = ((mCreateFlags & HAS_VIDEO) != 0); in start()
199 offloadInfo.is_streaming = ((mCreateFlags & IS_STREAMING) != 0); in start()
[all …]
/frameworks/av/media/libaudioclient/include/media/
DAudioTrack.h338 const audio_offload_info_t *offloadInfo = nullptr,
358 const audio_offload_info_t *offloadInfo = nullptr,
387 const audio_offload_info_t *offloadInfo = nullptr,
406 const audio_offload_info_t *offloadInfo = nullptr,
453 const audio_offload_info_t *offloadInfo = nullptr,
475 const audio_offload_info_t *offloadInfo; member
488 s.transferType, s.offloadInfo, std::move(s.attributionSource), in set()
506 const audio_offload_info_t *offloadInfo = nullptr,
528 const audio_offload_info_t *offloadInfo = nullptr,
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp343 audio_offload_info_t offloadInfo; in android_media_AudioTrack_setup() local
345 offloadInfo = AUDIO_INFO_INITIALIZER; in android_media_AudioTrack_setup()
346 offloadInfo.format = format; in android_media_AudioTrack_setup()
347 offloadInfo.sample_rate = sampleRateInHertz; in android_media_AudioTrack_setup()
348 offloadInfo.channel_mask = nativeChannelMask; in android_media_AudioTrack_setup()
349 offloadInfo.has_video = false; in android_media_AudioTrack_setup()
350 offloadInfo.stream_type = AUDIO_STREAM_MUSIC; //required for offload in android_media_AudioTrack_setup()
354 offloadInfo = AUDIO_INFO_INITIALIZER; in android_media_AudioTrack_setup()
355 offloadInfo.format = format; in android_media_AudioTrack_setup()
356 offloadInfo.sample_rate = sampleRateInHertz; in android_media_AudioTrack_setup()
[all …]
/frameworks/base/media/aidl_api/android.media.audio.common.types/current/android/media/audio/common/
DAudioConfig.aidl39 android.media.audio.common.AudioOffloadInfo offloadInfo;
/frameworks/base/media/aidl_api/android.media.audio.common.types/1/android/media/audio/common/
DAudioConfig.aidl39 android.media.audio.common.AudioOffloadInfo offloadInfo;
/frameworks/base/media/aidl/android/media/audio/common/
DAudioConfig.aidl31 AudioOffloadInfo offloadInfo;
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp1995 audio_offload_info_t offloadInfo = AUDIO_INFO_INITIALIZER; in onOpenAudioSink() local
1996 offloadInfo.duration_us = -1; in onOpenAudioSink()
1998 "durationUs", &offloadInfo.duration_us); in onOpenAudioSink()
1999 offloadInfo.sample_rate = sampleRate; in onOpenAudioSink()
2000 offloadInfo.channel_mask = channelMask; in onOpenAudioSink()
2001 offloadInfo.format = audioFormat; in onOpenAudioSink()
2002 offloadInfo.stream_type = AUDIO_STREAM_MUSIC; in onOpenAudioSink()
2003 offloadInfo.bit_rate = avgBitRate; in onOpenAudioSink()
2004 offloadInfo.has_video = hasVideo; in onOpenAudioSink()
2005 offloadInfo.is_streaming = isStreaming; in onOpenAudioSink()
[all …]
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp265 const audio_offload_info_t *offloadInfo, in AudioTrack() argument
284 sessionId, transferType, offloadInfo, attributionSource, pAttributes, in AudioTrack()
341 const audio_offload_info_t *offloadInfo, in AudioTrack() argument
363 transferType, offloadInfo, attributionSource, pAttributes, doNotReconnect, in AudioTrack()
378 const audio_offload_info_t *offloadInfo, in AudioTrack() argument
396 sessionId, transferType, offloadInfo, attributionSource, pAttributes, in AudioTrack()
412 const audio_offload_info_t *offloadInfo, in AudioTrack() argument
434 sessionId, transferType, offloadInfo, attributionSource, pAttributes, doNotReconnect, in AudioTrack()
514 const audio_offload_info_t *offloadInfo, in set() argument
528 sessionId, transferType, offloadInfo, attributionSource, pAttributes, in set()
[all …]
DAidlConversion.cpp2514 aidl2legacy_AudioOffloadInfo_audio_offload_info_t(aidl.offloadInfo)); in aidl2legacy_AudioConfig_audio_config_t()
2525 aidl.offloadInfo = VALUE_OR_RETURN( in legacy2aidl_audio_config_t_AudioConfig()
/frameworks/av/media/libaudioclient/fuzzer/
Daudioflinger_fuzzer.cpp205 audio_offload_info_t offloadInfo = AUDIO_INFO_INITIALIZER; in invokeAudioTrack() local
219 offloadInfo.sample_rate = sampleRate; in invokeAudioTrack()
220 offloadInfo.channel_mask = channelMask; in invokeAudioTrack()
221 offloadInfo.format = format; in invokeAudioTrack()
238 offload ? &offloadInfo : nullptr, attributionSource, &attributes, false, 1.0f, in invokeAudioTrack()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp3918 audio_offload_mode_t AudioPolicyManager::getOffloadSupport(const audio_offload_info_t& offloadInfo) in getOffloadSupport() argument
3922 __func__, offloadInfo.sample_rate, offloadInfo.channel_mask, in getOffloadSupport()
3923 offloadInfo.format, in getOffloadSupport()
3924 offloadInfo.stream_type, offloadInfo.bit_rate, offloadInfo.duration_us, in getOffloadSupport()
3925 offloadInfo.has_video); in getOffloadSupport()
3927 if (!isOffloadPossible(offloadInfo)) { in getOffloadSupport()
3934 offloadInfo.sample_rate, in getOffloadSupport()
3935 offloadInfo.format, in getOffloadSupport()
3936 offloadInfo.channel_mask, in getOffloadSupport()
3985 bool AudioPolicyManager::isOffloadPossible(const audio_offload_info_t &offloadInfo, in isOffloadPossible() argument
[all …]
DAudioPolicyManager.h254 virtual audio_offload_mode_t getOffloadSupport(const audio_offload_info_t& offloadInfo);
1247 bool isOffloadPossible(const audio_offload_info_t& offloadInfo,
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
DConversionUtil.java358 aidlConfig.offloadInfo = hidl2aidlOffloadInfo(hidlConfig.offloadInfo); in hidl2aidlAudioConfig()
/frameworks/av/include/media/
DMediaPlayerInterface.h122 const audio_offload_info_t *offloadInfo = NULL,
/frameworks/av/media/libmediaplayerservice/include/
DMediaPlayerInterface.h122 const audio_offload_info_t *offloadInfo = NULL,
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h239 virtual audio_offload_mode_t getOffloadSupport(const audio_offload_info_t& offloadInfo) = 0;
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h112 const audio_offload_info_t *offloadInfo = NULL,
DMediaPlayerService.cpp2080 const audio_offload_info_t *offloadInfo, in open() argument
2090 ((cb == NULL) || (offloadInfo == NULL))) { in open()
2210 offloadInfo, in open()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp2820 const audio_offload_info_t *offloadInfo);