mirror of
https://gitee.com/openharmony/third_party_alsa-utils
synced 2024-11-27 09:01:36 +00:00
5b6b5fd14b
For multichannel mixer controls, add the channel name to each screen control. Also make some other small changes. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
11 lines
287 B
C
11 lines
287 B
C
#ifndef UTILS_H_INCLUDED
|
|
#define UTILS_H_INCLUDED
|
|
|
|
#define ARRAY_SIZE(a) (sizeof(a) / sizeof *(a))
|
|
|
|
unsigned int get_mbs_width(const char *s);
|
|
unsigned int get_max_mbs_width(const char *const *s, unsigned int count);
|
|
const char *mbs_at_width(const char *s, int *width, int dir);
|
|
|
|
#endif
|