The mixer device of
ym driver can be accessed by
mixerctl(1) command. The layout is shown below.
dac ------------------------<----- -----------------
midi(OPL3/ZV)->-+----------------------------+->|inputs.midi |
cd ->------+-*--------------------------+->|inputs.cd |
line ->----*-+-+--------------------------+->|inputs.line |
speaker ->----+-+-+--------------------------+->|inputs.speaker |
mic ->--*-+-+-+--------------------------+->|inputs.mic |
v v v v monitor.monitor | | |
--------------- ------- | ------- | | |
|record.record|->| A/D |---->| D/A |-*->|inputs.dac |analog
| | |conv.|-- ->|conv.| | |output
--------------- ------- | | ------- | outputs.master|-->
wave v | wave | equalization.*|
recording playback -----------------
Note that the ‘
inputs.dac' is twice as sensitive as other ‘
inputs' volume variables.
The hardware volume changes the ‘
outputs.master' value.
If an external input source is unmuted by setting corresponding ‘
inputs.*.mute' variable to ‘
off', the device is never put in global power down or power save mode. This is because if the device is in global power down or power save mode, the output is automatically muted.
All the external input sources (CD playback, line input, speaker, and MIC) are muted by default.
The ‘
equalization.*' variables does not exists on OPL3-SA2. The ‘equalization.treble' and ‘equalization.bass' are enhancement only, and any values below the center position (128) don't take any effect.