git: 903873ce1560 - main - Implement and use new mixer(3) library for FreeBSD.

Christos Margiolis christos at margiolis.net
Mon Oct 4 10:17:40 UTC 2021


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


More information about the dev-commits-src-all mailing list