Bug#915079: Potential Fix for Bug

2018-12-01 Thread Elimar Riesebieter
Control: tags -1 pending

* Rob Gibson  [2018-11-30 23:53 -0500]:

> 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.

I cherry picked this patch and prepared an update.

Elimar
-- 
.~.
/V\   L   I   N   U   X
   /( )\ >Phear the Penguin<
   ^^-^^


signature.asc
Description: PGP signature


Bug#915079: Potential Fix for Bug

2018-11-30 Thread Rob Gibson
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  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
> 
> 



Bug#915079: Potential Fix for Bug

2018-11-30 Thread Rob Gibson
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