Mercurial > audlegacy-plugins
changeset 168:e094aa00fdee trunk
[svn] - support lookup of actuator templates by their display name
- use displayed names in the "new actuator" popup menu.
author | nenolod |
---|---|
date | Tue, 31 Oct 2006 22:42:55 -0800 |
parents | c9d736cdc93f |
children | c99b74280827 |
files | ChangeLog src/paranormal/actuators.c src/paranormal/cfg.c |
diffstat | 3 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Oct 31 22:20:56 2006 -0800 +++ b/ChangeLog Tue Oct 31 22:42:55 2006 -0800 @@ -1,3 +1,11 @@ +2006-11-01 06:20:56 +0000 William Pitcock <nenolod@nenolod.net> + revision [334] + - slightly adjust the variance threshold for beat detection + + trunk/src/paranormal/containers.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + + 2006-11-01 06:09:04 +0000 William Pitcock <nenolod@nenolod.net> revision [332] - use a quantized variance instead of a fast fft sum for beat detection with thresholding
--- a/src/paranormal/actuators.c Tue Oct 31 22:20:56 2006 -0800 +++ b/src/paranormal/actuators.c Tue Oct 31 22:42:55 2006 -0800 @@ -68,7 +68,7 @@ int i; for (i=0; builtin_table[i]; i++) - if (! g_strcasecmp (name, builtin_table[i]->name)) + if (! g_strcasecmp (name, builtin_table[i]->name) || ! g_strcasecmp(name, builtin_table[i]->dispname)) break; /* actuator not found */
--- a/src/paranormal/cfg.c Tue Oct 31 22:20:56 2006 -0800 +++ b/src/paranormal/cfg.c Tue Oct 31 22:42:55 2006 -0800 @@ -522,7 +522,7 @@ for (i=0; builtin_table[i]; i++) { /* FIXME: Add actuator group support */ - menuitem = gtk_menu_item_new_with_label (builtin_table[i]->name); + menuitem = gtk_menu_item_new_with_label (builtin_table[i]->dispname); gtk_widget_show (menuitem); gtk_menu_append (GTK_MENU (menu), menuitem); }