[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87pmgew9cw.wl-tiwai@suse.de>
Date: Fri, 02 Sep 2022 08:58:39 +0200
From: Takashi Iwai <tiwai@...e.de>
To: Pattara Teerapong <pteerapong@...omium.org>
Cc: alsa-devel@...a-project.org, Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ALSA: aloop: Fix random zeros in capture data when using jiffies timer
On Thu, 01 Sep 2022 16:40:36 +0200,
Pattara Teerapong wrote:
>
> In loopback_jiffies_timer_pos_update(), we are getting jiffies twice.
> First time for playback, second time for capture. Jiffies can be updated
> between these two calls and if the capture jiffies is larger, extra zeros
> will be filled in the capture buffer.
>
> Change to get jiffies once and use it for both playback and capture.
>
> Signed-off-by: Pattara Teerapong <pteerapong@...omium.org>
Thanks, applied.
Takashi
Powered by blists - more mailing lists