chocolate-doom icon indicating copy to clipboard operation
chocolate-doom copied to clipboard

Issue with FLAC

Open buvk opened this issue 5 years ago • 4 comments

When using the FLAC digital music pack with chocolate-doom-20190607-win32, there is an obvious audio hiccup at the beginning of a song. The first half-second or so of a song is repeated. This also happens every time a song loops.

This issue does not occur with OGG.

This issue is not present in Chocolate Doom v3.0.0.

The issue can be resolved by replacing the SDL2 dll files with older versions (E.g. the ones packaged with Crispy Doom 5.5.2).

buvk avatar Jun 07 '19 22:06 buvk

I get stutters with FLAC music packs as well when the song begins its loop. I’m on Arch Linux with the latest SDL2 git builds.

shoober420 avatar Jun 24 '19 21:06 shoober420

While replacing the DLLs with the ones from Crispy Doom 5.5.2 fixes the issue on first playback, the issue still persists for metadata loops. Whenever the song tries to loop, it'll have the same stutter again (playing the the first ~100 ms twice), regardless of which DLLs used.

While OGGs work fine on the first playback, metadata loop create the same stuttering for me when it tries to loop. So I don't think this issue is only related to FLACs.

I am using Windows 10 64-Bit.

XxMiltenXx avatar Sep 15 '19 17:09 XxMiltenXx

The latest version of SDL mixer resolves the hiccup at the beginning of a song.

Version tested: https://github.com/libsdl-org/SDL_mixer/releases/tag/release-2.6.1

buvk avatar Aug 17 '22 16:08 buvk

Great! So we just need to update chocpkg to use the new version.

fragglet avatar Aug 26 '22 16:08 fragglet

The hiccup is still present in the latest autobuild. I assume we are just waiting for the update that fragglet mentioned above?

buvk avatar Nov 12 '22 04:11 buvk

The new version of SDL_mixer is not available in the current LTS release of Ubuntu yet.

FozzeY avatar Nov 13 '22 20:11 FozzeY