Lines Matching refs:offload

110                                         AudioOffloadInfo* offload) {  in audioOffloadInfoFromHal()  argument
111 offload->sampleRateHz = halOffload.sample_rate; in audioOffloadInfoFromHal()
112 offload->channelMask = EnumBitfield<AudioChannelMask>(halOffload.channel_mask); in audioOffloadInfoFromHal()
113 offload->format = AudioFormat(halOffload.format); in audioOffloadInfoFromHal()
114 offload->streamType = AudioStreamType(halOffload.stream_type); in audioOffloadInfoFromHal()
115 offload->bitRatePerSecond = halOffload.bit_rate; in audioOffloadInfoFromHal()
116 offload->durationMicroseconds = halOffload.duration_us; in audioOffloadInfoFromHal()
117 offload->hasVideo = halOffload.has_video; in audioOffloadInfoFromHal()
118 offload->isStreaming = halOffload.is_streaming; in audioOffloadInfoFromHal()
119 offload->bitWidth = halOffload.bit_width; in audioOffloadInfoFromHal()
120 offload->bufferSize = halOffload.offload_buffer_size; in audioOffloadInfoFromHal()
121 offload->usage = audioUsageFromHal(halOffload.usage); in audioOffloadInfoFromHal()
124 void HidlUtils::audioOffloadInfoToHal(const AudioOffloadInfo& offload, in audioOffloadInfoToHal() argument
127 halOffload->sample_rate = offload.sampleRateHz; in audioOffloadInfoToHal()
128 halOffload->channel_mask = static_cast<audio_channel_mask_t>(offload.channelMask); in audioOffloadInfoToHal()
129 halOffload->format = static_cast<audio_format_t>(offload.format); in audioOffloadInfoToHal()
130 halOffload->stream_type = static_cast<audio_stream_type_t>(offload.streamType); in audioOffloadInfoToHal()
131 halOffload->bit_rate = offload.bitRatePerSecond; in audioOffloadInfoToHal()
132 halOffload->duration_us = offload.durationMicroseconds; in audioOffloadInfoToHal()
133 halOffload->has_video = offload.hasVideo; in audioOffloadInfoToHal()
134 halOffload->is_streaming = offload.isStreaming; in audioOffloadInfoToHal()
135 halOffload->bit_width = offload.bitWidth; in audioOffloadInfoToHal()
136 halOffload->offload_buffer_size = offload.bufferSize; in audioOffloadInfoToHal()
137 halOffload->usage = audioUsageToHal(offload.usage); in audioOffloadInfoToHal()