Searched refs:wbuf_size (Results 1 – 2 of 2) sorted by relevance
63 static long wbuf_size, rbuf_size, block_offset; variable99 wbuf_size = MAX(WRITE_BLOCKS, FALLOCATE_BLOCKS) * blocksize; in setup()127 wbuf = SAFE_MALLOC(wbuf_size); in setup()131 for (i = 0, ch = 1; i < wbuf_size; i++, ch++) in setup()
80 snd_pcm_uframes_t wbuf_size; member467 snd_pcm_uframes_t cont = file->wbuf_size - file->appl_ptr; in snd_pcm_file_add_frames()468 snd_pcm_uframes_t avail = file->wbuf_size - snd_pcm_bytes_to_frames(pcm, file->wbuf_used_bytes); in snd_pcm_file_add_frames()479 if (file->appl_ptr == file->wbuf_size) in snd_pcm_file_add_frames()571 file->appl_ptr = (file->appl_ptr - err + file->wbuf_size) % file->wbuf_size; in snd_pcm_file_rewind()599 file->appl_ptr = (file->appl_ptr + err) % file->wbuf_size; in snd_pcm_file_forward()760 file->wbuf_size = slave->buffer_size * 2; in snd_pcm_file_hw_params()761 file->wbuf_size_bytes = snd_pcm_frames_to_bytes(slave, file->wbuf_size); in snd_pcm_file_hw_params()