added events: samplebank add, samplebank del, samplebank list, fx list, fx info, setup preview, get preview, fx details,fx chain, added sayVIMS utility, updated buildscripts

git-svn-id: svn://code.dyne.org/veejay/trunk@590 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
Niels Elburg
2006-08-15 14:28:55 +00:00
parent a52c9bf974
commit 9d3fbed9fd
11 changed files with 545 additions and 32 deletions

View File

@@ -1122,6 +1122,37 @@ void samplebank_init()
#endif
}
char *samplebank_sprint_list()
{
char *res = NULL;
int len = 0;
char **props = (char**) vevo_list_properties( sample_bank_ );
if(!props)
return NULL;
int i = 0;
for( i = 0; props[i] != NULL ; i ++ )
{
if(props[i][0] == 's')
len += strlen( props[i] ) + 1;
}
res = (char*) malloc(sizeof(char) * len );
memset(res,0,len);
char *p = res;
for( i = 0; props[i] != NULL ; i ++ )
{
if(props[i][0] == 's' )
{
sprintf(p, "%s:", props[i]);
p += strlen( props[i] ) + 1;
}
}
return res;
}
void samplebank_free()
{
int i = 0;