alsa-utils/alsamixer/utils.h
Clemens Ladisch 5b6b5fd14b alsamixer: show channel names for multichannel controls
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>
2009-05-25 10:26:22 +02:00

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