Searched refs:sample_rates (Results 1 – 5 of 5) sorted by relevance
/xen/tools/libxl/ |
A D | libxl_vsnd.c | 47 params->sample_rates = NULL; in libxl__sample_rates_from_string() 52 params->sample_rates = libxl__realloc(NOGC, params->sample_rates, in libxl__sample_rates_from_string() 53 sizeof(*params->sample_rates) * in libxl__sample_rates_from_string() 55 params->sample_rates[params->num_sample_rates++] = strtoul(p, NULL, 0); in libxl__sample_rates_from_string() 318 len += sprintf(&str[len], "%u,", sample_rates[i]); in libxl__rates_to_str_vsnd() 320 len += snprintf(NULL, 0, "%u,", sample_rates[i]); in libxl__rates_to_str_vsnd() 325 len += sprintf(&str[len], "%u", sample_rates[i]); in libxl__rates_to_str_vsnd() 327 len += snprintf(NULL, 0, "%u", sample_rates[i]); in libxl__rates_to_str_vsnd() 374 if (params->sample_rates) { in libxl__set_params_vsnd() 376 len = libxl__rates_to_str_vsnd(NULL, params->sample_rates, in libxl__set_params_vsnd() [all …]
|
A D | libxl_types.idl | 903 ("sample_rates", Array(uint32, "num_sample_rates")),
|
/xen/tools/xl/ |
A D | xl_vsnd.c | 85 printf("%u;", params->sample_rates[i]); in print_params() 87 printf("%u", params->sample_rates[i]); in print_params()
|
A D | xl_parse.c | 869 params->sample_rates = xcalloc(params->num_sample_rates, in parse_vsnd_params() 870 sizeof(*params->sample_rates)); in parse_vsnd_params() 873 params->sample_rates[i] = strtoul(rates[i], NULL, 0); in parse_vsnd_params()
|
/xen/tools/golang/xenlight/ |
A D | helpers.gen.go | 2527 cSampleRates := (*[1<<28]C.uint32_t)(unsafe.Pointer(xc.sample_rates))[:n:n] 2553 xc.sample_rates = (*C.uint32_t)(C.malloc(C.size_t(numSampleRates*numSampleRates))) 2555 cSampleRates := (*[1<<28]C.uint32_t)(unsafe.Pointer(xc.sample_rates))[:numSampleRates:numSampleRate…
|
Completed in 15 milliseconds