Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/mixer/mixer.8
Show All 15 Lines | |||||
.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | .\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||||
.\" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | .\" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||||
.\" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | .\" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||||
.\" OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | .\" OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||||
.\" THE SOFTWARE. | .\" THE SOFTWARE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd March 13, 2022 | .Dd March 18, 2022 | ||||
.Dt MIXER 8 | .Dt MIXER 8 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm mixer | .Nm mixer | ||||
.Nd manipulate soundcard mixer controls | .Nd manipulate soundcard mixer controls | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Op Fl f Ar device | .Op Fl f Ar device | ||||
Show All 16 Lines | |||||
.Bl -tag -width "-f device" | .Bl -tag -width "-f device" | ||||
.It Fl a | .It Fl a | ||||
Print the values for all mixer devices available in the system | Print the values for all mixer devices available in the system | ||||
.Pq see Sx FILES . | .Pq see Sx FILES . | ||||
.It Fl d Ar unit | .It Fl d Ar unit | ||||
Change the default audio card to | Change the default audio card to | ||||
.Ar unit . | .Ar unit . | ||||
The unit has to be an integer value. | The unit has to be an integer value. | ||||
To see what unit values are available, look | To see what unit values are available, look at the number each mixer device has by running | ||||
at the number each mixer device has by running | |||||
.Nm . | .Nm . | ||||
.It Fl f Ar device | .It Fl f Ar device | ||||
Open | Open | ||||
.Ar device | .Ar device | ||||
as the mixer device | as the mixer device | ||||
.Pq see Sx FILES . | .Pq see Sx FILES . | ||||
.It Fl h | .It Fl h | ||||
Print a help message. | Print a help message. | ||||
▲ Show 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | |||||
The | The | ||||
.Ar dev Ns Cm .volume | .Ar dev Ns Cm .volume | ||||
control modifies a device's volume. | control modifies a device's volume. | ||||
The optional | The optional | ||||
.Ar lvol | .Ar lvol | ||||
and/or | and/or | ||||
.Ar rvol | .Ar rvol | ||||
values have to be specified. | values have to be specified. | ||||
The values have to be normalized 32-bit floats, | The values have to be normalized 32-bit floats, from 0.0 to 1.0 inclusively. | ||||
from 0.0 to 1.0 inclusivly. | |||||
If no | If no | ||||
.Ql \&. | .Ql \&. | ||||
character is present, the value is treated | character is present, the value is treated like a percentage, for backwards compatibility. | ||||
like a percentage, for backwards compatibility. | |||||
If the left or right volume values are prefixed with | If the left or right volume values are prefixed with | ||||
.Cm + | .Cm + | ||||
or | or | ||||
.Cm - , | .Cm - , | ||||
the value following will be used as a relative adjustment, modifying the | the value following will be used as a relative adjustment, modifying the | ||||
current settings by the amount specified. | current settings by the amount specified. | ||||
.Pp | .Pp | ||||
The | The | ||||
▲ Show 20 Lines • Show All 124 Lines • Show Last 20 Lines |