error(no sound) over boundary time [src/pcm/pcm_dshare.c]

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

 



alsa-project/alsa-lib issue #84 was opened from syuuha:

there is an issue when we use pcm_dshare over boundary time,
eg.  will be no sound after 12 hours 


[src/pcm/pcm_dshare.c] Line 114:

[before]
	/* calculate the size to transfer */
	size = dshare->appl_ptr - dshare->last_appl_ptr;

[after]
	/* calculate the size to transfer */
	if (dshare->appl_ptr < dshare->last_appl_ptr)
		size = dshare->appl_ptr + (pcm->boundary - dshare->last_appl_ptr);
	else
		size = dshare->appl_ptr - dshare->last_appl_ptr;

Issue URL     : https://github.com/alsa-project/alsa-lib/issues/84
Repository URL: https://github.com/alsa-project/alsa-lib



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

  Powered by Linux