SR_CONF_SAMPLERATE,
SR_CONF_LIMIT_MSEC, /* TODO: Not yet implemented. */
SR_CONF_LIMIT_SAMPLES, /* TODO: Not yet implemented. */
+ SR_CONF_MAX_UNCOMPRESSED_SAMPLES,
};
/*
} else
return SR_ERR;
break;
+ case SR_CONF_MAX_UNCOMPRESSED_SAMPLES:
+ *data = g_variant_new_uint64(MAX_NUM_SAMPLES);
+ break;
default:
return SR_ERR_NA;
}
#define TRIGGER_TYPE "01"
#define SDRAM_SIZE (8 * 1024 * 1024)
#define MIN_NUM_SAMPLES 1
+#define MAX_NUM_SAMPLES SDRAM_SIZE
#define BS 4096 /* Block size */
#define NUM_BLOCKS 2048 /* Number of blocks */