|
Lines 473-481
Link Here
|
| 473 |
<screen>&prompt.root; sysctl hw.snd.pcm0.vchans=4 |
473 |
<screen>&prompt.root; sysctl hw.snd.pcm0.vchans=4 |
| 474 |
&prompt.root; sysctl hw.snd.maxautovchans=4</screen> |
474 |
&prompt.root; sysctl hw.snd.maxautovchans=4</screen> |
| 475 |
|
475 |
|
| 476 |
<para><literal>hw.snd.pcm0.vchans</literal> is the number of |
476 |
<para>The above example allocates four vchans, which is a practical |
| 477 |
vchans <devicename>pcm0</devicename> has, and is configurable |
477 |
number for everyday use. <literal>hw.snd.pcm0.vchans</literal> is |
| 478 |
once a device has been attached. |
478 |
the number of vchans <devicename>pcm0</devicename> has, and is |
|
|
479 |
configurable once a device has been attached. |
| 479 |
<literal>hw.snd.maxautovchans</literal> is the number of vchans |
480 |
<literal>hw.snd.maxautovchans</literal> is the number of vchans |
| 480 |
a new audio device is given when it is attached using |
481 |
a new audio device is given when it is attached using |
| 481 |
&man.kldload.8;. Since the <devicename>pcm</devicename> module |
482 |
&man.kldload.8;. Since the <devicename>pcm</devicename> module |
|
Lines 486-494
Link Here
|
| 486 |
|
487 |
|
| 487 |
<para>If you are not using &man.devfs.5;, you will have to point |
488 |
<para>If you are not using &man.devfs.5;, you will have to point |
| 488 |
your applications at <devicename>/dev/dsp0</devicename>.x, where |
489 |
your applications at <devicename>/dev/dsp0</devicename>.x, where |
| 489 |
'x' is 0 to 3 if <literal>hw.snd.pcm.0.vchans</literal> is set |
490 |
'x' is a number between 0 and 3 if <literal>hw.snd.pcm.0.vchans |
| 490 |
to 4. On a system using &man.devfs.5, the above will automatically be |
491 |
</literal> is set to 4 as in the above example. On a system using |
| 491 |
allocated to the user transparently.</para> |
492 |
&man.devfs.5, the above will automatically be allocated transparently |
|
|
493 |
to the user.</para> |
| 492 |
</sect2> |
494 |
</sect2> |
| 493 |
</sect1> |
495 |
</sect1> |