*** Yruama_Lairba has quit IRC | 01:39 | |
*** drobilla has quit IRC | 02:31 | |
*** NickSB2 has quit IRC | 02:33 | |
*** diqidoq has joined #lv2 | 03:47 | |
*** diqidoq_ has quit IRC | 03:50 | |
*** NickSB has quit IRC | 04:46 | |
*** NickSB has joined #lv2 | 05:03 | |
*** drobilla has joined #lv2 | 05:29 | |
*** drobilla has quit IRC | 05:35 | |
*** rncbc has joined #lv2 | 06:00 | |
*** drobilla has joined #lv2 | 06:31 | |
*** drobilla has quit IRC | 06:37 | |
*** drobilla has joined #lv2 | 07:33 | |
*** drobilla has quit IRC | 07:38 | |
*** NickSB2 has joined #lv2 | 07:40 | |
*** sigma6 has quit IRC | 08:46 | |
*** drobilla has joined #lv2 | 09:31 | |
*** yann-kaelig has joined #lv2 | 09:57 | |
*** sigma6 has joined #lv2 | 10:11 | |
*** diqidoq has quit IRC | 10:22 | |
*** edo_pc has joined #lv2 | 11:12 | |
*** arguy has joined #lv2 | 11:50 | |
*** artfwo has joined #lv2 | 12:06 | |
*** drobilla has quit IRC | 12:09 | |
*** NickSB2 has quit IRC | 13:38 | |
*** diqidoq has joined #lv2 | 13:45 | |
*** drobilla has joined #lv2 | 14:05 | |
*** drobilla has quit IRC | 14:11 | |
*** dsheeler has quit IRC | 14:25 | |
*** diqidoq is now known as diqidoq_afk | 14:31 | |
*** Yruama_Lairba has joined #lv2 | 14:44 | |
*** diqidoq_afk is now known as diqidoq | 14:49 | |
*** ssj71 has joined #lv2 | 14:56 | |
*** drobilla has joined #lv2 | 15:08 | |
*** drobilla has quit IRC | 15:13 | |
*** deva has joined #lv2 | 15:18 | |
*** ssj71 has quit IRC | 15:23 | |
*** dsheeler has joined #lv2 | 15:38 | |
*** drobilla has joined #lv2 | 16:10 | |
*** drobilla has quit IRC | 16:15 | |
*** sigma6 has quit IRC | 16:25 | |
*** gabrbedd has joined #lv2 | 17:03 | |
*** drobilla has joined #lv2 | 17:11 | |
*** drobilla has quit IRC | 17:16 | |
*** edo_pc_ has joined #lv2 | 18:16 | |
*** edo_pc has quit IRC | 18:19 | |
*** drobilla has joined #lv2 | 18:41 | |
*** NickSB__ has joined #lv2 | 18:55 | |
*** NickSB has quit IRC | 18:56 | |
*** diqidoq has quit IRC | 19:57 | |
*** NickSB2 has joined #lv2 | 20:08 | |
*** m4l3z has joined #lv2 | 20:23 | |
raphaal1 | question about lilv: is there a way to check if PluginClass is a subclass of other PluginClass? | 20:26 |
---|---|---|
drobilla | There's not a convenience function to do specifically that. Probably the easiest way with the current API would be to walk up from the child with lilv_plugin_class_get_parent_uri and see if you reach it | 20:34 |
raphaal1 | ok | 20:35 |
drobilla | lilv_plugin_is_a would be handy. oh well | 20:36 |
*** deva has quit IRC | 20:47 | |
raphaal1 | there's no lilv_plugin_is a, only lilv_port_is_a and lilv_ui_is_a | 20:56 |
raphaal1 | so | 20:56 |
raphaal1 | easiest way is to map plugin uri to int | 20:56 |
raphaal1 | and create something like map<int, list<int>> where key is plugin class, and value subclasses | 20:57 |
*** yann-kaelig has quit IRC | 20:58 | |
drobilla | I'd probably just literally write a function that works as I described. A cache that slow isn't likely to be much better anyway | 21:19 |
drobilla | Though if you want to build one for this, unordered_map<string, unordered_map<string>> would be much better | 21:19 |
drobilla | Note that some classes have more than one superclass, though, it's not a strict single-parent hierarchy | 21:21 |
drobilla | (Probably don't have to care in practice, just saying) | 21:21 |
drobilla | I could just add such a function if you're not in a rush, but I wouldn't get around to it for a while | 21:24 |
rgareus | drobilla: doesn't ingen already do that? IIRC plugin by category is a n-level deep menu | 21:30 |
drobilla | rgareus: Sure | 21:31 |
drobilla | rgareus: It builds the whole menu, though, so there's no transitive "is this a subclass of some other class" involved there | 21:32 |
drobilla | (I do have code for that, but not based on lilv. IIRC Ingen and sord_validate do this) | 21:33 |
drobilla | If I ever get around to cleanup up and unifying the guts of s*rd and reshaping lilv to expose them directly, everything can use the same nodes and all the smart can be used wherever... | 21:34 |
rgareus | drobilla: btw, I'm using a script to copy relevant files from your lad repos into a single tree for easy use. meanwhile public at https://github.com/x42/lv2vst | 21:37 |
drobilla | rgareus: blech, but fair enough :) | 21:37 |
drobilla | I should probably just release all the things and do the grand LV2 unification in the dumbest possible way already | 21:37 |
rgareus | it's practical to have everything (incl pthread) ready for static linking in one dir. | 21:38 |
rgareus | and rsync it on release | 21:39 |
*** rncbc has quit IRC | 21:40 | |
rgareus | i'd very much prefer a nice solution from upstream, but I understand it's not easy to provide that in a maintainable way | 21:40 |
drobilla | It'd make my life easier if anything, though serd and sord wouldn't go in LV2 | 21:40 |
drobilla | ... and not pthreads, clearly :) | 21:40 |
rgareus | drobilla: I've pondered a script that just git pulls all of your repos, then includes dependencies needed for x-platform builds and just rolls a tar.gz | 21:43 |
rgareus | but I stopped halfway, opting for the semi-automatic rsync. | 21:43 |
drobilla | rgareus: What dependencies? | 21:43 |
rgareus | pthread for example | 21:44 |
rgareus | worker thread needs it | 21:44 |
rgareus | except maybe not.. one could use native windows threads I suppose | 21:44 |
drobilla | I don't even understand the concept of pthread as a dependency | 21:44 |
drobilla | Isn't that baked into libc? | 21:45 |
rgareus | no | 21:45 |
drobilla | and my libs certainly don't require pthreads on windows unless I'm really missing something | 21:45 |
rgareus | well, not in mingw's libc at least, cygwin provides pthread | 21:45 |
rgareus | drobilla: you're right | 21:45 |
drobilla | (i.e. unification would be good but this doesn't seem all that generally useful) | 21:46 |
drobilla | (wouldn't actual widespread support for C11 be nice?) | 21:47 |
*** edo_pc_ has quit IRC | 22:12 | |
*** tytel has joined #lv2 | 22:23 | |
*** m4l3z has quit IRC | 22:23 | |
*** drobilla has quit IRC | 22:49 | |
*** drobilla has joined #lv2 | 23:00 | |
*** dsheeler has quit IRC | 23:02 | |
*** drobilla` has joined #lv2 | 23:20 | |
*** drobilla has quit IRC | 23:23 | |
*** tytel has quit IRC | 23:59 | |
*** tytel has joined #lv2 | 23:59 |
Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!