Taiko2k / Tauon

The music player of today! :city_sunrise:
https://tauonmusicbox.rocks
GNU General Public License v3.0
1.77k stars 67 forks source link

Queue Bug: Previous track briefly replays on track transition #1070

Open Laurence-NZ opened 9 months ago

Laurence-NZ commented 9 months ago

Version: 7.7.0 Install Method: Flatpak Distro: Kubuntu 23.10 (uses PipeWire) Audio Settings: image Settings that matter... Avoid Resampling + Use fade on track jump - When either of these settings are enabled the bug will occur

Possibly relevant PipeWire Settings (~/.config/pipewire/pipewire.conf):

default.clock.rate = 44100
default.clock.allowed-rates = [ 44100 48000 88200 96000 192000 ]

Basically this just allows my DAC to switch to one of the above rates depending on what's playing.

File type: Happens when playing local (FLAC) files


Whenever I use the queue feature - when the a song ends, it will briefly replay the start of the song that just played, before starting the next track.

Steps to recreate:

  1. Copy the above audio settings
  2. Queue an album
  3. Play the queue
  4. Jump to the end of the first track - allow it to transition to the next track
  5. Jump to the end of the second track - allow it to transition to the next track
  6. When the third track starts playing you can briefly hear the beginning of track 2 This bug will occur in the following tracks in the queue
Taiko2k commented 9 months ago

Sneaky bug. I've committed a fix for this now.

Laurence-NZ commented 9 months ago

Thanks so much!