Human readable debug
Leverage the code that writes a preset to XML so that messages can be displayed in a human readable format. E.g., (6, 2432, 1280) Distortion: Dist Type: Screamer The 3-tuple is position, id, value, which is followed by the colon separated decode of the position, id, and the mapped value.
This commit is contained in:
@@ -33,7 +33,9 @@ typedef struct {
|
||||
guint xml_labels_amt;
|
||||
} XmlSettings;
|
||||
|
||||
// XmlSettings *get_xml_settings(guint id, guint position);
|
||||
XmlSettings *get_xml_settings(guint id, guint position);
|
||||
gboolean value_is_extra(EffectValues *val, int value);
|
||||
gchar * map_xml_value(XmlSettings *xml, gint value);
|
||||
// gchar *get_xml_label(guint id, guint position, gint type);
|
||||
|
||||
#endif /* GDIGI_XML_H */
|
||||
|
||||
Reference in New Issue
Block a user