/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/media/libstagefright/ |
D | AudioPlayer.cpp | 174 audio_offload_info_t offloadInfo = AUDIO_INFO_INITIALIZER; in start() local 184 offloadInfo.duration_us = durationUs; in start() 186 offloadInfo.duration_us = -1; in start() 189 offloadInfo.sample_rate = mSampleRate; in start() 190 offloadInfo.channel_mask = channelMask; in start() 191 offloadInfo.format = audioFormat; in start() 192 offloadInfo.stream_type = AUDIO_STREAM_MUSIC; in start() 193 offloadInfo.bit_rate = avgBitRate; in start() 194 offloadInfo.has_video = ((mCreateFlags & HAS_VIDEO) != 0); in start() 195 offloadInfo.is_streaming = ((mCreateFlags & IS_STREAMING) != 0); in start() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerRenderer.cpp | 1946 audio_offload_info_t offloadInfo = AUDIO_INFO_INITIALIZER; in onOpenAudioSink() local 1947 offloadInfo.duration_us = -1; in onOpenAudioSink() 1949 "durationUs", &offloadInfo.duration_us); in onOpenAudioSink() 1950 offloadInfo.sample_rate = sampleRate; in onOpenAudioSink() 1951 offloadInfo.channel_mask = channelMask; in onOpenAudioSink() 1952 offloadInfo.format = audioFormat; in onOpenAudioSink() 1953 offloadInfo.stream_type = AUDIO_STREAM_MUSIC; in onOpenAudioSink() 1954 offloadInfo.bit_rate = avgBitRate; in onOpenAudioSink() 1955 offloadInfo.has_video = hasVideo; in onOpenAudioSink() 1956 offloadInfo.is_streaming = isStreaming; in onOpenAudioSink() [all …]
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
D | NuPlayer2Renderer.cpp | 1933 audio_offload_info_t offloadInfo = AUDIO_INFO_INITIALIZER; in onOpenAudioSink() local 1934 offloadInfo.duration_us = -1; in onOpenAudioSink() 1936 "durationUs", &offloadInfo.duration_us); in onOpenAudioSink() 1937 offloadInfo.sample_rate = sampleRate; in onOpenAudioSink() 1938 offloadInfo.channel_mask = channelMask; in onOpenAudioSink() 1939 offloadInfo.format = audioFormat; in onOpenAudioSink() 1940 offloadInfo.stream_type = AUDIO_STREAM_MUSIC; in onOpenAudioSink() 1941 offloadInfo.bit_rate = avgBitRate; in onOpenAudioSink() 1942 offloadInfo.has_video = hasVideo; in onOpenAudioSink() 1943 offloadInfo.is_streaming = isStreaming; in onOpenAudioSink() [all …]
|
/frameworks/base/core/jni/ |
D | android_media_AudioTrack.cpp | 315 audio_offload_info_t offloadInfo; in android_media_AudioTrack_setup() local 317 offloadInfo = AUDIO_INFO_INITIALIZER; in android_media_AudioTrack_setup() 318 offloadInfo.format = format; in android_media_AudioTrack_setup() 319 offloadInfo.sample_rate = sampleRateInHertz; in android_media_AudioTrack_setup() 320 offloadInfo.channel_mask = nativeChannelMask; in android_media_AudioTrack_setup() 321 offloadInfo.has_video = false; in android_media_AudioTrack_setup() 322 offloadInfo.stream_type = AUDIO_STREAM_MUSIC; //required for offload in android_media_AudioTrack_setup() 342 offload ? &offloadInfo : NULL, in android_media_AudioTrack_setup()
|
/frameworks/av/include/media/ |
D | AudioTrack.h | 247 const audio_offload_info_t *offloadInfo = NULL, 278 const audio_offload_info_t *offloadInfo = NULL, 326 const audio_offload_info_t *offloadInfo = NULL,
|
D | MediaPlayerInterface.h | 122 const audio_offload_info_t *offloadInfo = NULL,
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioTrack.h | 247 const audio_offload_info_t *offloadInfo = NULL, 278 const audio_offload_info_t *offloadInfo = NULL, 326 const audio_offload_info_t *offloadInfo = NULL,
|
/frameworks/av/media/libmediaplayer2/include/mediaplayer2/ |
D | MediaPlayer2AudioOutput.h | 69 const audio_offload_info_t *offloadInfo = NULL,
|
D | MediaPlayer2Interface.h | 109 const audio_offload_info_t *offloadInfo = NULL,
|
/frameworks/av/media/libmediaplayer2/ |
D | MediaPlayer2AudioOutput.cpp | 263 const audio_offload_info_t *offloadInfo, in open() argument 271 ((cb == nullptr) || (offloadInfo == nullptr))) { in open()
|
/frameworks/av/media/libaudioclient/ |
D | AudioTrack.cpp | 240 const audio_offload_info_t *offloadInfo, in AudioTrack() argument 258 offloadInfo, uid, pid, pAttributes, doNotReconnect, maxRequiredSpeed, selectedDeviceId); in AudioTrack() 273 const audio_offload_info_t *offloadInfo, in AudioTrack() argument 290 sharedBuffer, false /*threadCanCallJava*/, sessionId, transferType, offloadInfo, in AudioTrack() 340 const audio_offload_info_t *offloadInfo, in set() argument 513 if (offloadInfo != NULL) { in set() 514 mOffloadInfoCopy = *offloadInfo; in set()
|
/frameworks/av/media/libmediaplayerservice/include/ |
D | MediaPlayerInterface.h | 122 const audio_offload_info_t *offloadInfo = NULL,
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 3120 bool AudioPolicyManager::isOffloadSupported(const audio_offload_info_t& offloadInfo) in isOffloadSupported() argument 3124 offloadInfo.sample_rate, offloadInfo.channel_mask, in isOffloadSupported() 3125 offloadInfo.format, in isOffloadSupported() 3126 offloadInfo.stream_type, offloadInfo.bit_rate, offloadInfo.duration_us, in isOffloadSupported() 3127 offloadInfo.has_video); in isOffloadSupported() 3140 if (offloadInfo.stream_type != AUDIO_STREAM_MUSIC) in isOffloadSupported() 3149 if (offloadInfo.has_video && !allowOffloadWithVideo) { in isOffloadSupported() 3158 if (offloadInfo.duration_us < min_duration_secs * 1000000LL) { in isOffloadSupported() 3163 } else if (offloadInfo.duration_us < OFFLOAD_DEFAULT_MIN_DURATION_SECS * 1000000) { in isOffloadSupported() 3181 offloadInfo.sample_rate, in isOffloadSupported() [all …]
|
D | AudioPolicyManager.h | 224 virtual bool isOffloadSupported(const audio_offload_info_t& offloadInfo);
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 204 virtual bool isOffloadSupported(const audio_offload_info_t& offloadInfo) = 0;
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.h | 105 const audio_offload_info_t *offloadInfo = NULL,
|
D | MediaPlayerService.cpp | 1870 const audio_offload_info_t *offloadInfo, in open() argument 1880 ((cb == NULL) || (offloadInfo == NULL))) { in open() 2001 offloadInfo, in open()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.cpp | 1770 const audio_offload_info_t *offloadInfo);
|