Lines Matching refs:size

72 	size_t size;
74 size = dmix->shmptr->s.channels *
78 dmix->u.dmix.shmid_sum = shmget(dmix->ipc_key + 1, size,
106 mlock(dmix->u.dmix.sum_buffer, size);
160 snd_pcm_uframes_t size)
198 do_mix_areas(size * channels,
213 do_mix_areas(size,
228 snd_pcm_uframes_t size)
266 do_remix_areas(size * channels,
281 do_remix_areas(size,
316 snd_pcm_uframes_t appl_ptr, size, transfer;
319 /* calculate the size to transfer */
320 /* check the available size in the local buffer
323 size = pcm_frame_diff2(dmix->appl_ptr, dmix->last_appl_ptr, pcm->boundary);
324 if (! size)
332 if (transfer > size)
333 transfer = size;
338 size = pcm_frame_diff2(dmix->appl_ptr, dmix->last_appl_ptr, pcm->boundary);
339 if (! size)
343 /* check the available size in the slave PCM buffer */
353 if (slave_size < size)
354 size = slave_size;
355 if (! size)
362 dmix->last_appl_ptr += size;
365 dmix->slave_appl_ptr += size;
369 transfer = size;
375 size -= transfer;
376 if (! size)
675 snd_pcm_uframes_t appl_ptr, size, transfer, result, frames_to_remix;
693 size = pcm_frame_diff(dmix->last_appl_ptr, dmix->appl_ptr, pcm->boundary);
694 if (frames < size)
695 size = frames;
696 snd_pcm_mmap_appl_backward(pcm, size);
697 frames -= size;
699 return size;
700 result = size;
705 size = pcm_frame_diff(dmix->appl_ptr, dmix->hw_ptr, pcm->boundary);
706 if (size > frames)
707 size = frames;
709 if (slave_size < size)
710 size = slave_size;
715 frames_to_remix = size;
720 dmix->last_appl_ptr -= size;
723 dmix->slave_appl_ptr -= size;
728 transfer = size;
734 size -= transfer;
735 if (! size)
769 static snd_pcm_sframes_t snd_pcm_dmix_readi(snd_pcm_t *pcm ATTRIBUTE_UNUSED, void *buffer ATTRIBUTE_UNUSED, snd_pcm_uframes_t size ATTRIBUTE_UNUSED)
774 static snd_pcm_sframes_t snd_pcm_dmix_readn(snd_pcm_t *pcm ATTRIBUTE_UNUSED, void **bufs ATTRIBUTE_UNUSED, snd_pcm_uframes_t size ATTRIBUTE_UNUSED)
805 snd_pcm_uframes_t size)
813 if (! size)
815 snd_pcm_mmap_appl_forward(pcm, size);
833 return size;
1195 buffer size.
1196 If the application buffer size is < 2 * application period,
1260 Also, note that ICE1712 have the limited buffer size, 5513 frames