Home
last modified time | relevance | path

Searched refs:channel_counts (Results 1 – 3 of 3) sorted by relevance

/external/adhd/cras/src/server/
Dcras_alsa_helpers.c364 size_t **channel_counts, in cras_alsa_fill_properties() argument
382 *channel_counts = (size_t *)malloc(sizeof(test_channel_counts)); in cras_alsa_fill_properties()
383 if (*channel_counts == NULL) { in cras_alsa_fill_properties()
389 free(*channel_counts); in cras_alsa_fill_properties()
412 (*channel_counts)[num_found++] = test_channel_counts[i]; in cras_alsa_fill_properties()
414 (*channel_counts)[num_found] = 0; in cras_alsa_fill_properties()
426 (*channel_counts)[0] = (size_t)max_channels; in cras_alsa_fill_properties()
427 (*channel_counts)[1] = 0; in cras_alsa_fill_properties()
Dcras_alsa_helpers.h116 size_t **channel_counts,
/external/adhd/cras/src/tests/
Dalsa_io_unittest.cc2439 size_t** channel_counts, in cras_alsa_fill_properties() argument
2447 *channel_counts = (size_t*)malloc(sizeof(**channel_counts) * 6); in cras_alsa_fill_properties()
2448 (*channel_counts)[0] = 6; in cras_alsa_fill_properties()
2449 (*channel_counts)[1] = 4; in cras_alsa_fill_properties()
2450 (*channel_counts)[2] = 2; in cras_alsa_fill_properties()
2451 (*channel_counts)[3] = 1; in cras_alsa_fill_properties()
2452 (*channel_counts)[4] = 8; in cras_alsa_fill_properties()
2453 (*channel_counts)[5] = 0; in cras_alsa_fill_properties()
2455 *channel_counts = (size_t*)malloc(sizeof(**channel_counts) * 2); in cras_alsa_fill_properties()
2456 (*channel_counts)[0] = 2; in cras_alsa_fill_properties()
[all …]