[flac-dev] in place decoding

Olivier Tristan o.tristan at uvi.net
Mon Oct 21 08:09:36 PDT 2013


Hi Guys,

I'm wondering if it's possible to provide flac with the decoding buffer 
address.

I'm currently  doing a block aligned decoding and I'm copying all data 
given by flac in the write callback to my own buffer but would like to 
skip that step.

If not possible, would you at least consider allocating a memory aligned 
buffer ?
So far the pointer given by the write pointer containing frames are not 
16 or 32 bytes aligned disallowing the usage of aligned SSE loading. At 
least on the Windows platform.

Or

Maybe are the pointers given by the write callback valid until any other 
call ?

Thanks,
-- 
Olivier TRISTAN


More information about the flac-dev mailing list