<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="resource-type" content="document">
<link rel="stylesheet" href="../style.css" type="text/css" media="all">
<title>
MIXERCTL.CONF(5)</title>
</head>
<body>
<div class="mandoc">
<table summary="Document Header" class="head" width="100%">
<col width="30%">
<col width="30%">
<col width="30%">
<tbody>
<tr>
<td class="head-ltitle">
MIXERCTL.CONF(5)</td>
<td class="head-vol" align="center">
File Formats Manual</td>
<td class="head-rtitle" align="right">
MIXERCTL.CONF(5)</td>
</tr>
</tbody>
</table>
<div class="section">
<h1 id="x4e414d45">NAME</h1> <b class="name">mixerctl.conf</b> &#8212; <span class="desc">audio mixer configuration file</span></div>
<div class="section">
<h1 id="x53594e4f50534953">SYNOPSIS</h1><table class="synopsis">
<col style="width: 13.00ex;">
<col>
<tbody>
<tr>
<td>
mixerctl.conf</td>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section">
<h1 id="x4445534352495054494f4e">DESCRIPTION</h1> The <i class="file">/etc/mixerctl.conf</i> file consists of <a class="link-man" href="../html1/mixerctl.html">mixerctl(1)</a> variables to set at boot time. Each line of <b class="name">mixerctl.conf</b> has the following format:<blockquote style="margin-top: 0.00em;margin-bottom: 0.00em;">
<div class="display">
<code class="lit">variable=value</code></div>
</blockquote>
<p>
To generate a <b class="name">mixerctl.conf</b> from the current mixer settings, execute:<blockquote style="margin-top: 0.00em;margin-bottom: 0.00em;">
<div class="display">
<code class="lit"><b class="cmd">mixerctl -a &gt; /etc/mixerctl.conf</b></code></div>
</blockquote>
<p>
Set <span class="symb">mixerctl</span> to YES in <a class="link-man" href="../html5/rc.conf.html">rc.conf(5)</a> to have the variables set at boot time. Additionally, you can have the settings saved and restored for the devices of your choice by listing them in <span class="symb">mixerctl_mixers</span> in <a class="link-man" href="../html5/rc.conf.html">rc.conf(5)</a>.</div>
<div class="section">
<h1 id="x46494c4553">FILES</h1><dl style="margin-top: 0.00em;margin-bottom: 0.00em;" class="list list-tag">
<dt class="list-tag" style="margin-top: 0.00em;">
<i class="file">/etc/mixerctl.conf</i></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
</dd>
</dl>
</div>
<div class="section">
<h1 id="x4558414d504c4553">EXAMPLES</h1> Example mixer settings for an <a class="link-man" href="../html4/esa.html">esa(4)</a> audio adapter:<p>
<pre style="margin-left: 0.00ex;" class="lit display">
outputs.master=255,255 
outputs.master.mute=off 
outputs.mono=255 
outputs.mono.mute=on 
outputs.mono.source=mixerout 
outputs.headphones=255,255 
outputs.headphones.mute=off 
outputs.tone=255,255 
inputs.speaker=255 
inputs.speaker.mute=off 
inputs.phone=191 
inputs.phone.mute=on 
inputs.mic=191 
inputs.mic.mute=on 
inputs.mic.preamp=off 
inputs.mic.source=mic0 
inputs.line=191,191 
inputs.line.mute=on 
inputs.cd=191,191 
inputs.cd.mute=on 
inputs.video=255,255 
inputs.video.mute=off 
inputs.aux=255,255 
inputs.aux.mute=off 
inputs.dac=191,191 
inputs.dac.mute=off 
record.source=mic 
record.volume=255,255 
record.volume.mute=off 
record.mic=0 
record.mic.mute=off 
outputs.loudness=off 
outputs.spatial=off 
outputs.spatial.center=0 
outputs.spatial.depth=0</pre>
</div>
<div class="section">
<h1 id="x53454520414c534f">SEE ALSO</h1> <a class="link-man" href="../html1/mixerctl.html">mixerctl(1)</a>, <a class="link-man" href="../html5/rc.conf.html">rc.conf(5)</a></div>
<div class="section">
<h1 id="x484953544f5259">HISTORY</h1> The <b class="name">mixerctl.conf</b> configuration file first appeared in <span class="unix">NetBSD&#160;2.0</span>.</div>
<table summary="Document Footer" class="foot" width="100%">
<col width="50%">
<col width="50%">
<tbody>
<tr>
<td class="foot-date">
April 5, 2003</td>
<td class="foot-os" align="right">
NetBSD 6.0</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>