/frameworks/av/media/libaudioclient/tests/ |
D | test_create_audiotrack.cpp | 74 audio_offload_info_t offloadInfo = AUDIO_INFO_INITIALIZER; in testTrack() local 99 offloadInfo.sample_rate = sampleRate; in testTrack() 100 offloadInfo.channel_mask = channelMask; in testTrack() 101 offloadInfo.format = format; in testTrack() 128 offload ? &offloadInfo : nullptr, in testTrack()
|
/frameworks/av/cmds/stagefright/ |
D | AudioPlayer.cpp | 175 audio_offload_info_t offloadInfo = AUDIO_INFO_INITIALIZER; in start() local 185 offloadInfo.duration_us = durationUs; in start() 187 offloadInfo.duration_us = -1; in start() 190 offloadInfo.sample_rate = mSampleRate; in start() 191 offloadInfo.channel_mask = channelMask; in start() 192 offloadInfo.format = audioFormat; in start() 193 offloadInfo.stream_type = AUDIO_STREAM_MUSIC; in start() 194 offloadInfo.bit_rate = avgBitRate; in start() 195 offloadInfo.has_video = ((mCreateFlags & HAS_VIDEO) != 0); in start() 196 offloadInfo.is_streaming = ((mCreateFlags & IS_STREAMING) != 0); in start() [all …]
|
/frameworks/base/media/java/android/media/audio/common/ |
D | AudioConfig.aidl | 34 AudioOffloadInfo offloadInfo;
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerRenderer.cpp | 1971 audio_offload_info_t offloadInfo = AUDIO_INFO_INITIALIZER; in onOpenAudioSink() local 1972 offloadInfo.duration_us = -1; in onOpenAudioSink() 1974 "durationUs", &offloadInfo.duration_us); in onOpenAudioSink() 1975 offloadInfo.sample_rate = sampleRate; in onOpenAudioSink() 1976 offloadInfo.channel_mask = channelMask; in onOpenAudioSink() 1977 offloadInfo.format = audioFormat; in onOpenAudioSink() 1978 offloadInfo.stream_type = AUDIO_STREAM_MUSIC; in onOpenAudioSink() 1979 offloadInfo.bit_rate = avgBitRate; in onOpenAudioSink() 1980 offloadInfo.has_video = hasVideo; in onOpenAudioSink() 1981 offloadInfo.is_streaming = isStreaming; in onOpenAudioSink() [all …]
|
/frameworks/base/core/jni/ |
D | android_media_AudioTrack.cpp | 360 audio_offload_info_t offloadInfo; in android_media_AudioTrack_setup() local 362 offloadInfo = AUDIO_INFO_INITIALIZER; in android_media_AudioTrack_setup() 363 offloadInfo.format = format; in android_media_AudioTrack_setup() 364 offloadInfo.sample_rate = sampleRateInHertz; in android_media_AudioTrack_setup() 365 offloadInfo.channel_mask = nativeChannelMask; in android_media_AudioTrack_setup() 366 offloadInfo.has_video = false; in android_media_AudioTrack_setup() 367 offloadInfo.stream_type = AUDIO_STREAM_MUSIC; //required for offload in android_media_AudioTrack_setup() 387 offload ? &offloadInfo : NULL, in android_media_AudioTrack_setup()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioTrack.h | 255 const audio_offload_info_t *offloadInfo = NULL, 286 const audio_offload_info_t *offloadInfo = NULL, 334 const audio_offload_info_t *offloadInfo = NULL,
|
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/ |
D | ConversionUtil.java | 356 aidlConfig.offloadInfo = hidl2aidlOffloadInfo(hidlConfig.offloadInfo); in hidl2aidlAudioConfig()
|
/frameworks/av/media/libmediaplayerservice/include/ |
D | MediaPlayerInterface.h | 121 const audio_offload_info_t *offloadInfo = NULL,
|
/frameworks/av/include/media/ |
D | MediaPlayerInterface.h | 121 const audio_offload_info_t *offloadInfo = NULL,
|
/frameworks/av/media/libaudioclient/ |
D | AudioTrack.cpp | 241 const audio_offload_info_t *offloadInfo, in AudioTrack() argument 260 offloadInfo, uid, pid, pAttributes, doNotReconnect, maxRequiredSpeed, selectedDeviceId); in AudioTrack() 275 const audio_offload_info_t *offloadInfo, in AudioTrack() argument 293 sharedBuffer, false /*threadCanCallJava*/, sessionId, transferType, offloadInfo, in AudioTrack() 353 const audio_offload_info_t *offloadInfo, in set() argument 526 if (offloadInfo != NULL) { in set() 527 mOffloadInfoCopy = *offloadInfo; in set()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 3299 bool AudioPolicyManager::isOffloadSupported(const audio_offload_info_t& offloadInfo) in isOffloadSupported() argument 3303 offloadInfo.sample_rate, offloadInfo.channel_mask, in isOffloadSupported() 3304 offloadInfo.format, in isOffloadSupported() 3305 offloadInfo.stream_type, offloadInfo.bit_rate, offloadInfo.duration_us, in isOffloadSupported() 3306 offloadInfo.has_video); in isOffloadSupported() 3319 if (offloadInfo.stream_type != AUDIO_STREAM_MUSIC) in isOffloadSupported() 3328 if (offloadInfo.has_video && !allowOffloadWithVideo) { in isOffloadSupported() 3337 if (offloadInfo.duration_us < min_duration_secs * 1000000LL) { in isOffloadSupported() 3342 } else if (offloadInfo.duration_us < OFFLOAD_DEFAULT_MIN_DURATION_SECS * 1000000) { in isOffloadSupported() 3360 offloadInfo.sample_rate, in isOffloadSupported() [all …]
|
D | AudioPolicyManager.h | 228 virtual bool isOffloadSupported(const audio_offload_info_t& offloadInfo);
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 223 virtual bool isOffloadSupported(const audio_offload_info_t& offloadInfo) = 0;
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.h | 107 const audio_offload_info_t *offloadInfo = NULL,
|
D | MediaPlayerService.cpp | 2042 const audio_offload_info_t *offloadInfo, in open() argument 2052 ((cb == NULL) || (offloadInfo == NULL))) { in open() 2173 offloadInfo, in open()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.cpp | 1937 const audio_offload_info_t *offloadInfo);
|