Skip to content

Invalid decoding of 24-bit FLAC files #9275

Closed
@mixxxbot

Description

Reported by: uklotzde
Date: 2018-05-07T18:15:58Z
Status: Fix Released
Importance: Medium
Launchpad Issue: lp1769717
Tags: flac, soundsource
Attachments: 24_bps.flac, [Audacity - Distorted FLAC.png](https://bugs.launchpad.net/bugs/1769717/+attachment/5135560/+files/Audacity - Distorted FLAC.png), [Audacity - Distorted FLAC decoded WAV.png](https://bugs.launchpad.net/bugs/1769717/+attachment/5135561/+files/Audacity - Distorted FLAC decoded WAV.png)


Bug when decoding a 24-bit FLAC file:
https://www.mixxx.org/forums/viewtopic.php?f=3&t=11654&p=38302&hilit=stability#p38302

Playing this file in Mixxx produces a distorted output and weird waveform, both with SoundSourceFLAC as well as SoundSourceSndFile.

When decoding the file with "flac -d -o 24_bps.wav 24_bps.flac" (v1.3.2) the resulting WAV file is ok. Opening the FLAC file directly in Audacity using the same FLAC version for decoding shows a very weird waveform. See the attached example file and screenshots.

Even though this might not be a Mixxx issue, we should track this bug. Other 24-bit FLAC files are decoded correctly, e.g. http://www.linnrecords.com/recording-test-files.aspx

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions