jarikomppa / soloud

Free, easy, portable audio engine for games
http://soloud-audio.com
Other
1.69k stars 270 forks source link

Negative sample values for FLAC files with a number of channels different than 2, are badly decoded. #299

Open rcases opened 3 years ago

rcases commented 3 years ago
  1. Play megademo_x86.exe
  2. Select wavformats sub-demo
  3. Play any flac file with a number of channels different than 2 (ch[1,4,6,8].flac)

Result: Playback is noisy.

SoLoud: Latest stable release soloud_20200207.zip OS: Window 10 Backend: Auto

rcases commented 3 years ago

Updating dr_flac.h to v0.12.20 - 2020-09-08 version, fix the problem.

Green-Sky commented 1 year ago

This is fixed on master, but still present in the latest release. @jarikomppa pls cut a new one :+1: