]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Update TROUBLESHOOTING.md 236/head
authorbboffey <boffeymail@gmail.com>
Tue, 23 Feb 2016 19:05:16 +0000 (19:05 +0000)
committerbboffey <boffeymail@gmail.com>
Tue, 23 Feb 2016 19:05:16 +0000 (19:05 +0000)
TROUBLESHOOTING.md

index e29e9fd32a20ffa6eed3648b5da55c2cb91eae50..ce63dd54beeb46b91520a88af9a9a8902e544770 100644 (file)
@@ -114,7 +114,7 @@ pcm.!default {
         ipc_key 1024
         slave {
             pcm "hw:1"
-            rate 48000 
+            rate 48000        # this line is only needed for USB DACs which only support 48khz
             period_time 0
             period_size 1920
             buffer_size 19200
@@ -126,4 +126,8 @@ ctl.!default {
     card 1
 }
 ````
+This sets the default alsa audio device to be the USB DAC via a dmixer plugin (which can be used by multiple applications at once) using a modified period and buffer size and optionally mix to 48khz. 
+
+This will then be used by default by Shairport-Sync and any other applications using alsa. 
+
 Note that some distributions (such as Volumio 2) don't use an asound.conf file by default, they instead specificy the hardware details directly in '/etc/shairport-sync.conf' and '/etc/mpd.conf' files so some more in depth modification is needed to override this.