Searched refs:supported_channel_counts (Results 1 – 14 of 14) sorted by relevance
62 free(iodev->supported_channel_counts); in hfp_alsa_update_supported_formats()63 iodev->supported_channel_counts = in hfp_alsa_update_supported_formats()64 malloc(2 * sizeof(*iodev->supported_channel_counts)); in hfp_alsa_update_supported_formats()65 if (!iodev->supported_channel_counts) in hfp_alsa_update_supported_formats()67 iodev->supported_channel_counts[0] = 1; in hfp_alsa_update_supported_formats()68 iodev->supported_channel_counts[1] = 0; in hfp_alsa_update_supported_formats()330 free(iodev->supported_channel_counts); in hfp_alsa_iodev_destroy()
56 free(iodev->supported_channel_counts); in update_supported_formats()57 iodev->supported_channel_counts = (size_t *)malloc(2 * sizeof(size_t)); in update_supported_formats()58 iodev->supported_channel_counts[0] = 1; in update_supported_formats()59 iodev->supported_channel_counts[1] = 0; in update_supported_formats()277 free(hfpio->base.supported_channel_counts); in hfp_free_resources()
188 for (length = 0; dev->supported_channel_counts[length]; length++) in update_supported_formats()190 iodev->supported_channel_counts = (size_t *)malloc( in update_supported_formats()191 (length + 1) * sizeof(*iodev->supported_channel_counts)); in update_supported_formats()193 iodev->supported_channel_counts[i] = in update_supported_formats()194 dev->supported_channel_counts[i]; in update_supported_formats()583 free(bt_iodev->supported_channel_counts); in cras_bt_io_free_resources()
95 free(iodev->supported_channel_counts); in update_supported_formats()96 iodev->supported_channel_counts = (size_t *)malloc(2 * sizeof(channel)); in update_supported_formats()97 iodev->supported_channel_counts[0] = channel; in update_supported_formats()98 iodev->supported_channel_counts[1] = 0; in update_supported_formats()603 free(a2dpio->base.supported_channel_counts); in free_resources()
874 free(aio->base.supported_channel_counts); in free_alsa_iodev_resources()1483 for (i = 0; iodev->supported_channel_counts[i] != 0; i++) { in update_max_supported_channels()1484 if (iodev->supported_channel_counts[i] > max_channels) in update_max_supported_channels()1485 max_channels = iodev->supported_channel_counts[i]; in update_max_supported_channels()1713 free(iodev->supported_channel_counts); in update_supported_formats()1714 iodev->supported_channel_counts = NULL; in update_supported_formats()1719 &iodev->supported_channel_counts, in update_supported_formats()1738 free(iodev->supported_channel_counts); in update_supported_formats()1739 iodev->supported_channel_counts = (size_t *)malloc( in update_supported_formats()1740 2 * sizeof(iodev->supported_channel_counts[0])); in update_supported_formats()[all …]
335 assert(iodev->supported_channel_counts[0] != 0); in get_best_channel_count()337 for (i = 0; iodev->supported_channel_counts[i] != 0; i++) { in get_best_channel_count()338 if (iodev->supported_channel_counts[i] == count) in get_best_channel_count()345 for (i = 0; iodev->supported_channel_counts[i] != 0; i++) { in get_best_channel_count()346 if (iodev->supported_channel_counts[i] == in get_best_channel_count()351 return iodev->supported_channel_counts[0]; in get_best_channel_count()
188 iodev->supported_channel_counts = empty_supported_channel_counts; in empty_iodev_create()
183 iodev->supported_channel_counts = test_supported_channel_counts; in test_iodev_create()
288 size_t *supported_channel_counts; member
287 iodev->supported_channel_counts = loopback_supported_channel_counts; in create_loopback_iodev()
86 d->supported_channel_counts = NULL; in SetUpIodev()93 free(iodev->supported_channel_counts); in update_supported_formats()99 iodev->supported_channel_counts = in update_supported_formats()100 (size_t*)calloc(2, sizeof(*iodev->supported_channel_counts)); in update_supported_formats()101 iodev->supported_channel_counts[0] = 2; in update_supported_formats()102 iodev->supported_channel_counts[1] = 0; in update_supported_formats()198 free(iodev_.supported_channel_counts); in TEST_F()
217 size_t supported_channel_counts[] = {1, 0}; in TEST_F() local222 fake_sco_out.supported_channel_counts = supported_channel_counts; in TEST_F()234 EXPECT_EQ(supported_channel_counts[i], iodev->supported_channel_counts[i]); in TEST_F()
266 iodev_.supported_channel_counts = channel_counts_; in SetUp()426 iodev_.supported_channel_counts[0] = 6; in TEST_F()427 iodev_.supported_channel_counts[1] = 2; in TEST_F()449 iodev_.supported_channel_counts[0] = 6; in TEST_F()450 iodev_.supported_channel_counts[1] = 2; in TEST_F()475 iodev_.supported_channel_counts[0] = 6; in TEST_F()476 iodev_.supported_channel_counts[1] = 2; in TEST_F()
160 d1_.supported_channel_counts = channel_counts_; in SetUp()173 d2_.supported_channel_counts = channel_counts_; in SetUp()186 d3_.supported_channel_counts = channel_counts_; in SetUp()200 loopback_input.supported_channel_counts = channel_counts_; in SetUp()