balbuze / volumio-plugins

volumio's plugins from balbuze
190 stars 60 forks source link

Spotify Connect2 1.0.5 - Audio loops briefly when track is skipped #308

Open gitmuir opened 3 years ago

gitmuir commented 3 years ago

I’m coming across an issue where the track currently being played loops briefly when the track is skipped or stopped.

The looping does not occur when playback is left to naturally progress track to track, or when interacted with using the official Volumio Spotify plugin (which of course does not support Connect).

Example video/audio below…

https://user-images.githubusercontent.com/76108018/129442465-8ad561bb-5985-42bc-a5af-11173ec5c24d.mov

Very grateful for any help.

gitmuir commented 2 years ago

Hi @balbuze very grateful for your thoughts 🙂

ashthespy commented 2 years ago

Heya @gitmuir This is something that is inherent to the implementation of the ALSA backend in vls. I currently drain the entire ~.5s buffer, so that is probably what you are hearing.

I would be curious what logs are generated by launching the daemon while setting LIBRESPOT_DEBUG=1

YannickMaria commented 1 year ago

I experience the same issue with HiFiBerryOS (20221118) and vollibrespot. Additionally to the loops a have a clicking noise when skipping or pausing a track. I hope this problem can be solved... Thanks a lot! I really appreciate your work.