[SCM] calf/master: Make sure sample rate is set on instantiate -> restore chain of events.

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:41:16 UTC 2013


The following commit has been merged in the master branch:
commit 5917bf29e10cbf58c3f263f2a6f5d38d9314d31d
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Tue Oct 2 17:00:34 2012 +0100

    Make sure sample rate is set on instantiate -> restore chain of events.

diff --git a/src/calf/lv2wrap.h b/src/calf/lv2wrap.h
index d17804e..9cab885 100644
--- a/src/calf/lv2wrap.h
+++ b/src/calf/lv2wrap.h
@@ -339,6 +339,9 @@ struct lv2_wrapper
 	    uint32_t flags, const LV2_Feature *const * features)
     {
         instance *const inst = (instance *)Instance;
+        if (inst->set_srate)
+            inst->module->set_sample_rate(inst->srate_to_set);
+        
         inst->impl_restore(retrieve, callback_data);
         return LV2_STATE_SUCCESS;
     }

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list