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()105 buf_increment_read(testio->audbuff, frames * testio->fmt_bytes); in put_buffer()124 avail = MIN(avail, *frames * testio->fmt_bytes); in get_buffer_fd_read()134 *frames = nread / testio->fmt_bytes; in get_buffer_fd_read()238 memcpy(write_ptr, samples, count * testio->fmt_bytes); in test_iodev_add_samples()239 buf_increment_write(testio->audbuff, count * 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()