[flac-dev] Flac HiRes decoding problems

Erik de Castro Lopo mle+la at mega-nerd.com
Thu Dec 13 01:55:43 PST 2012


Klaus Schulz wrote:

> HireRez flac > 16/48    e.g. 24/96 flacs.
> 
> Decoding demands are somewhat different from 44/16 especially if a high
> compression level on 24/96  is used and the file gets decoded in realtime.
> 
> The subject is probably about realtime decoding efficiency. It's probably
> not that easy to trace this down.

FLAC can be easily decode on very modest hardware.
 
> The flac application is used as a realtime decoder to stdout (pipe) in a
> typical Squeezebox server setup.

Ok, this is suspicious. Can you reproduce the problem when not using
a pipe? For instance, pipes usually have a fixed 4k buffer size and
writes to a full pipe with block until the other end of the pipe is
read. To test this, you could reduce the size and increase if frequency
of reads on the read end of the pipe.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the flac-dev mailing list