You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using shairport-sync within Volumio (but I've tried also with Moodeaudio), and I'm experiencing audio glitches on the digital output.
I've read most if not all discussions about related problems and have tried with disable_synchronisation = yes as well as other parameters, but I always get issues.
Has anybody been able setup a RPi Zero W shairport-sync over Optical Audio out without audio glitches? and if so, what am I doing wrong?
I'm sharing my config to see if somebody could help me:
HW:
RPi Zero W
Digipi audio hat setup for Optical out
2.4GHz 802.11n network, no other devices connected to the network (only source and sink)
audio sources tested: Mac, iPhone, iPad
SW:
Volumio (latest) or moodeaudio (latest), I think they use shairport-sync 3.3.6 and 3.3.8 respectively
Others issues I noticed (which may or may not be related)
I cannot send Mac system audio, for instance selecting "Volumio" as output device on the system audio panel. Only way to play audio from Mac seems to be from iTunes
Moodeaudio works even worse than Volumio, as it essentially does 1 sec on, 1 sec off or something
Other remarks:
the optical output is properly setup because it works just fine: Volumio can play other sources, it is just AirPlay that has audio glitches
I believe the audio glitches may be harder to hear if using analog output, although I have no way to confirm. The reason I make this hypothesis is that many people get it working, but most of them are using analog out, and the output filters/capacitors may be hiding the glitches.
with disable_synchronization = yes it seems to improve, but I do get some glitches further down, like if it skipped part of a song
The optical output is connected to an old HiFi system
From the logs it appears that there is packet loss (resend), empty frames, and drift, but that seems like a lot of issues for a default config, while many people appear to have succeeded using the RPi Zero W for Airplay with shairport-sync (regardless of distro)
Other weird things (to me):
1)
volumio shairport-sync[14817]: 1.359341298 "audio_alsa.c:530" alsa: output format chosen is "S32".
volumio shairport-sync[14817]: 0.003040983 "audio_alsa.c:570" alsa: output speed chosen is 44100.
HW config is different between web radio playback and shairport-sync
I cannot send Mac system audio, for instance selecting "Volumio" as output device on the system audio panel. Only way to play audio from Mac seems to be from iTunes
About that issue in particular: after more tests apparently it was a firewall issue on the Mac.
You need to allow incoming connections to AirPlayXPCHelper or something similar. Actually I got the dialog only once and I don't find it listed anywhere, but I did allow it and now it works just fine. I do find a process called AirPlayXPCHelper (= /usr/libexec/AirPlayXPCHelper?)
I'm surprised that a source needs to allow incoming connections for this to work, while iTunes does not need this.
Does anybody has a clue? Seems like a potential security issue.
(copy/pasting from: mikebrady/shairport-sync#1278)
Hi,
I'm using
shairport-sync
within Volumio (but I've tried also with Moodeaudio), and I'm experiencing audio glitches on the digital output.I've read most if not all discussions about related problems and have tried with
disable_synchronisation = yes
as well as other parameters, but I always get issues.Has anybody been able setup a RPi Zero W
shairport-sync
over Optical Audio out without audio glitches? and if so, what am I doing wrong?I'm sharing my config to see if somebody could help me:
HW:
SW:
Others issues I noticed (which may or may not be related)
Other remarks:
disable_synchronization = yes
it seems to improve, but I do get some glitches further down, like if it skipped part of a songFrom the logs it appears that there is packet loss (resend), empty frames, and drift, but that seems like a lot of issues for a default config, while many people appear to have succeeded using the RPi Zero W for Airplay with
shairport-sync
(regardless of distro)Other weird things (to me):
1)
shairport-sync
shairport-sync
AirPlay playback:The text was updated successfully, but these errors were encountered: