https://www.marcelpost.com/wiki/index.php?title=Rpi-aprs-asound.conf&feed=atom&action=historyRpi-aprs-asound.conf - Revision history2024-03-28T16:53:45ZRevision history for this page on the wikiMediaWiki 1.39.5https://www.marcelpost.com/wiki/index.php?title=Rpi-aprs-asound.conf&diff=1693&oldid=prevAdmin: Created page with "<pre> /etc/asound.conf </pre> The following configuration file sets the first (device 0) sound card as the default. This can be changed to make another device the default dev..."2014-11-08T10:07:40Z<p>Created page with "<pre> /etc/asound.conf </pre> The following configuration file sets the first (device 0) sound card as the default. This can be changed to make another device the default dev..."</p>
<p><b>New page</b></p><div><pre><br />
/etc/asound.conf<br />
</pre><br />
<br />
The following configuration file sets the first (device 0) sound card as the default. This can be changed to make another device the default device, such as an external USB Sound Card. Another way to change the order of the numbering of a system with multiple sound cards is to edit /etc/modprobe.d/alsa-config... and override the numbering there.<br />
<br />
This configuration file is for a system that has the native raspberry pi (audio out only) sound card disabled by blacklisting the broadcom drivers and sets the external (and only) sound card as the default. Stricly speaking this is not required but since the process to get aprs going is still in a transitional process we will continue to use this for now.<br />
<br />
<pre><br />
pcm.!default {<br />
type asym<br />
playback.pcm {<br />
type plug<br />
slave.pcm "hw:0,0"<br />
}<br />
capture.pcm {<br />
type plug<br />
slave.pcm "hw:0,0"<br />
}<br />
}<br />
</pre><br />
<br />
<br />
If you wish to retain the RPi on-board sound card function you could update hw:0,0 to hw:1,0 to make the external sound card the default but you will have to make sure the order of these cards is correct.</div>Admin