I understand. I thought you were aiming to make a plugin for Linux in general. Then you should find out whether LADSPA allows to get host tempo. So far this is the biggest problem for plugins on Linux I encountered - that there is no way to connect them with host tempo.