No Audio from Shairport (RPI with v157 and Allo Web GUI)

DietPi v157 and Allo Web GUI on RPI. installation OK, Thank’s …

Only issue is using Shairport-Sync: No audio from my DAC, but DietPi AIrPlay endpoint seen from Itunes and IOS devices.
I’ve set output to 44100 / 32 bits via Web GUI but audio still KO.

If i disable Shairport from web GUI and launch Shairport from command line audio is playing correctly:

> root@DietPi:~# shairport-sync -vvv
Looking for configuration file at full path "/usr/local/etc/shairport-sync.conf"
Value read for output rate is 44100.
alsa output device name is "default".
The processor is running little-endian.

Audio OK
Here is my conf from /usr/local/etc/shairport-sync.conf:

general =
  name = "%H";
  interpolation = "soxr";

metadata =
        enabled = "yes";
        include_cover_art = "no";
        pipe_name = "/tmp/shairport-sync-metadata";
        pipe_timeout = 5000;
        socket_address = "";
        socket_port = 5555;
        socket_msglength = 65000;

alsa =
//  mixer_control_name = "PCM";
output_rate = 44100;
output_format = "S32";

Any idea ?


Thanks for the report.

Everything looks in order. The service launches the command “/usr/local/bin/shairport-sync”.

Please try running the service, and check for errors:

dietpi-services restart
systemctl status shairport-sync -l

Thank you Dan,

No errors when services are restarted via dietpi-services restart,
No errors on shairport-sync status,
No errors in Itunes UI (DietPi endpoint is displayed and audio progress bar moving)
But no Audio stream sent to my DAC and Allo GUi ALSA status is blank.

root@DietPi:/usr/local/etc# systemctl status shairport-sync -l
● shairport-sync.service - Shairport Sync - AirPlay Audio Receiver
   Loaded: loaded (/lib/systemd/system/shairport-sync.service; disabled)
   Active: active (running) since Fri 2017-10-20 21:38:17 UTC; 10min ago
 Main PID: 14522 (shairport-sync)
   CGroup: /system.slice/shairport-sync.service
           └─14522 /usr/local/bin/shairport-sync

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

If Shairport is disabled from Allo GUI and launched from command line Audio output is OK
Strange !

Dietpi v157 -Squeezelite-Sparky USBridge - . Not sound !
Help :frowning:

I’ve got Audio back with a dirty workaround.
Added output_device=“hw:1” to /usr/local/etc/shairport-sync.conf ALSA section :

alsa =
//  mixer_control_name = "PCM";
output_rate = 44100;
output_format = "S32";

By default i presume wrong output hw:0 [vc4-hdmi] was used.

Currently i’m not using ALLO audio outputs HW, only basic RPI linked to USB external DAC.
Here is my audio output devices setup:

root@DietPi:/usr/local/etc# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi [vc4-hdmi], device 0: MAI PCM vc4-hdmi-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDAudio [DAC 8 DSD HD-Audio], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Hi, same problem for me , no sound since last update with squeezelite (with Rpi3 and Allo USBridge).
With Roon bridge no problem at all, audio is back;
I have an Fostex HPA8 Dac.
:question: :question: :question:
Thx in advance.