bmc0 / dsp

An audio processing program with an interactive mode.
ISC License
219 stars 31 forks source link

Locale affects configuration #60

Closed LightBit closed 3 years ago

LightBit commented 3 years ago

Maybe this is expected, but after I changed locale setting to locale with "," instead of "." as decimal point, my config stopped working (ladspa_dsp failed to load). You can try to set system locale /etc/locale.conf to LC_NUMERIC=sl_SI.UTF-8.

I think it would be better to ignore locale setting to prevent surprises.

bmc0 commented 3 years ago

It actually does completely ignore locale by default. Because LADSPA plugins are loaded as shared libraries, the default locale is whatever is set by the host program. Issue #5 has some more information.

I recommend adding LC_NUMERIC=C to your ladspa_dsp configuration file(s) (as stated in the README) for predictable behavior. Honestly I should probably make this the default, but I haven't done it yet.