Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Oct 2021 13:17:26 +0300
From:      Christos Margiolis <christos@margiolis.net>
To:        Mateusz Piotrowski <0mp@FreeBSD.org>, src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Cc:        Hans Petter Selasky <hps@selasky.org>
Subject:   Re: git: 903873ce1560 - main - Implement and use new mixer(3) library for FreeBSD.
Message-ID:  <20211004101726.wraje5ol5vwbhjcv@pleb>
In-Reply-To: <e48b1538-db29-50a4-9cf2-57615144132d@FreeBSD.org>
References:  <202109221803.18MI3gdA013391@gitrepo.freebsd.org> <3d6a23c3-ad2c-4c5b-849e-1ef12dbf8955@FreeBSD.org> <487fa0f2-d845-438f-a035-8b7ccba4285a@selasky.org> <e48b1538-db29-50a4-9cf2-57615144132d@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 04, 2021 at 10:48:03AM +0200, Mateusz Piotrowski wrote:
> Hmm, I agree that mute and volume controls in the new CLI interface are very
> consistent. However, in case of the old CLI interface, the mute
> functionality could also be added without a problem (at least by looking at
> the manual pages, the "mute" command could look like this: "mixer mute
> vol"). My point is that I feel that the CLI interface should be
> backwards-compatible in this case.

I think the new interface is more readable and extensible than the old
one, and, as you mentioned, mixer(8) did need an upgrade, so it might be
better to have it changed from now on and keep the old version as a port,
than to keep working on an -- in my opinion -- obsolete interface and code.

> > Would it help to make a port, like "oldmixer", under "audio" ?
> 
> That's a good idea. I've committed the "old" mixer to the ports tree: https://cgit.freebsd.org/ports/commit/?id=e9a0efe4509b8dbdef0b4e4b5b94abf0aebd78a9.

Yeap, that's a good idea indeed.

--
Christos



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20211004101726.wraje5ol5vwbhjcv>