<chapter id="sound">
<title>Troubleshooting sound problems</title>

<para>&kde; uses the &arts; sound system which is complex and powerful,
making it difficult for some users to troubleshoot when things go
wrong. Here are some tips to help you diagnose what it's doing when your
sound misbehaves</para>

<qandaset>
<qandaentry>
<question>
<para>How can I troubleshoot sound related problems in &kde;?</para>
</question>

<answer><para> To check that sound is working independently of &arts;, make
sure that <command>artsd</command> isn't running and then try playing sound
through <application>XMMS</application> or another multimedia application
that isn't a part of &kde;. If that application doesn't play sound, then
your general sound setup is probably broken and it's not a &kde;
problem.</para>

<para>Try playing sound with
<userinput><command>artsplay</command><option><replaceable>
/path/to/some/soundfile</replaceable></option></userinput>. Try various
formats, ogg mp3 and wav.  Any error messages there might be useful in
pointing you in the right direction.</para>

<para>Try setting the &arts; output method to <acronym>OSS</acronym>. In the
&kcontrolcenter; go to <menuchoice><guimenu>Sound &amp; Multimedia</guimenu>
<guimenuitem>Sound System</guimenuitem></menuchoice>. On the
<guilabel>Hardware</guilabel> tab, under <guilabel>Select the audio
device</guilabel> choose <guilabel>Open Sound System</guilabel>. If you are
running <acronym>alsa</acronym> this will use the <acronym>OSS</acronym>
emulation, which may give better or worse results.</para>

<para>Running <userinput><command>artsd</command><option> -l
0</option></userinput> from a terminal will give you a lot of debug output,
some of which might help you to diagnose the problem. Trying this in
conjunction with using <command>artsplay</command> in a second terminal can
give a wealth of information.</para>
</answer>
</qandaentry>


</qandaset>

</chapter>

<!-- Keep this comment at the end of the file
Local variables:
mode: xml
sgml-omittag:nil
sgml-shorttag:nil
sgml-namecase-general:nil
sgml-general-insert-case:lower
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:0
sgml-indent-data:true
sgml-parent-document:("index.docbook" "book" "chapter")
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
