[LAD] (libsndfile) FLAC format question

hermann meyer brummer- at web.de
Wed Nov 6 05:25:24 UTC 2013


Am 05.11.2013 23:18, schrieb Erik de Castro Lopo:
> hermann meyer wrote:
>
> Yes, I use sf_write_float to write/read the flac file, even if flac
> didn't support floats. When I understand the libsndfile api right,
> libsndfile will handle that.
> Yes, that is correct.
>
>> So my quetion will be, which is the common format to write flac file
>> with libsndfile,
> Writing float is fine, you just need to ensure that the data is in
> range [-1.0, 1.0] first.
>
>> and is there a way to write values out of range into a
>> flac file?
> No, there isn't.
>
> Erik

Thanks Erik
That's what I suspected.

regards
hermann


More information about the Linux-audio-dev mailing list