[SCM] calf/master: + Testing: Tweaks to expected message format in Msg Read (added serial_no and data_size)

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:37:45 UTC 2013


The following commit has been merged in the master branch:
commit 5354b326bc0f354c1e5d051db5a2673277390089
Author: kfoltman <kfoltman at 78b06b96-2940-0410-b7fc-879d825d01d8>
Date:   Tue Oct 14 23:02:03 2008 +0000

    + Testing: Tweaks to expected message format in Msg Read (added serial_no and data_size)
    
    
    
    git-svn-id: https://calf.svn.sourceforge.net/svnroot/calf/trunk@333 78b06b96-2940-0410-b7fc-879d825d01d8

diff --git a/src/modules_small.cpp b/src/modules_small.cpp
index 4d294b4..d382828 100644
--- a/src/modules_small.cpp
+++ b/src/modules_small.cpp
@@ -1772,6 +1772,8 @@ public:
             {
                 struct payload {
                     uint32_t selector;
+                    uint32_t serial_no;
+                    uint32_t data_size;
                     uint32_t parg_count;
                     uint32_t data_type;
                     float data_value;
@@ -1780,6 +1782,7 @@ public:
                 const payload *p = (const payload *)event->data;
                 if (p->selector == set_float_msg) {
                     assert(p->parg_count == 1);
+                    assert(p->data_size == 16);
                     assert(p->data_type == float_type);
                     *outs[0] = p->data_value;
                     assert(p->narg_count == 0); // this is just for testing - passing 

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list