SRD_OUTPUT_META,
};
-#define SRD_MAX_NUM_PROBES 64
-
enum {
SRD_CONF_SAMPLERATE = 10000,
};
*/
GSList *annotations;
+ /**
+ * List of annotation rows (row items: id, description, and a list
+ * of annotation classes belonging to this row).
+ */
+ GSList *annotation_rows;
+
/**
* List of NULL-terminated char[], containing descriptions of the
* supported binary output.
GVariant *def;
};
+struct srd_decoder_annotation_row {
+ char *id;
+ char *desc;
+ GSList *ann_classes;
+};
+
struct srd_decoder_inst {
struct srd_decoder *decoder;
struct srd_session *sess;
int dec_num_probes;
int *dec_probemap;
int data_unitsize;
+ uint8_t *probe_samples;
GSList *next_di;
};