alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* error(no sound) over boundary time [src/pcm/pcm_dshare.c]
       [not found] <1602583604138755083-webhooks-bot@alsa-project.org>
@ 2020-10-13 10:06 ` GitHub issues - opened
  0 siblings, 0 replies; only message in thread
From: GitHub issues - opened @ 2020-10-13 10:06 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-13 10:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1602583604138755083-webhooks-bot@alsa-project.org>
2020-10-13 10:06 ` error(no sound) over boundary time [src/pcm/pcm_dshare.c] GitHub issues - opened

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).