Re: Fwd: [PATCH] pcm_rate: fix hw_ptr boundary wrapping issue

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

 



On 16. 02. 23 14:45, Alan Young wrote:
    Hi, did this one slip past? I have not see any response. Alan.

I replied to the original e-mail. Usually, it's better to continue in a thread than to do a malformed forward.

				Jaroslav


    -------- Forwarded Message --------
    Subject: [PATCH] pcm_rate: fix hw_ptr boundary wrapping issue
    Date: Thu, 5 Jan 2023 15:35:46 +0000
    From: Alan Young [1]<consult.awy@xxxxxxxxx>
    To: [2]alsa-devel@xxxxxxxxxxxxxxxx
    CC: [3]tiwai@xxxxxxx, [4]mahendran.kuppusamy@xxxxxxxxxxxx, Alan Young
    [5]<consult.awy@xxxxxxxxx>
    Wrap the hw_ptr using the total position of the slave hw_ptr, including
    boundary wraps. Otherwise, small errors can creep in due to residuals
    (when boundary is not a multiple of period size) and which can
    accumulate.
    Signed-off-by: Alan Young [6]<consult.awy@xxxxxxxxx>
    Fixes: 7570e5d7 ("pcm: rate: fix the hw_ptr update until the boundary
    available")
    ---
    src/pcm/pcm_rate.c | 54 ++++++++++++++++++++++++++++++----------------
    1 file changed, 36 insertions(+), 18 deletions(-)
    diff --git a/src/pcm/pcm_rate.c b/src/pcm/pcm_rate.c

...

--
Jaroslav Kysela <perex@xxxxxxxx>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.




[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