put reset midi events in menu, kick mistake in setup_samplebank

git-svn-id: svn://code.dyne.org/veejay/trunk@1208 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
Niels Elburg
2008-11-22 00:34:21 +00:00
parent 32c144a130
commit 91e5ea80f5
6 changed files with 63 additions and 34 deletions

View File

@@ -7104,10 +7104,6 @@ void setup_samplebank(gint num_cols, gint num_rows, GtkWidget *pad, int *idx, in
float ratio = (float) info->el.height / (float) info->el.width;
image_height = image_width * ratio;
*idx = image_width;
while( (image_width * ratio) > image_height )
*idy = image_width * ratio;
gfloat w = image_width;
gfloat h = image_width * ratio;