Lines Matching defs:profile
61 static void profile_reset(alsa_device_profile* profile) in profile_reset()
76 void profile_init(alsa_device_profile* profile, int direction) in profile_init()
82 bool profile_is_initialized(const alsa_device_profile* profile) in profile_is_initialized()
87 bool profile_is_valid(const alsa_device_profile* profile) { in profile_is_valid()
91 bool profile_is_cached_for(const alsa_device_profile* profile, int card, int device) { in profile_is_cached_for()
95 void profile_decache(alsa_device_profile* profile) { in profile_decache()
110 unsigned profile_calc_min_period_size(const alsa_device_profile* profile, unsigned sample_rate) in profile_calc_min_period_size()
126 unsigned int profile_get_period_size(const alsa_device_profile* profile, unsigned sample_rate) in profile_get_period_size()
136 unsigned profile_get_default_sample_rate(const alsa_device_profile* profile) in profile_get_default_sample_rate()
150 unsigned profile_get_highest_sample_rate(const alsa_device_profile* profile) { in profile_get_highest_sample_rate()
158 bool profile_is_sample_rate_valid(const alsa_device_profile* profile, unsigned rate) in profile_is_sample_rate_valid()
178 enum pcm_format profile_get_default_format(const alsa_device_profile* profile) in profile_get_default_format()
186 bool profile_is_format_valid(const alsa_device_profile* profile, enum pcm_format fmt) { in profile_is_format_valid()
204 unsigned profile_get_default_channel_count(const alsa_device_profile* profile) in profile_get_default_channel_count()
209 unsigned profile_get_closest_channel_count(const alsa_device_profile* profile, unsigned count) in profile_get_closest_channel_count()
224 bool profile_is_channel_count_valid(const alsa_device_profile* profile, unsigned count) in profile_is_channel_count_valid()
233 static bool profile_test_sample_rate(const alsa_device_profile* profile, unsigned rate) in profile_test_sample_rate()
273 static unsigned profile_enum_sample_rates(alsa_device_profile* profile, unsigned min, unsigned max) in profile_enum_sample_rates()
290 static unsigned profile_enum_sample_formats(alsa_device_profile* profile, in profile_enum_sample_formats()
327 static unsigned profile_enum_channel_counts(alsa_device_profile* profile, unsigned min, in profile_enum_channel_counts()
375 static int read_alsa_device_config(alsa_device_profile * profile, struct pcm_config * config) in read_alsa_device_config()
436 bool profile_read_device_info(alsa_device_profile* profile) in profile_read_device_info()
476 char * profile_get_sample_rate_strs(const alsa_device_profile* profile) in profile_get_sample_rate_strs()
509 char * profile_get_format_strs(const alsa_device_profile* profile) in profile_get_format_strs()
540 char * profile_get_channel_count_strs(const alsa_device_profile* profile) in profile_get_channel_count_strs()
662 void profile_dump(const alsa_device_profile* profile, int fd) in profile_dump()