# Shairport and USB DAC's

**URL:** https://dietpi.com/forum/t/shairport-and-usb-dacs/3812
**Category:** General Discussion
**Created:** [1 February 2020 00:35 UTC](https://dietpi.com/forum/t/shairport-and-usb-dacs/3812 "2020-02-01T00:35:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Hammer](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/bc79bd/32.png) [@Hammer](https://dietpi.com/forum/u/Hammer)
#### Post date: [1 February 2020 00:35 UTC](https://dietpi.com/forum/t/shairport-and-usb-dacs/3812/1 "2020-02-01T00:35:00Z")

</div>

Hi, I’m trying to use Shairport with my USB DAC. Using aplay -l, I see that it is hw:1 and so in /usr/local/etc/shairport-sync.conf, I added the following under alsa:

alsa =  
{  
output\_device = “hw:1”;  
output\_rate = 44100;  
output\_format = “S32”;  
// mixer\_control\_name = “PCM”;  
// output\_rate = 44100; // can be 44100, 88200, 176400 or 352800  
// output\_format = “S16”; // can be “U8”, “S8”, “S16”, “S24”, “S24\_3LE”, "S24\_$  
};

However, when I play, I do not get any sound. Doing some googling, I see that output\_format has to be supported by my DAC (Auralic Vega) and through trial and error, I think S32 is supported because when I try the other settings, when I play and so a systemctl status shairport-sync -l, I see error messages and when I use S32, I don’t get an error message.

However, I am still not getting any sound. I will note the HQplayer NAA and Raspotify play fine and I get sound.

Any thoughts would be greatly appreciated! Thank you!

---

<div class="post-metadata">

### Author: ![Hammer](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/bc79bd/32.png) [@Hammer](https://dietpi.com/forum/u/Hammer)
#### Post date: [8 February 2020 02:08 UTC](https://dietpi.com/forum/t/shairport-and-usb-dacs/3812/2 "2020-02-08T02:08:09Z")

</div>

Hi, as a follow up, I also tried “plughw:1”. This worked for Raspotify, but alas, not with shairpot-sync.

Thanks!

---

<div class="post-metadata">

### Author: ![Hammer](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/bc79bd/32.png) [@Hammer](https://dietpi.com/forum/u/Hammer)
#### Post date: [9 February 2020 21:13 UTC](https://dietpi.com/forum/t/shairport-and-usb-dacs/3812/3 "2020-02-09T21:13:40Z")

</div>

Hi, for those who are having the same issue, I followed these instructions to install the latest version and it now works! I changed device to hw:1 for my usb DAC. Thank you!

[https://gist.github.com/connorjan/984e6285d6c96abc807e6b0eb5724b82](https://gist.github.com/connorjan/984e6285d6c96abc807e6b0eb5724b82)
