shithub: riscv

ref: a078bdb66a95b9d604cfc0ba4122feec2e040c68
dir: /sys/man/8/wm8960/

View raw version
.TH WM8960 8
.SH NAME
wm8960 \- audio controls for MNT Reform 2
.SH SYNOPSIS
.B aux/wm8960
[
.B -D
]
[
.B -1
]
[
.B -m
.I mountpoint
]
[
.B -s
.I service
]
.SH DESCRIPTION
.I Aux/imx8pm
presents at
.I mountpoint
(default
.BR /mnt/wm8960 )
an interface to control the DAC (Digital-to-Analog Converter) found on
MNT Reform 2.  If a
.I service
is specified, the interface will be posted at
.BI /srv/ service 
as well. In order to only initialize the DAC and immediately exit without
running a file system, option
.I -1
can be used.
.PP
The directory contains the following files.
.TP
.B audioctl
Shows the current status
.I (on
or
.I off )
of the three "outputs" -
.BR master ,
.BR hp
and
.BR spk .
Each can be enabled, disabled or toggled, by writing a single line
to the same file, consisting of the output name and the desired action -
.I on ,
.I off
or
.I toggle ,
accordingly.
.IP
DAC can be reinitialized by writing a single
.BR reset .
.TP
.B volume
Provides an interface for volume control (see \fIaudio\fR(3)). Only
44100Hz (default) and 48000Hz sample rates are supported.
.IP
Enhanced stereo separation can be enabled by writing
.BR 3d ,
followed by desired percentage of the effect.
.SH SOURCE
.B /sys/src/cmd/aux/wm8960.c
.SH SEE ALSO
.IR imx8pm (8)
.SH BUGS
Absolutely yes.
.SH HISTORY
.I Wm8960
first appeared in 9front (August, 2022).