Lines Matching defs:offset
448 size_t offset = 0;
450 while (offset < count) {
451 written = write(fd, (char *)buf + offset, count - offset);
455 offset += written;
458 return offset;
1540 snd_pcm_uframes_t offset, size = chunk_size;
1542 err = snd_pcm_mmap_begin(handle, &areas, &offset, &size);
1550 snd_pcm_mmap_commit(handle, offset, 0);
2199 size_t offset = count;
2202 snd_pcm_format_set_silence(hwparams.format, data[channel] + offset * bits_per_sample / 8, remaining);
2209 size_t offset = result;
2211 bufs[channel] = data[channel] + offset * bits_per_sample / 8;
2302 size_t offset = result;
2304 bufs[channel] = data[channel] + offset * bits_per_sample / 8;