*** gianMOD has joined #lv2 | 00:06 | |
*** gianMOD has quit IRC | 00:11 | |
*** ricardocrudo has quit IRC | 01:15 | |
*** falktx has quit IRC | 02:57 | |
*** NickSB2 has quit IRC | 04:04 | |
*** edogawa has joined #lv2 | 07:59 | |
*** gianMOD has joined #lv2 | 08:08 | |
*** gianMOD has quit IRC | 08:15 | |
*** gianMOD has joined #lv2 | 08:26 | |
*** gianMOD has quit IRC | 08:38 | |
*** john_cephalopoda has joined #lv2 | 08:51 | |
*** john_cephalopoda has left #lv2 | 09:05 | |
*** gianMOD has joined #lv2 | 09:31 | |
*** falktx has joined #lv2 | 09:35 | |
*** Joeboy has joined #lv2 | 10:10 | |
*** NickSB2 has joined #lv2 | 10:40 | |
*** deva has joined #lv2 | 11:09 | |
deva | Problem: Handling of localized atof / printf("%f") ... how/is that done in LV2? | 11:10 |
---|---|---|
falktx | is that an lv2 issue? | 11:11 |
deva | Storing floating point values as a string on one system and then parsing them on another is a problem, yes, if you cannot rely on thet fact that it uses dot for decimal sepeartion... | 11:12 |
deva | Values stored in the state extension for example | 11:12 |
deva | *by | 11:12 |
deva | falktx, Did you know that atof is locale sensitive? | 11:17 |
deva | Because I'm getting the feeling that this is not common knowledge amongst developers | 11:18 |
falktx | I know yes | 11:18 |
falktx | I have to set locale to "C" when writing and reading some buffers | 11:18 |
falktx | but it has nothing to do with lv2 | 11:18 |
deva | it has, if you store a float value in your state, and then move the project to a computer with another locale | 11:19 |
falktx | but that's up to your plugin to handle | 11:24 |
falktx | like handling chunks in 32bit vs 64bit | 11:24 |
falktx | a preset can be done in a 32bit system and loaded in a 64bit one | 11:24 |
falktx | the plugin is the one that has to ensure it works | 11:24 |
deva | So if you request the host to store an atom:Float, and this is stored in ttl syntax (converted to a string) internally on the host somewhere you don't think that should be handled by the host? | 11:28 |
falktx | oh | 11:38 |
falktx | is the host the one doing that? you sure? | 11:38 |
falktx | anyway, ping drobilla ;) | 11:38 |
falktx | later | 11:38 |
*** falktx has quit IRC | 11:38 | |
deva | drobilla, ping? ^^^^^ | 11:40 |
*** gianMOD has quit IRC | 11:48 | |
*** gianMOD has joined #lv2 | 12:02 | |
*** edogawa has quit IRC | 12:50 | |
*** gianMOD has quit IRC | 13:24 | |
*** gianMOD has joined #lv2 | 14:19 | |
*** ricardocrudo has joined #lv2 | 14:54 | |
*** gianMOD has quit IRC | 15:02 | |
drobilla | deva: If it's just an LV2 plugin, then store it as a float atom and let the host deal with it | 15:03 |
drobilla | deva: Do not screw with the locale in that case. It will be handled correctly. | 15:04 |
deva | drobilla, But is it handled in the current lv2 implementation (that would be lilv I suppose) ? | 15:04 |
drobilla | deva: Yes. It is a portable serializer for a standard portable syntax, does not use printf and friends. | 15:04 |
drobilla | (serd via lilv) | 15:05 |
deva | phew :-) | 15:05 |
drobilla | Theoretically some host could do it another way, but if you're passing it actual numbers clearly it's the host's responsibility anyway | 15:05 |
deva | I think you are stating pretty clearly in the documentation that the implementation must be portable, so if other hosts implement it in other ways, that would just be an error | 15:06 |
drobilla | Depending on flags anyway, yeah | 15:10 |
*** gianMOD has joined #lv2 | 15:13 | |
*** NickSB2 has quit IRC | 15:19 | |
*** o0o0o has quit IRC | 15:25 | |
*** ricardocrudo has quit IRC | 15:32 | |
*** deva has quit IRC | 16:02 | |
*** gianMOD has quit IRC | 16:08 | |
*** gianMOD has joined #lv2 | 16:09 | |
*** gianMOD has quit IRC | 16:10 | |
*** gianMOD has joined #lv2 | 16:11 | |
*** gianMOD_ has joined #lv2 | 16:13 | |
*** mlpug has joined #lv2 | 16:14 | |
*** gianMOD has quit IRC | 16:15 | |
*** gianMOD_ has quit IRC | 16:17 | |
*** gianMOD has joined #lv2 | 16:26 | |
*** falktx has joined #lv2 | 16:29 | |
*** ricardocrudo has joined #lv2 | 16:41 | |
*** gianMOD has quit IRC | 16:55 | |
*** HarryHaaren has joined #lv2 | 17:17 | |
*** gianMOD has joined #lv2 | 17:55 | |
*** NickSB2 has joined #lv2 | 18:00 | |
*** bgola has quit IRC | 18:08 | |
*** ricardocrudo has quit IRC | 18:45 | |
*** falktx has quit IRC | 18:47 | |
*** falktx has joined #lv2 | 19:03 | |
*** gianMOD has quit IRC | 19:11 | |
*** HarryHaaren has quit IRC | 19:15 | |
*** ricardocrudo has joined #lv2 | 19:25 | |
*** gianMOD_ has joined #lv2 | 20:22 | |
*** gianMOD_ has quit IRC | 20:25 | |
*** gianMOD_ has joined #lv2 | 20:28 | |
*** mlpug has quit IRC | 20:31 | |
*** gianMOD_ has quit IRC | 20:37 | |
*** gianMOD has joined #lv2 | 20:38 | |
*** edogawa has joined #lv2 | 20:40 | |
*** ricardocrudo has quit IRC | 21:19 | |
*** ricardocrudo has joined #lv2 | 21:39 | |
*** Haskellfant has quit IRC | 21:59 | |
*** ricardocrudo has quit IRC | 22:03 | |
*** Haskellfant has joined #lv2 | 22:06 | |
*** gianMOD has quit IRC | 22:18 | |
*** gianMOD_ has joined #lv2 | 22:23 | |
*** gianMOD_ has quit IRC | 22:34 | |
*** falktx has quit IRC | 23:19 | |
*** edogawa has quit IRC | 23:44 | |
*** gianMOD has joined #lv2 | 23:45 | |
*** gianMOD has quit IRC | 23:50 |
Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!