Home
last modified time | relevance | path

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

/hardware/qcom/audio/hal/
Daudio_hw.c1337 uint32_t num_masks = 0; in read_usb_sup_channel_masks() local
1344 supported_channel_masks[num_masks++] = audio_channel_out_mask_from_count(FCC_2); in read_usb_sup_channel_masks()
1347 channel_count <= channels && num_masks < max_masks; in read_usb_sup_channel_masks()
1349 supported_channel_masks[num_masks++] = in read_usb_sup_channel_masks()
1357 for ( ; channel_count <= channels && num_masks < max_masks; channel_count++) { in read_usb_sup_channel_masks()
1361 supported_channel_masks[num_masks++] = mask; in read_usb_sup_channel_masks()
1365 if (mask != index_mask && num_masks < max_masks) { // ensure index mask added. in read_usb_sup_channel_masks()
1366 supported_channel_masks[num_masks++] = index_mask; in read_usb_sup_channel_masks()
1371 for (size_t i = 0; i < num_masks; ++i) { in read_usb_sup_channel_masks()
1373 is_playback ? "P" : "C", channels, i, supported_channel_masks[i], num_masks); in read_usb_sup_channel_masks()
[all …]