Home
last modified time | relevance | path

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

/device/google/dragon/audio/hal/
Daudio_hw.c1038 size_t dst_channels = audio_channel_count_from_in_mask(in->main_channels); in read_and_process_frames() local
1039 bool channel_remapping_needed = (dst_channels != src_channels); in read_and_process_frames()
1138 size_t ret = adjust_channels(proc_buf_out, src_channels, buffer, dst_channels, in read_and_process_frames()
1140 ALOG_ASSERT(ret == (frames_wr * dst_channels * bytes_per_sample)); in read_and_process_frames()
2129 size_t dst_channels = pcm_device->pcm_profile->config.channels; in out_write() local
2130 bool channel_remapping_needed = (dst_channels != src_channels); in out_write()
2151 size_t dest_buffer_size = audio_bytes * dst_channels / src_channels; in out_write()
2162 … new_size = adjust_channels(audio_data, src_channels, out->proc_buf_out, dst_channels, in out_write()