summaryrefslogtreecommitdiff
path: root/libs/ardour/automation.cc
blob: 2e3116ba1758c85e10e8677985b67cba4dab1624 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdint.h>

template<class AutomatedObject>
struct AutomationEvent {
    uint32_t frame;
    AutomatedObject *object;
    void (AutomatedObject::*function) (void *);
    void *arg;

    void operator() (){ 
	    object->function (arg);
    }
};