pcm_oss: Can period_bytes - buffer_used be less than 0?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



vi sound/core/oss/pcm_oss.c +1572 (in linus' git tree) and note:

static int snd_pcm_oss_sync(struct snd_pcm_oss_file *pcm_oss_file)
{
	...
	size_t size;
	... :1608
	size = runtime->oss.period_bytes - runtime->oss.period_ptr;

can this period_bytes - buffer_used become less than 0?

Roel
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux