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;