- case SR_CONF_MAX_UNCOMPRESSED_SAMPLES:
- if (sdi) {
- /* As long as this driver doesn't support compression,
- * this is ok. When compression is enabled, this should
- * return SR_ERR_NA instead. */
- devc = sdi->priv;
- *data = g_variant_new_uint64(devc->max_sample_depth);
- } else
- return SR_ERR;
- break;