Lines Matching refs:offloadInfo
875 const audio_offload_info_t *offloadInfo)
884 flags, offloadInfo);
895 const audio_offload_info_t *offloadInfo)
974 flags, offloadInfo);
989 const audio_offload_info_t *offloadInfo)
1012 if (offloadInfo != NULL) {
1013 config.offload_info = *offloadInfo;
1106 if (offloadInfo != NULL) {
1107 config.offload_info = *offloadInfo;
2338 bool AudioPolicyManager::isOffloadSupported(const audio_offload_info_t& offloadInfo)
2342 offloadInfo.sample_rate, offloadInfo.channel_mask,
2343 offloadInfo.format,
2344 offloadInfo.stream_type, offloadInfo.bit_rate, offloadInfo.duration_us,
2345 offloadInfo.has_video);
2357 if (offloadInfo.stream_type != AUDIO_STREAM_MUSIC)
2364 if (offloadInfo.has_video)
2372 if (offloadInfo.duration_us < (atoi(propValue) * 1000000 )) {
2376 } else if (offloadInfo.duration_us < OFFLOAD_DEFAULT_MIN_DURATION_SECS * 1000000) {
2394 offloadInfo.sample_rate,
2395 offloadInfo.format,
2396 offloadInfo.channel_mask,