Searched refs:fmt_bytes (Results 1 – 2 of 2) sorted by relevance
41 unsigned int fmt_bytes; member58 return available / testio->fmt_bytes; in frames_queued()84 testio->fmt_bytes = cras_get_format_bytes(iodev->format); in configure_dev()86 testio->fmt_bytes); in configure_dev()113 buf_increment_read(testio->audbuff, frames * testio->fmt_bytes); in put_buffer()133 avail = MIN(avail, *frames * testio->fmt_bytes); in get_buffer_fd_read()143 *frames = nread / testio->fmt_bytes; in get_buffer_fd_read()249 memcpy(write_ptr, samples, count * testio->fmt_bytes); in test_iodev_add_samples()250 buf_increment_write(testio->audbuff, count * testio->fmt_bytes); in test_iodev_add_samples()
47 int fmt_bytes = T_BYTES(Format); in trueBytesSize() local50 if (fmt_bytes == 0) in trueBytesSize()54 return fmt_bytes; in trueBytesSize()