audacious-media-player / audacious

A lightweight and versatile audio player
https://audacious-media-player.org
Other
820 stars 109 forks source link

Audio jumps at the start of some tracks when playing CUE+TTA files #923

Open Audacious-Bot opened 5 months ago

Audacious-Bot commented 5 months ago

Author Name: Net Helin Original Redmine Issue: https://redmine.audacious-media-player.org/issues/784 Original Date: 2018-03-30


Steps to reproduce:

  1. Download and play the example file with the attached cue sheet:

https://0x0.st/sMTG.tta (rename to "Fantasia of the Shades, by the Shades, for the Shades.tta")

  1. Play the 4th track (you can seek to a few seconds before the end) and play it to the end.

  2. When the 5th track starts the audio jumps - a small fragment of the track is played twice.

Happens with Audacious 3.9 and libcue 2.2.0 on Manjaro Linux. Also happens with other files.

Fantasia of the Shades, by the Shades, for the Shades.cue.txt

Audacious-Bot commented 5 months ago

Original Redmine Comment Author Name: John Lindgren Original Date: 2018-04-10T02:46:40Z


The jump happens because Audacious re-opens the TTA file between tracks and tries to restart from the place it left off. This works okay if the decoder can seek to an exact sample (the better decoders like MP3 and FLAC can do this, for example); otherwise you will hear a glitch. It would be possible to fix, eventually, but it's not trivial.