Closed KindDragon closed 2 years ago
Thanks for the post. Do any of the listed devices work?
If I start like that shairport-sync -vu --statistics
it works (but it plays quietly), but if I start as service it doesn't work
shairport-sync -vu --statistics
:
1.498651303 "shairport.c:211" "soxr" interpolation has been chosen.
5.774458418 "rtsp.c:5003" Connection 1: new connection from fe80::45a:e708:6ce4:15b:52808 to self at fe80::79c:3065:2526:9357:7000.
1.639476192 "rtsp.c:2865" SETUP on Connection 1. Buffered Audio Stream Detected.
0.011938445 "audio_alsa.c:528" alsa: output format chosen is "S32".
0.000026221 "audio_alsa.c:569" alsa: output speed chosen is 44100.
0.903781253 "rtp.c:1319" Connection 1: Clock bc9fef51df7a0008 is now the new anchor clock and master clock. History: 2076.580519 milliseconds.
0.000036076 "rtp.c:1403" Connection 1: NQPTP new master clock bc9fef51df7a0008.
0.000117844 "player.c:1059" Connection 1: Lead time for first frame 2734289973: 0.386812 seconds.
2.924327392 "player.c:2436" Large positive sync error of: 3363 frames (0.076259 seconds), with frame: 2734411765.
0.006435431 "player.c:1059" Connection 1: Lead time for first frame 2734441685: 0.819882 seconds.
5.898636658 "player.c:2848" sync error ms, net sync ppm, all sync ppm, packets, min DAC queue, min buffers, max buffers, output fps
0.000020920 "player.c:2848" 0.12, 0.0, 0.0, 1003, 6660, 84, 87, 44101.05
8.003356508 "player.c:2848" -0.09, 0.0, 0.0, 2006, 8493, 87, 87, 44100.05
8.008090512 "player.c:2848" -0.07, 0.0, 0.0, 3009, 8416, 86, 87, 44100.40
...
Thanks for the update. This sounds like a permissions error. Did you follow the guide, which creates a shairport-sync
user and group and adds the user to the audio
group to give the user access to the ALSA
sound system?
I build using this guide https://github.com/mikebrady/shairport-sync/blob/development/BUILDFORAP2.md. Is it enough?
Thanks. Yes, that should work, as long as you performed the
# make install
step?
Yeap
This issue has been inactive for 45 days so will be closed 7 days from now. To prevent this, please remove the "stale" label or post a comment.
shairport-sync --help return:
but when I run
shairport-sync -vu --statistics -- -d "hw:NVidia"
it print error