Wednesday, 2015-08-26

*** edogawa has quit IRC00:34
rgareusColaEuphoria: no00:51
rgareusColaEuphoria: well, you can hack something up, using a static global variable00:51
rgareusColaEuphoria: increment it when instantiating the plugin, decrement it when the plugin is destoyed00:52
ColaEuphoriai was afraid i'd need to do that00:52
rgareusColaEuphoria: I use that approach for fftw thread safety (a static global pthread_mutex)00:53
ColaEuphoriait's just a bit precarious because if the plugin crashes, cleanup() won't be called00:53
rgareusbut ideally there'd be no need for this.00:53
rgareusColaEuphoria: if the plugin crashes you've lost anyway00:54
ColaEuphoriafair enough00:54
rgareusand if the plugin is process-separated in the host (sandboxed)  multiple instances won't see each other to begin with.  and otherwise crashes will take down the host00:55
rgareusI don't think there is a host that process-separates LV2,  Carla maybe, IDK.00:57
*** NickSB2 has joined #lv201:40
*** NickSB2 has quit IRC03:31
*** drobilla has joined #lv204:18
*** edogawa has joined #lv207:18
*** ricardocrudo has joined #lv208:29
*** brummer has joined #lv208:47
brummermorning all08:48
ColaEuphoriamorning08:50
brummer<ColaEuphoria> do you realy need to count instances, or do you just need to ensure you "talk" to the right instance?08:59
ColaEuphoria@brummer: I already implemented the simple global variable counter. I just needed to know if the number of instances was zero so that I could free a global lookup table on cleanup().09:02
ColaEuphoriaEven if freeing 512 bytes worth of lookup is hardly a wash09:02
brummer<ColaEuphoria> ah, okay.09:03
*** NickSB2 has joined #lv209:24
*** ricardocrudo has quit IRC09:31
*** ventosus has joined #lv210:01
*** ricardocrudo has joined #lv210:02
*** brummer has quit IRC10:09
*** brummer has joined #lv211:49
rgareusColaEuphoria: what parameters does that LUT depend on?12:15
*** NickSB2 has quit IRC12:58
*** brummer has quit IRC13:09
*** rncbc has joined #lv214:12
*** brummer has joined #lv214:26
*** rncbc has quit IRC14:58
*** ventosus has left #lv215:32
*** brummer has quit IRC15:43
*** NickSB2 has joined #lv216:51
*** NickSB2_ has joined #lv217:07
*** mouldy-marmoset has quit IRC17:19
*** deva has joined #lv217:27
*** ricardocrudo has quit IRC18:17
*** ventosus has joined #lv218:54
*** curlymorphic has joined #lv218:55
*** flexus has joined #lv219:45
*** ricardocrudo has joined #lv219:47
*** deva has quit IRC19:47
*** NickSB3 has joined #lv219:51
*** curlymorphic has quit IRC20:07
*** LAbot has joined #lv220:11
*** tytel has joined #lv220:39
*** brummer has joined #lv220:40
*** brummer has quit IRC20:44
ColaEuphoria@rgareus: none; it's a sine wave lookup table21:36
rgareusColaEuphoria: why not hardcode it?21:38
rgareusColaEuphoria: as static const float21:38
ColaEuphoriargareus: i might end up doing that. when i first implemented it, it was more than 16 kB, because i was testing for sound quality before i started optimizing for cache21:42
rgareus16KB OTOH is also not troublesome to replicate per plugin instance21:44
rgareusie either hardcode it or don't bother.  if 16K are not shared accross multiple instances that's no a big real21:44
rgareusdeal21:44
rgareuswhile optimizations are good (every KB can matter). in reality a user will also load drumgizmo (which loads 2-6 GB of drum-samples into RAM)  and a few KB won't matter :)21:48
*** tytel has quit IRC21:48
*** ventosus has left #lv221:49
*** tytel has joined #lv221:50
ColaEuphoriargareus: it's no longer 16 kB, i've managed to get it down to 512 bytes and only storing 1/4th the cycle of a sine wave21:51
ColaEuphoriaalso using 16 bit ints21:52
*** tytel has quit IRC22:04
*** tytel has joined #lv222:06
*** tytel has quit IRC22:08
*** flexus has quit IRC22:11
*** tytel has joined #lv222:36
*** tytel has quit IRC22:45
*** tytel has joined #lv223:37
*** tytel_ has joined #lv223:42
*** tytel has quit IRC23:42
*** edogawa has quit IRC23:46
*** tytel has joined #lv223:49
*** tytel_ has quit IRC23:49
*** tytel_ has joined #lv223:57
*** tytel has quit IRC23:57

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