Home
last modified time | relevance | path

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

/system/media/alsa_utils/
Dalsa_format.c93 int slot_index, bit_index, table_index; in get_pcm_format_for_mask() local
94 table_index = 0; in get_pcm_format_for_mask()
95 for (slot_index = 0; slot_index < num_slots && table_index < table_size; slot_index++) { in get_pcm_format_for_mask()
97 for (bit_index = 0; bit_index < bits_per_slot && table_index < table_size; bit_index++) { in get_pcm_format_for_mask()
99 if (table_index >= 2 && (mask->bits[slot_index] & bit_mask) != 0) { in get_pcm_format_for_mask()
101 return (int)pcm_format_value_map[table_index]; in get_pcm_format_for_mask()
104 table_index++; in get_pcm_format_for_mask()
Dalsa_device_profile.c260 int slot_index, bit_index, table_index; in profile_enum_sample_formats() local
261 table_index = 0; in profile_enum_sample_formats()
263 for (slot_index = 0; slot_index < num_slots && table_index < table_size; in profile_enum_sample_formats()
267 bit_index < bits_per_slot && table_index < table_size; in profile_enum_sample_formats()
270 enum pcm_format format = pcm_format_value_map[table_index]; in profile_enum_sample_formats()
281 table_index++; in profile_enum_sample_formats()