Home
last modified time | relevance | path

Searched refs:halOffload (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/audio/common/all-versions/default/
DHidlUtils.cpp118 status_t HidlUtils::audioOffloadInfoFromHal(const audio_offload_info_t& halOffload, in audioOffloadInfoFromHal() argument
120 offload->sampleRateHz = halOffload.sample_rate; in audioOffloadInfoFromHal()
121 offload->channelMask = EnumBitfield<AudioChannelMask>(halOffload.channel_mask); in audioOffloadInfoFromHal()
122 offload->format = AudioFormat(halOffload.format); in audioOffloadInfoFromHal()
123 offload->streamType = AudioStreamType(halOffload.stream_type); in audioOffloadInfoFromHal()
124 offload->bitRatePerSecond = halOffload.bit_rate; in audioOffloadInfoFromHal()
125 offload->durationMicroseconds = halOffload.duration_us; in audioOffloadInfoFromHal()
126 offload->hasVideo = halOffload.has_video; in audioOffloadInfoFromHal()
127 offload->isStreaming = halOffload.is_streaming; in audioOffloadInfoFromHal()
128 offload->bitWidth = halOffload.bit_width; in audioOffloadInfoFromHal()
[all …]
DHidlUtils.h59 static status_t audioOffloadInfoFromHal(const audio_offload_info_t& halOffload,
62 audio_offload_info_t* halOffload);
/hardware/interfaces/audio/common/all-versions/default/7.0/
DHidlUtils.cpp514 status_t HidlUtils::audioOffloadInfoFromHal(const audio_offload_info_t& halOffload, in audioUsageFromHal() argument
517 audio_config_base_t halConfigBase = {halOffload.sample_rate, halOffload.channel_mask, in audioUsageFromHal()
518 halOffload.format}; in audioUsageFromHal()
521 CONVERT_CHECKED(audioStreamTypeFromHal(halOffload.stream_type, &offload->streamType), result); in audioUsageFromHal()
522 offload->bitRatePerSecond = halOffload.bit_rate; in audioUsageFromHal()
523 offload->durationMicroseconds = halOffload.duration_us; in audioUsageFromHal()
524 offload->hasVideo = halOffload.has_video; in audioUsageFromHal()
525 offload->isStreaming = halOffload.is_streaming; in audioUsageFromHal()
526 offload->bitWidth = halOffload.bit_width; in audioUsageFromHal()
527 offload->bufferSize = halOffload.offload_buffer_size; in audioUsageFromHal()
[all …]
/hardware/interfaces/audio/effect/all-versions/default/
DEffect.cpp391 effect_offload_param_t* halOffload) { in effectOffloadParamToHal() argument
392 halOffload->isOffload = offload.isOffload; in effectOffloadParamToHal()
393 halOffload->ioHandle = offload.ioHandle; in effectOffloadParamToHal()
DEffect.h219 effect_offload_param_t* halOffload);