Home
last modified time | relevance | path

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

/hardware/libhardware/modules/usbaudio/
Daudio_hal.c92 unsigned hal_channel_count; /* channel count exposed to AudioFlinger. member
125 unsigned hal_channel_count; /* channel count exposed to AudioFlinger. member
445 const int num_req_channels = out->hal_channel_count; /* what we told AudioFlinger */ in out_write()
605 out->hal_channel_count = profile_get_default_channel_count(&out->profile); in adev_open_output_stream()
609 out->hal_channel_count = audio_channel_count_from_out_mask(config->channel_mask); in adev_open_output_stream()
613 if (out->hal_channel_count > FCC_8) { in adev_open_output_stream()
614 out->hal_channel_count = FCC_8; in adev_open_output_stream()
621 config->channel_mask = out->hal_channel_count <= FCC_2 in adev_open_output_stream()
623 ? audio_channel_out_mask_from_count(out->hal_channel_count) in adev_open_output_stream()
625 : audio_channel_mask_for_index_assignment_from_count(out->hal_channel_count); in adev_open_output_stream()
[all …]