[flac-dev] [PATCH] apodization for struct CompressionLevels

Martijn van Beurden mvanb1 at gmail.com
Mon Oct 13 09:26:56 PDT 2014


Hi all,

This patch hasn't been applied yet. It looks to me like it still 
applies though.

Op 22-09-14 om 17:18 schreef lvqcl:
> Currently apodization function is hardcoded,
> see commit 
> <http://git.xiph.org/?p=flac.git;a=commitdiff;h=4e8fe85bceb245dfce07d1956b144e1cb6587c9f>
>
> FLAC is locale-dependent so "tukey(0.5)" doesn't work for locales
> with decimal comma.
>
> But "tukey(5e-1)" should be locale-independent so it is 
> possible to
> re-add 'const char *apodization' member into CompressionLevels 
> struct.
>
> The patch is attached.
>
> This will allow to easily change preset settings from 
> "tukey(5e-1)"
> to "tukey(5e-1);partial_tukey(2);punchout_tukey(3)" or 
> something like this.
>
>
> _______________________________________________
> flac-dev mailing list
> flac-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/flac-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/flac-dev/attachments/20141013/eedc3da5/attachment.htm 


More information about the flac-dev mailing list