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.c274 int slot_index, bit_index, table_index; in profile_enum_sample_formats() local
275 table_index = 0; in profile_enum_sample_formats()
277 for (slot_index = 0; slot_index < num_slots && table_index < table_size; in profile_enum_sample_formats()
281 bit_index < bits_per_slot && table_index < table_size; in profile_enum_sample_formats()
284 enum pcm_format format = pcm_format_value_map[table_index]; in profile_enum_sample_formats()
295 table_index++; in profile_enum_sample_formats()