Lines Matching refs:formats
66 profile->formats[0] = PCM_FORMAT_INVALID; in profile_reset()
183 return profile_is_valid(profile) ? profile->formats[0] : DEFAULT_SAMPLE_FORMAT; in profile_get_default_format()
189 for (index = 0; profile->formats[index] != PCM_FORMAT_INVALID; index++) { in profile_is_format_valid()
190 if (profile->formats[index] == fmt) { in profile_is_format_valid()
287 profile->formats[num_written++] = format; in profile_enum_sample_formats()
288 if (num_written == ARRAY_SIZE(profile->formats) - 1) { in profile_enum_sample_formats()
299 profile->formats[num_written] = PCM_FORMAT_INVALID; in profile_enum_sample_formats()
482 for (index = 0; profile->formats[index] != PCM_FORMAT_INVALID; index++) { in profile_get_format_strs()
484 if (buffSize - curStrLen < strlen(format_string_map[profile->formats[index]]) in profile_get_format_strs()
494 curStrLen = strlcat(buffer, format_string_map[profile->formats[index]], buffSize); in profile_get_format_strs()
618 profile->formats[fmtIndex] != PCM_FORMAT_INVALID && fmtIndex < MAX_PROFILE_FORMATS; in profile_dump()
620 dprintf(fd, "%d ", profile->formats[fmtIndex]); in profile_dump()