Bye sayVIMS, hello sayOSC, OSC dynamic namespaces, revamped event handlers, bugfixes in livido host implementation, bugfixes in vevosample, some memory leaks fixed

git-svn-id: svn://code.dyne.org/veejay/trunk@593 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
Niels Elburg
2006-09-02 19:43:38 +00:00
parent 50bad29ab1
commit 9ad76c67d9
28 changed files with 2781 additions and 3917 deletions

View File

@@ -47,7 +47,11 @@ static int freeframe_signature_ = VEVO_PLUG_FF;
void* deal_with_ff( void *handle, char *name )
{
#ifdef STRICT_CHECKING
void *port = vevo_port_new( VEVO_FF_PORT , __FUNCTION__, __LINE__ );
#else
void *port = vevo_port_new( VEVO_FF_PORT );
#endif
char *plugin_name = NULL;
plugMainType *q = (plugMainType*) dlsym( handle, "plugMain" );
@@ -135,9 +139,11 @@ void* deal_with_ff( void *handle, char *name )
if(kind)
continue;
#ifdef STRICT_CHECKING
void *parameter = vevo_port_new( VEVO_FF_PARAM_PORT, __FUNCTION__,__LINE__ );
#else
void *parameter = vevo_port_new( VEVO_FF_PARAM_PORT );
#endif
double ivalue = (double)q( FF_GETPARAMETERDEFAULT, (LPVOID) p, 0).fvalue;
vevo_property_set( parameter, "default", VEVO_ATOM_TYPE_DOUBLE,1 ,&ivalue );
@@ -332,8 +338,11 @@ int freeframe_plug_init( void *plugin, int w, int h )
int num_channels = 0;
int i;
vevo_property_get( plugin, "num_inputs", 0, &num_channels );
#ifdef STRICT_CHECKING
void *buf = vevo_port_new( VEVO_ANONYMOUS_PORT, __FUNCTION__, __LINE__ );
#else
void *buf = vevo_port_new( VEVO_ANONYMOUS_PORT );
#endif
error = vevo_property_set( instance, "HOST_buffers",
VEVO_ATOM_TYPE_PORTPTR,1,&buf);
#ifdef STRICT_CHECKING