Lines Matching refs:profile
65 void profile_init(alsa_device_profile* profile, int direction);
66 bool profile_is_initialized(const alsa_device_profile* profile);
67 bool profile_is_valid(const alsa_device_profile* profile);
68 bool profile_is_cached_for(const alsa_device_profile* profile, int card, int device);
69 void profile_decache(alsa_device_profile* profile);
71 bool profile_fill_builtin_device_info(alsa_device_profile* profile, struct pcm_config* config,
73 bool profile_read_device_info(alsa_device_profile* profile);
76 char * profile_get_sample_rate_strs(const alsa_device_profile* profile);
77 char * profile_get_format_strs(const alsa_device_profile* profile);
78 char * profile_get_channel_count_strs(const alsa_device_profile* profile);
81 unsigned profile_get_default_sample_rate(const alsa_device_profile* profile);
82 unsigned profile_get_highest_sample_rate(const alsa_device_profile* profile);
83 bool profile_is_sample_rate_valid(const alsa_device_profile* profile, unsigned rate);
86 enum pcm_format profile_get_default_format(const alsa_device_profile* profile);
87 bool profile_is_format_valid(const alsa_device_profile* profile, enum pcm_format fmt);
90 unsigned profile_get_default_channel_count(const alsa_device_profile* profile);
91 unsigned profile_get_closest_channel_count(const alsa_device_profile* profile, unsigned count);
92 bool profile_is_channel_count_valid(const alsa_device_profile* profile, unsigned count);
95 unsigned profile_calc_min_period_size(const alsa_device_profile* profile, unsigned sample_rate);
96 unsigned int profile_get_period_size(const alsa_device_profile* profile, unsigned sample_rate);
99 void profile_dump(const alsa_device_profile* profile, int fd);