mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 13:46:30 +01: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>
10 lines
287 B
C
10 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
|