[Pkg-alsa-devel] Bug#915079: Potential Fix for Bug
Rob Gibson
nosbig at gmail.com
Sat Dec 1 04:53:11 GMT 2018
I created a new install of Debian testing in a VM on Virtualbox. I
installed the Gnome desktop and Audacity, and I installed the source
package for alsa-lib (1.1.7-1).
I then configure the build tools and applied the patch from the ALSA
project against the source and built the binary packages. After
installation, I opened pavucontrol and Audacity and confirmed that
recording and playback options had Pulse available, and Audacity
displayed in pavucontrol with the ALSA plugin as it had in 1.1.6 and prior.
I recorded audio in Audacity and played it back successfully.
The patch I applied was this:
diff --git a/src/pcm/interval_inline.h b/src/pcm/interval_inline.h
index a68e292..d9a30b2 100644 (file)
--- a/src/pcm/interval_inline.h
+++ b/src/pcm/interval_inline.h
@@ -51,12 +51,14 @@ INTERVAL_INLINE int snd_interval_single(const
snd_interval_t *i)
{
assert(!snd_interval_empty(i));
return (i->min == i->max ||
- (i->min + 1 == i->max && i->openmax));
+ (i->min + 1 == i->max && (i->openmin || i->openmax)));
}
INTERVAL_INLINE int snd_interval_value(const snd_interval_t *i)
{
assert(snd_interval_single(i));
+ if (i->openmin && !i->openmax)
+ return i->max;
return i->min;
}
Rob Gibson
On Fri, 30 Nov 2018 22:05:15 -0500 Rob Gibson <nosbig at gmail.com> wrote:
> I have rolled back to 1.1.6-1 on my install of testing, but I would
> prefer to upgrade.
>
> A colleague running Arch filed a bug report over there that appears to
> now be fixed in 1.1.7.
>
> https://bugs.archlinux.org/task/60591 - Original Issue
> https://bugs.archlinux.org/task/60579 - Detailed Issue Report
> http://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=b420056604f06117c967b65d43d01536c5ffcbc9
> - Referenced patch from upstream repository
>
> I'm not a developer, and I've not attempted to participate in Debian
> package development, but I am willing to try, unless someone else is
> able to perform this testing with more experience than I.
>
> Rob Gibson
>
>
More information about the Pkg-alsa-devel
mailing list