History log of /freebsd-current/usr.sbin/mixer/mixer.8
Revision Date Author Comments
# cc7479d7 11-Feb-2024 Christos Margiolis <christos@FreeBSD.org>

mixer(8): Improve mute and recsrc controls

The input options of "dev.mute" (+, -, ^) and "dev.recsrc" (+, -, ^, =)
are quite cryptic. Allow the input to also be an actual description of
what these options do.

+ -> add (recsrc)
- -> remove (recsrc)
^ -> toggle (recsrc, mute)
= -> set (recsrc)
0 -> off (mute)
1 -> on (mute)

Also, deprecate the use of the symbol options in the EXAMPLES section of
the man page, by using the new descriptive options.

In the future, we might want to get rid of the symbol options
altogether, but preserve backwards compatibility for now.

Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Reviewed by: dev_submerge.ch, imp
Differential Revision: https://reviews.freebsd.org/D43796


# 7bd14d09 11-Feb-2024 Christos Margiolis <christos@FreeBSD.org>

mixer.8: Fix wrong sentence

246e0457d93071ffd901c78e3ee7badc5f51bd4c ("mixer.8: Add terse example
for increasing volume") mentions that the example changes the volume of
the "first mixer found", while the example shows how the change the
volume of the current mixer's "vol" device. Re-phrease sentence to
reflect the actual behavior of the command.

Also, improve the example by using the % operator, instead of hardcoding
0.05.

Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Reviewed by: dev_submerge.ch, markj
Differential Revision: https://reviews.freebsd.org/D43795


# 75be886e 11-Feb-2024 Christos Margiolis <christos@FreeBSD.org>

mixer(8): Allow full PCM device names as input for the -d option

The -d option is a wrapper around hw.snd.default_unit. Currently
mixer(8) expects the option argument to be just the unit's number (e.g
pcm0 -> 0). To avoid confusion, allow full device names of the form
"pcmN" as well.

While here, improve the -d option's description in the man page.

Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Reviewed by: dev_submerge.ch, imp
Differential Revision: https://reviews.freebsd.org/D43794


# 246e0457 11-Jan-2024 Alexander Ziaee <concussious@runbox.com>

mixer.8: Add terse example for increasing volume

Reviewed by: jhb
Pull Request: https://github.com/freebsd/freebsd-src/pull/1044


# fa9896e0 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line nroff pattern

Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/


# 4014365e 29-Apr-2022 Kyle Evans <kevans@FreeBSD.org>

mixer: remove volume backwards compat, add % interpretation

The current situation is fairly confusing, where an integer is interpreted
as a percent until you slap a decimal on it and magically it becomes an
absolute value.

Let's have a flag day in 14.0 and remove this shim entirely. Setting with
percent can still be useful, so allow a trailing '%' to indicate as such.
As a side effect, we tighten down the format allowed in the volume a little
bit by ensuring there's no trailing garbage after the value once it's
separated into left and right components.

Reviewed by: christos, hselasky, pauamma_gundo.com (manpages)
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D35101


# 95e96c00 20-Mar-2022 Hans Petter Selasky <hselasky@FreeBSD.org>

mixer.8: Document shorthand syntax for volume setting.

Submitted by: christos@
Differential Revision: https://reviews.freebsd.org/D34614
Sponsored by: NVIDIA Networking


# bde84602 20-Mar-2022 Hans Petter Selasky <hselasky@FreeBSD.org>

mixer.4 and mixer.8: Fix mandoc -Tlint errors.

Submitted by: christos@
Differential Revision: https://reviews.freebsd.org/D34603
Sponsored by: NVIDIA Networking


# c36d0422 13-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

mixer .8: Clean up the manual page

- Use correct macros (e.g., Pa for paths, Ar for arguments, Cm for
command modifiers).
- Pet igor and mandoc -Tlint (e.g., start sentences after a newline).
- Use Ta instead of a tab character in tables.
- Stylize all table headers with Sy consistency.
- Add a missing "vol" variant to the synopsis of "dev.volume".
- Sort dev.recsrc command modifiers consistency.
- Use "Bd -literal" for code blocks in the examples. "Bl -tag" is not
the right macro for that.

Fixes: 903873ce1560 Implement and use new mixer(3) library for FreeBSD.


# ce74223a 20-Nov-2021 Christos Margiolis <christos@FreeBSD.org>

mixer: make .Dt tags uppercase

The document title should be uppercase in man pages.

Reviewed by: imp, gbe
MFC after: 5 days
Differential Revision: https://reviews.freebsd.org/D33027


# a3a82ed8 17-Oct-2021 Mateusz Piotrowski <0mp@FreeBSD.org>

mixer.8: Document -h


# db6ba1e0 22-Sep-2021 Hans Petter Selasky <hselasky@FreeBSD.org>

mixer(3) and mixer(8): Update manual pages.

- Use correct e-mail address.
- Set FreeBSD 14.0 as introduction for the updated mixer(8) utility.

Submitted by: christos@
Differential Revision: https://reviews.freebsd.org/D31636
Sponsored by: NVIDIA Networking


# 903873ce 22-Sep-2021 Hans Petter Selasky <hselasky@FreeBSD.org>

Implement and use new mixer(3) library for FreeBSD.

Wiki article: https://wiki.freebsd.org/SummerOfCode2021Projects/SoundMixerImprovements
This project was part of Google Summer of Code 2021.

Submitted by: christos@
Differential Revision: https://reviews.freebsd.org/D31636
Sponsored by: NVIDIA Networking


# 01c2b8ac 20-Jun-2014 Baptiste Daroussin <bapt@FreeBSD.org>

use .Mt to mark up email addresses consistently (part2)

PR: 191174
Submitted by: Franco Fichtner <franco@lastsummer.de>


# b2c69646 02-Jun-2014 John-Mark Gurney <jmg@FreeBSD.org>

add Xref to sound(4)...

MFC after: 1 week


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# 0d9deed5 07-Oct-2010 Ulrich Spörlein <uqs@FreeBSD.org>

mdoc: drop redundant .Pp and .LP calls

They have no effect when coming in pairs, or before .Bl/.Bd


# 62486687 19-May-2010 Ulrich Spörlein <uqs@FreeBSD.org>

mdoc: consistently spell our email addresses <foo@FreeBSD.org>

Reviewed by: ru


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# c60bd3d3 14-Mar-2008 Jung-uk Kim <jkim@FreeBSD.org>

Update list of possible mixer devices. These devices were added to
soundcard.h more than ten years ago.


# a88ee16d 08-May-2007 Maxim Konovalov <maxim@FreeBSD.org>

o Add "line" device to a list of mixer(8) devices.

PR: docs/112520
Submitted by: Pietro Cerutti
MFC after: 1 week


# 9d73fabd 13-Jun-2005 Ruslan Ermilov <ru@FreeBSD.org>

Markup fixes.

Approved by: re (blanket)


# a1039247 13-Apr-2005 Matthew N. Dodd <mdodd@FreeBSD.org>

Add the -S flag which produces the -s output without
mixing field separators.


# 07bfccd7 02-Jul-2004 Ruslan Ermilov <ru@FreeBSD.org>

Mechanically kill hard sentence breaks.


# d37ea998 02-Jul-2004 Ruslan Ermilov <ru@FreeBSD.org>

Removed trailing whitespace.


# 872e095c 15-Jun-2003 Greg Lehey <grog@FreeBSD.org>

Document changes to default output.


# f062eac4 22-May-2003 Ruslan Ermilov <ru@FreeBSD.org>

Assorted mdoc(7) fixes.

Approved by: re (blanket)


# 22baecf2 09-Apr-2003 Matthew N. Dodd <mdodd@FreeBSD.org>

Implement relative mixer adjustment.

PR: 46679 (similar functionality)


# 490d5836 14-Jul-2002 Philippe Charnier <charnier@FreeBSD.org>

The .Nm utility


# f247324d 15-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

Remove whitespace at EOL.


# 5c7f33e1 09-Apr-2001 George C A Reid <greid@FreeBSD.org>

Change the behaviour of mixer slightly such that not explicitly specifying
a mixer device will set/get the master volume levels

PR: 25156
Submitted by: Tony Finch <dot@dotat.at>
Reviewed by: cg, nik


# 610a5778 01-Feb-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: split punctuation characters + misc fixes.


# f4d874a1 22-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: do not split author names in the AUTHORS section.


# 68a1b905 14-Aug-2000 Maxim Sobolev <sobomax@FreeBSD.org>

Several cleanups:
- use getopt(3) to parse command line arguments instead of home-made incomplete
parser;
- be more verbose when error in command line encountered (i.e. incorrect
playing/recording device, incorrect recsrc syntax).


# 7a120348 20-May-2000 Jordan K. Hubbard <jkh@FreeBSD.org>

I've always wanted to be able to dump out the current values of
the mixer in a format suitable for saving and handing off to
mixer(1) at some future date to restore the settings.
Add a -s flag to do this.


# f2e366a1 01-Mar-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


# 938b3a1e 01-Mar-2000 Nik Clayton <nik@FreeBSD.org>

Remove xrefs to obosolete cdplay(1)

PR: docs/17079
Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de>


# 13f6e0f3 27-Nov-1999 Philippe Charnier <charnier@FreeBSD.org>

Terminate .Bl with .El


# d824825b 30-Oct-1999 Mike Pritchard <mpp@FreeBSD.org>

Spelling fix.

PR: bin/14588
Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>


# 97d92980 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 414a35e6 12-Jul-1999 Nik Clayton <nik@FreeBSD.org>

Add $Id$, to make it simpler for members of the translation teams to
track.

The Id line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

.\" $Id$
.\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by: bde


# f12a1471 23-Mar-1998 Philippe Charnier <charnier@FreeBSD.org>

.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.


# cd94e9c3 29-Sep-1997 Philippe Charnier <charnier@FreeBSD.org>

Use err(3).


# eddcf96d 19-Sep-1997 John-Mark Gurney <jmg@FreeBSD.org>

major modifications to the mixer. currently it doesn't report errors
that it encounters (such as invalid device), but does print usage upon
this error...

but otherwise allows complex commands such as:
mixer -f /dev/mixer4 synth line 50 -rec mic +rec line =rec cd ^rec mix


# 34cf4302 09-Jan-1997 Mike Pritchard <mpp@FreeBSD.org>

Add a man page for mixer(8).