+ gsize num_opts;
+ const int *const options = (const int32_t *)g_variant_get_fixed_array(
+ gvar, &num_opts, sizeof(int32_t));
+ for (unsigned int i = 0; i < num_opts; i++)
+ {
+ if (options[i] == SR_CONF_LIMIT_SAMPLES)
+ {
+ _sample_count_supported = true;
+ break;
+ }
+ }