Searched refs:num_sample_rates (Results 1 – 5 of 5) sorted by relevance
46 params->num_sample_rates = 0; in libxl__sample_rates_from_string()54 (params->num_sample_rates + 1)); in libxl__sample_rates_from_string()55 params->sample_rates[params->num_sample_rates++] = strtoul(p, NULL, 0); in libxl__sample_rates_from_string()307 int num_sample_rates) in libxl__rates_to_str_vsnd() argument314 if (num_sample_rates == 0) goto out; in libxl__rates_to_str_vsnd()316 for (i = 0; i < num_sample_rates - 1; i++) { in libxl__rates_to_str_vsnd()377 params->num_sample_rates); in libxl__set_params_vsnd()383 params->num_sample_rates); in libxl__set_params_vsnd()
903 ("sample_rates", Array(uint32, "num_sample_rates")),
82 if (params->num_sample_rates) { in print_params()84 for (i = 0; i < params->num_sample_rates - 1; i++) { in print_params()
868 params->num_sample_rates = libxl_string_list_length(&rates); in parse_vsnd_params()869 params->sample_rates = xcalloc(params->num_sample_rates, in parse_vsnd_params()872 for (i = 0; i < params->num_sample_rates; i++) { in parse_vsnd_params()
2526 if n := int(xc.num_sample_rates); n > 0 {2554 xc.num_sample_rates = C.int(numSampleRates)
Completed in 16 milliseconds