diff options
Diffstat (limited to 'effects.h')
-rw-r--r-- | effects.h | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -27,7 +27,8 @@ typedef enum { VALUE_TYPE_LABEL = 1 << 3, /**< use value labels (overrides any other option) */ VALUE_TYPE_EXTRA = 1 << 4, /**< use extra values */ VALUE_TYPE_DECIMAL= 1 << 5, /**< display decimal places */ - VALUE_TYPE_NONE = 1 << 6, /**< no value displayed */ + VALUE_TYPE_POSID = 1 << 6, /**< Packed Position/ID: (pos << 16) | id */ + VALUE_TYPE_NONE = 1 << 7, /**< no value displayed */ } ValueType; typedef struct _EffectValues { @@ -105,7 +106,7 @@ enum product_id { RP255 = 8, RP355 = 9, }; - + typedef struct { gchar *name; unsigned char family_id; @@ -116,12 +117,16 @@ typedef struct { gint n_banks; } Device; -ModifierGroup *modifier_linkable_list(); -void modifier_group_free(ModifierGroup *modifier_group); +gchar *get_position(guint position); +void update_modifier_linkable_list(GString* msg); +extern ModifierGroup *ModifierLinkableList; +EffectGroup *get_modifier_group(void); +guint get_modifier_amt(void); void get_values_info(EffectValues *values, gdouble *min, gdouble *max, gboolean *custom); gboolean get_device_info(unsigned char device_id, unsigned char family_id, unsigned char product_id, Device **device); + #endif /* GDIGI_EFFECTS_H */ |