Searched refs:fmt_bytes (Results 1 – 2 of 2) sorted by relevance
34 unsigned int fmt_bytes; member51 return available / testio->fmt_bytes; in frames_queued()77 testio->fmt_bytes = cras_get_format_bytes(iodev->format); in configure_dev()79 byte_buffer_create(TEST_BUFFER_SIZE * testio->fmt_bytes); in configure_dev()106 (size_t)frames * (size_t)testio->fmt_bytes); in put_buffer()125 avail = MIN(avail, *frames * testio->fmt_bytes); in get_buffer_fd_read()135 *frames = nread / testio->fmt_bytes; in get_buffer_fd_read()245 memcpy(write_ptr, samples, (size_t)count * (size_t)testio->fmt_bytes); in test_iodev_add_samples()247 (size_t)count * (size_t)testio->fmt_bytes); in test_iodev_add_samples()
46 cmsUInt32Number fmt_bytes = T_BYTES(Format); in trueBytesSize() local49 if (fmt_bytes == 0) in trueBytesSize()53 return fmt_bytes; in trueBytesSize()