g_array_free(opts, TRUE);
}
- if ((opts = sr_driver_scan_options(driver))) {
+ if ((opts = sr_driver_scan_options_list(driver))) {
if (opts->len > 0) {
printf("Scan options:\n");
for (i = 0; i < opts->len; i++) {
g_variant_unref(gvar_list);
} else if (key == SR_CONF_LIMIT_SAMPLES
- && (sr_dev_config_capabilities(sdi, NULL, key)
+ && (sr_dev_config_capabilities_list(sdi, NULL, key)
& SR_CONF_LIST)) {
/*
* If implemented in config_list(), this denotes the
struct srd_decoder_annotation_row *r;
GSList *l, *ll, *ol;
int idx;
- char **pdtokens, **pdtok, *optsep, **ann, *val, *doc;
+ char **pdtokens, **pdtok, *optsep, **ann, **bin, *val, *doc;
pdtokens = g_strsplit(opt_pds, ",", -1);
for (pdtok = pdtokens; *pdtok; pdtok++) {
} else {
printf("None.\n");
}
+ printf("Binary classes:\n");
+ if (dec->binary) {
+ for (l = dec->binary; l; l = l->next) {
+ bin = l->data;
+ printf("- %s: %s\n", bin[0], bin[1]);
+ }
+ } else {
+ printf("None.\n");
+ }
printf("Required channels:\n");
if (dec->channels) {
for (l = dec->channels; l; l = l->next) {