mixer

FreeBSD OSS mixer library implementation and a complete rewrite of mixer(8)
git clone git://git.margiolis.net/mixer.git
Log | Files | Refs | README | LICENSE

commit c8d2ce629eaf47ea4e1d9ed2ca042c7c32647863
parent 2af628da5f2584609c62309194e900f3cbc1c75b
Author: Christos Margiolis <christos@margiolis.net>
Date:   Thu, 17 Mar 2022 20:02:22 +0200

mixer(8): fix redundant printout

Diffstat:
Ausr.sbin/mixer/mixer | 0
Ausr.sbin/mixer/mixer.8.gz | 0
Musr.sbin/mixer/mixer.c | 8++------
Ausr.sbin/mixer/mixer.debug | 0
Ausr.sbin/mixer/mixer.full | 0
5 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/usr.sbin/mixer/mixer b/usr.sbin/mixer/mixer Binary files differ. diff --git a/usr.sbin/mixer/mixer.8.gz b/usr.sbin/mixer/mixer.8.gz Binary files differ. diff --git a/usr.sbin/mixer/mixer.c b/usr.sbin/mixer/mixer.c @@ -248,12 +248,8 @@ printdev(struct mixer *m, int oflag) mix_ctl_t *cp; if (!oflag) { - char buffer[32]; - (void)snprintf(buffer, sizeof(buffer), - "%s.%s", d->name, "volume"); - - printf(" %-16s= %.2f:%.2f\t", - buffer, d->vol.left, d->vol.right); + printf(" %-10s= %.2f:%.2f ", + d->name, d->vol.left, d->vol.right); if (!MIX_ISREC(m, d->devno)) printf(" pbk"); if (MIX_ISREC(m, d->devno)) diff --git a/usr.sbin/mixer/mixer.debug b/usr.sbin/mixer/mixer.debug Binary files differ. diff --git a/usr.sbin/mixer/mixer.full b/usr.sbin/mixer/mixer.full Binary files differ.