Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ded652f7 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: pcm - Fix delta calculation at boundary overlap



When the hw_ptr_interrupt reaches the boundary, it must check whether
the hw_base was already lapped and corret the delta value appropriately.

Also, rebasing the hw_ptr needs a correction because buffer_size isn't
always aligned to period_size.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 5f513e11
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment