[flac-dev] Flac HiRes decoding problems

Christoph Terasa cterasa at googlemail.com
Thu Dec 13 10:49:02 PST 2012


On 12/13/2012 10:55 AM, Erik de Castro Lopo wrote:
> 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

Maybe this investigation at HA into decoding slowness and the ultimate 
fix/workaround is helpful: 
http://www.hydrogenaudio.org/forums/index.php?showtopic=98069

Christoph


More information about the flac-dev mailing list