cog/Plugins
Christopher Snowhill 36d2d7b7e0 MAD Input: Fixed gapless handling on file start
This error was caused by the necessary fix of the previous commit, only
it caused something completely different. Due to the fact that MP3 is
included in the list of formats supported for embedded CUE Sheets, the
open stage performs a seek to the file start after opening the file,
even if there is no sheet embedded. And the resulting seek was supposed
to be a null operation, since the file was already at the start. But, as
a result, this reset the start skip counter to zero, and because the
offset wasn't backwards, but to the same position, it didn't reset the
skip counter to the start of track delay. So, as a result, start of
track delay wasn't being removed, introducing a gap. Now, this change
bypasses the seek function altogether if seeking would do nothing from
the current playback position. Whew.

Fixes #250 and MP3 gaplessness in general, surprised I didn't notice
this sooner myself, but I guess I didn't bother to verify whether my
change would break anything. Whoops.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-04-19 22:57:21 -07:00
..
APL Add decoder open error indicator 2022-02-10 02:15:48 -08:00
AdPlug Implement framework for dynamic metadata updates 2022-02-08 21:21:53 -08:00
ArchiveSource Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
BASSMODS Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
CoreAudio Implement framework for dynamic metadata updates 2022-02-08 21:21:53 -08:00
CueSheet CUE Reader: Fix enumerating sheets and tag reading 2022-02-13 12:18:58 -08:00
Dumb Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
FFMPEG Fix FFmpeg handling odd WMA files, at least 2022-02-20 03:14:30 -08:00
FileSource Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
Flac Clean up a couple of warning notices on this file 2022-02-26 01:11:50 -08:00
GME Implement framework for dynamic metadata updates 2022-02-08 21:21:53 -08:00
HTTPSource HTTP Reader: Guess encoding type of stream info 2022-02-16 01:51:16 -08:00
HighlyComplete Highly Complete / USF: Enable HLE again 2022-03-05 20:44:41 -08:00
Hively Fix Info.plist having bare apostrophes 2022-02-20 01:51:11 -08:00
M3u Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
MAD MAD Input: Fixed gapless handling on file start 2022-04-19 22:57:21 -07:00
MIDI MIDI Plugin: Rearrange project source files 2022-02-09 18:43:01 -08:00
Musepack Implement framework for dynamic metadata updates 2022-02-08 21:21:53 -08:00
OpenMPT Implement framework for dynamic metadata updates 2022-02-08 21:21:53 -08:00
OpenMPT.old Implement framework for dynamic metadata updates 2022-02-08 21:21:53 -08:00
Opus Build several libraries out of tree now 2022-02-15 00:26:55 -08:00
Pls Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
Quicktime Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
Shorten Implement framework for dynamic metadata updates 2022-02-08 21:21:53 -08:00
SilenceDecoder Add decoder open error indicator 2022-02-10 02:15:48 -08:00
TagLib Update supported file name extensions for art 2022-02-16 01:56:34 -08:00
Vorbis Add include path for libogg 2022-02-15 00:40:47 -08:00
WavPack Correct capitalization of WavPack in codec info 2022-03-04 02:08:55 -08:00
libvgmPlayer Implement framework for dynamic metadata updates 2022-02-08 21:21:53 -08:00
modplay Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
playptmod Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
sidplay SID Input: Bring back file hints, better this time 2022-02-11 04:43:20 -08:00
vgmstream Revert "VGMStream Input: Remove downmixing, add layout" 2022-03-21 16:34:49 -07:00