[alsa-devel] [PATCH - snd_interval_refine 1/1] pcm: snd_interval_refine_first/last: exclude value only if also excluded before
Takashi Iwai
tiwai at suse.de
Wed Jul 11 08:50:28 CEST 2018
On Tue, 10 Jul 2018 17:28:45 +0200,
<twischer at de.adit-jv.com> wrote:
>
> From: Timo Wischer <twischer at de.adit-jv.com>
>
> Without this commit the following intervals [x y), (x y) were be
> replaced to (y-1 y) by snd_interval_refine_last(). This was also done if
> y-1 is part of the previous interval.
> With this changes it will be replaced with [y-1 y) in case of y-1 is
> part of the previous interval. A similar behavior will be used for
> snd_interval_refine_first().
>
> This commit adapts the changes for alsa-lib of commit
> 9bb985c ("pcm: snd_interval_refine_first/last: exclude value only if
> also excluded before")
>
> Signed-off-by: Timo Wischer <twischer at de.adit-jv.com>
> ---
>
> That this fix is also required for kernel was spotted by Takashi in [1].
>
> [1] http://mailman.alsa-project.org/pipermail/alsa-devel/2018-July/137764.html
Thanks, applied with a minor subject fix now.
Takashi
More information about the Alsa-devel
mailing list