Deleted Added
full compact
mixer.8 (21482) mixer.8 (29612)
1.\" Copyright (c) 1997
2.\" Mike Pritchard <mpp@FreeBSD.ORG>. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 19 unchanged lines hidden (view full) ---

28.Dd January 9, 1997
29.Dt MIXER 8
30.Os
31.Sh NAME
32.Nm mixer
33.Nd set/display soundcard mixer values
34.Sh SYNOPSIS
35.Nm
1.\" Copyright (c) 1997
2.\" Mike Pritchard <mpp@FreeBSD.ORG>. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 19 unchanged lines hidden (view full) ---

28.Dd January 9, 1997
29.Dt MIXER 8
30.Os
31.Sh NAME
32.Nm mixer
33.Nd set/display soundcard mixer values
34.Sh SYNOPSIS
35.Nm
36.Nm mixer
37.Ar setting
38.Op Ar lvalue:rvalue
39.Nm mixer
40.Ar +rec | -rec
41.Op Ar device
36.Op Fl f Ar device
37.Oo
38.Oo Ns
39.Ar dev Op Ar lvol Ns Op Ar :rvol
40.Li | recsrc |
41.Ar {^|+|-|=}rec rdev
42.Oc
43.Ar ... \&
44.Oc
42.Sh DESCRIPTION
43The
44.Nm
45.Sh DESCRIPTION
46The
47.Nm
45command is used to set and display soundcard mixer settings. It may also be
46used to start and stop recording from the soundcard. The list of mixer
47settings that may
48be modified are:
48command is used to set and display soundcard mixer device levels. It may
49also be used to start and stop recording from the soundcard. The list
50of mixer devices that may be modified are:
49.Pp
51.Pp
52.Bd -ragged -offset indent
50vol, bass, treble, synth, pcm, speaker, mic, cd, mix,
51pcm2, rec, igain, ogain, line1, line2, and line3.
53vol, bass, treble, synth, pcm, speaker, mic, cd, mix,
54pcm2, rec, igain, ogain, line1, line2, and line3.
55.Ed
52.Pp
56.Pp
53Not all mixer settings are available on all soundcards.
57Not all mixer devices are available.
54.Pp
55When
56.Nm
58.Pp
59When
60.Nm
57is run without any arguments, all settings that are supported by the
58soundcard will be displayed.
61is run without any arguments, all supported devices are displayed
62along with current values.
59If the
63If the
60.Ar setting
61argument is specified, then only the value for
62the
63.Ar setting
64mixer will be displayed.
64.Ar dev
65argument is specified, the value for the
66.Ar dev
67device will be displayed.
65.Pp
66To modify the mixer value
68.Pp
69To modify the mixer value
67.Ar setting ,
70.Ar dev ,
68the optional left and right channel settings of
71the optional left and right channel settings of
69.Ar lvalue:rvalue
72.Ar lvol Ns Op Ar :rvol
70may be specified. The
73may be specified. The
71.Ar lvalue
74.Ar lvol
72and
75and
73.Ar rvalue
76.Ar rvol
74arguments may be from 0 - 100.
75.Pp
77arguments may be from 0 - 100.
78.Pp
76To start recording, use the
77.Ar +rec
78argument. To stop recording, use the
79.Ar -rec
80argument. The optional argument
79To change the recording device you use one of:
80.Bl -tag -width =rec -offset indent
81.It ^rec
82toggles
83.Ar rdev
84of possible recording devices
85.It +rec
86adds
87.Ar rdev
88to possible recording devices
89.It -rec
90removes
91.Ar rdev
92from possible recording devices
93.It =rec
94sets the recording device to
95.Ar rdev
96.El
97.Pp
98The above commands work on an internal mask. After all the options
99have been parsed, it will set then read the mask from the sound card.
100This will let you see EXACTLY what the soundcard is using for the
101recording device(s).
102.Pp
103The option recsrc will display the current recording devices.
104.Pp
105The option
106.Fl f
81.Ar device
107.Ar device
82may be specified to use a different
83mixer device. The default device is
84.Pa /dev/mixer .
108will open
109.Ar device
110as the mixer device.
111This will ONLY work if the
112.Fl f
113option is immediately after the
114.Nm
115command.
85.Sh FILES
86.Bl -tag -width /dev/mixer -compact
87.It Pa /dev/mixer
88The default mixer device.
89.Sh SEE ALSO
90.Xr cdcontrol 1 ,
91.Xr cdplay 1
92.Sh HISTORY
93The
94.Nm
95command first appeared in
96.Fx 2.0.5 .
97.Sh AUTHORS
116.Sh FILES
117.Bl -tag -width /dev/mixer -compact
118.It Pa /dev/mixer
119The default mixer device.
120.Sh SEE ALSO
121.Xr cdcontrol 1 ,
122.Xr cdplay 1
123.Sh HISTORY
124The
125.Nm
126command first appeared in
127.Fx 2.0.5 .
128.Sh AUTHORS
98Craig Metz and Hannu Savolainen.
129Original source by Craig Metz
130.Aq cmetz@thor.tjhsst.edu
131and Hannu Savolainen.
132Mostly rewriten by John-Mark Gurney
133.Aq jmg@freebsd.org .
99This
100manual page was written by Mike Pritchard
101.Aq mpp@FreeBSD.ORG .
134This
135manual page was written by Mike Pritchard
136.Aq mpp@FreeBSD.ORG .