Friday, 2015-02-13

*** gianMOD has joined #lv200:06
*** gianMOD has quit IRC00:11
*** ricardocrudo has quit IRC01:15
*** falktx has quit IRC02:57
*** NickSB2 has quit IRC04:04
*** edogawa has joined #lv207:59
*** gianMOD has joined #lv208:08
*** gianMOD has quit IRC08:15
*** gianMOD has joined #lv208:26
*** gianMOD has quit IRC08:38
*** john_cephalopoda has joined #lv208:51
*** john_cephalopoda has left #lv209:05
*** gianMOD has joined #lv209:31
*** falktx has joined #lv209:35
*** Joeboy has joined #lv210:10
*** NickSB2 has joined #lv210:40
*** deva has joined #lv211:09
devaProblem: Handling of localized atof / printf("%f") ... how/is that done in LV2?11:10
falktxis that an lv2 issue?11:11
devaStoring 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
devaValues stored in the state extension for example11:12
deva*by11:12
devafalktx, Did you know that atof is locale sensitive?11:17
devaBecause I'm getting the feeling that this is not common knowledge amongst developers11:18
falktxI know yes11:18
falktxI have to set locale to "C" when writing and reading some buffers11:18
falktxbut it has nothing to do with lv211:18
devait has, if you store a float value in your state, and then move the project to a computer with another locale11:19
falktxbut that's up to your plugin to handle11:24
falktxlike handling chunks in 32bit vs 64bit11:24
falktxa preset can be done in a 32bit system and loaded in a 64bit one11:24
falktxthe plugin is the one that has to ensure it works11:24
devaSo 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
falktxoh11:38
falktxis the host the one doing that? you sure?11:38
falktxanyway, ping drobilla ;)11:38
falktxlater11:38
*** falktx has quit IRC11:38
devadrobilla, ping? ^^^^^11:40
*** gianMOD has quit IRC11:48
*** gianMOD has joined #lv212:02
*** edogawa has quit IRC12:50
*** gianMOD has quit IRC13:24
*** gianMOD has joined #lv214:19
*** ricardocrudo has joined #lv214:54
*** gianMOD has quit IRC15:02
drobilladeva: If it's just an LV2 plugin, then store it as a float atom and let the host deal with it15:03
drobilladeva: Do not screw with the locale in that case.  It will be handled correctly.15:04
devadrobilla, But is it handled in the current lv2 implementation (that would be lilv I suppose) ?15:04
drobilladeva: 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
devaphew :-)15:05
drobillaTheoretically some host could do it another way, but if you're passing it actual numbers clearly it's the host's responsibility anyway15:05
devaI 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 error15:06
drobillaDepending on flags anyway, yeah15:10
*** gianMOD has joined #lv215:13
*** NickSB2 has quit IRC15:19
*** o0o0o has quit IRC15:25
*** ricardocrudo has quit IRC15:32
*** deva has quit IRC16:02
*** gianMOD has quit IRC16:08
*** gianMOD has joined #lv216:09
*** gianMOD has quit IRC16:10
*** gianMOD has joined #lv216:11
*** gianMOD_ has joined #lv216:13
*** mlpug has joined #lv216:14
*** gianMOD has quit IRC16:15
*** gianMOD_ has quit IRC16:17
*** gianMOD has joined #lv216:26
*** falktx has joined #lv216:29
*** ricardocrudo has joined #lv216:41
*** gianMOD has quit IRC16:55
*** HarryHaaren has joined #lv217:17
*** gianMOD has joined #lv217:55
*** NickSB2 has joined #lv218:00
*** bgola has quit IRC18:08
*** ricardocrudo has quit IRC18:45
*** falktx has quit IRC18:47
*** falktx has joined #lv219:03
*** gianMOD has quit IRC19:11
*** HarryHaaren has quit IRC19:15
*** ricardocrudo has joined #lv219:25
*** gianMOD_ has joined #lv220:22
*** gianMOD_ has quit IRC20:25
*** gianMOD_ has joined #lv220:28
*** mlpug has quit IRC20:31
*** gianMOD_ has quit IRC20:37
*** gianMOD has joined #lv220:38
*** edogawa has joined #lv220:40
*** ricardocrudo has quit IRC21:19
*** ricardocrudo has joined #lv221:39
*** Haskellfant has quit IRC21:59
*** ricardocrudo has quit IRC22:03
*** Haskellfant has joined #lv222:06
*** gianMOD has quit IRC22:18
*** gianMOD_ has joined #lv222:23
*** gianMOD_ has quit IRC22:34
*** falktx has quit IRC23:19
*** edogawa has quit IRC23:44
*** gianMOD has joined #lv223:45
*** gianMOD has quit IRC23:50

Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!