ThinkMeta LogoDeutsch
English
Case study: FLAC/fpFLAC

FLAC is a lossless compression format for audio data. The reference implementation "libFLAC" is available as Open Source.

Version 1.2.1 of libFLAC's source code was examined in the case study.

Objectives:
In general, the FLAC compression algorithm is scalable, since single frames can be pro­cessed independently from each other.

A scalable version of the algorithm was implemented in the case study. The performance was measured on multicore processors.

Limitations:
With FLAC it's possible to compress audio data up to eight channels with different sam­pling rates and bit depths. The encoding quality can be influenced by a great number of command line parameters.

In order to reduce complexity, however, only parts of them were implemented in the case study:

  • Only WAV files in the following format are supported as input: stereo, 44.1 kHz, 16-bit.
  • Only the most important command line parameters were taken over.

Download of the source code:
The source code is contained in the Fiber Pool API which can be downloaded here.

The source code can be used under the GPL license, Version 3. Third party license terms are included as text files in the download package.