From c9c5ac12cc561c4f375d65b6d63d88b36022d97b Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 16 Oct 2018 11:51:49 +0200 Subject: [PATCH 1/5] updated to 1.1.7 --- alsa-plugins.spec | 9 +++++---- sources | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/alsa-plugins.spec b/alsa-plugins.spec index 130dd17..dd26bbe 100644 --- a/alsa-plugins.spec +++ b/alsa-plugins.spec @@ -5,8 +5,8 @@ %endif Name: alsa-plugins -Version: 1.1.6 -Release: 4%{?dist} +Version: 1.1.7 +Release: 1%{?dist} Summary: The Advanced Linux Sound Architecture (ALSA) Plugins # All packages are LGPLv2+ with the exception of samplerate which is GPLv2+ # pph plugin is BSD-like licensed @@ -14,7 +14,6 @@ License: GPLv2+ and LGPLv2+ and BSD Group: System Environment/Libraries URL: http://www.alsa-project.org/ Source0: ftp://ftp.alsa-project.org/pub/plugins/%{name}-%{version}.tar.bz2 -Patch0: plugin-config.patch BuildRequires: autoconf automake libtool BuildRequires: alsa-lib-devel @@ -136,7 +135,6 @@ ALSA native applications can run over DSP Gateway and use DSP PCM task nodes. %prep %setup -q -n %{name}-%{version}%{?prever} -%patch0 -p1 -b .plugin-config %build autoreconf -vif @@ -267,6 +265,9 @@ find %{buildroot} -name "*.la" -exec rm {} \; %changelog +* Tue Oct 16 2018 Jaroslav Kysela - 1.1.7-1 +- Updated to 1.1.7 + * Thu Jul 12 2018 Fedora Release Engineering - 1.1.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 194f06c..a1b2659 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (alsa-plugins-1.1.6.tar.bz2) = f01633cd7166a2fba4c5b4d5d786b5a2122f6a810f5b5b7209c42033759d116a4515174e7ee57973d5de716be88a246d733dc5a2daf92b72377c274b04db401b +SHA512 (alsa-plugins-1.1.7.tar.bz2) = 16b29333fa7a4aa5be347a95afac238d701fc897e23d314dca15730440aaeda35813803aef098e822c5768b52172f1ac3faf179d9a81c3a77ab10ed4db7a02e4 From 8527505e2b77e56d6d0bc33d82fe482be5339383 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 16 Oct 2018 14:07:29 +0200 Subject: [PATCH 2/5] uploaded the fixed upstream package --- sources | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources b/sources index a1b2659..39f36d1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (alsa-plugins-1.1.7.tar.bz2) = 16b29333fa7a4aa5be347a95afac238d701fc897e23d314dca15730440aaeda35813803aef098e822c5768b52172f1ac3faf179d9a81c3a77ab10ed4db7a02e4 +SHA512 (alsa-plugins-1.1.7.tar.bz2) = c3bb22ec3c5a167fb246cfc94131d53800e321b486ab743c3395a9d91dee0ff9703f6e4a2feaea5a4ee42a7e486d835d48ab880c784c5c34bb4eb5e9ded06d8e From a6d15da3c7bc0aa3ca8f0d6d7a5900704a01c323 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Wed, 24 Oct 2018 12:46:04 +0200 Subject: [PATCH 3/5] fixed some regressions (double free) --- alsa-git.patch | 237 ++++++++++++++++++++++++++++++++++++++++++++++ alsa-plugins.spec | 6 +- 2 files changed, 241 insertions(+), 2 deletions(-) create mode 100644 alsa-git.patch diff --git a/alsa-git.patch b/alsa-git.patch new file mode 100644 index 0000000..7cb40b7 --- /dev/null +++ b/alsa-git.patch @@ -0,0 +1,237 @@ +From 68c4cd3a471ed1f4a367830eb31881d3e5815813 Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Tue, 23 Oct 2018 08:39:16 +0200 +Subject: [PATCH 1/7] pcm_usb_stream: fix another leak in snd_pcm_us_open() + +Signed-off-by: Jaroslav Kysela +--- + usb_stream/pcm_usb_stream.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/usb_stream/pcm_usb_stream.c b/usb_stream/pcm_usb_stream.c +index eb4ca98..5ca1c0f 100644 +--- a/usb_stream/pcm_usb_stream.c ++++ b/usb_stream/pcm_usb_stream.c +@@ -424,8 +424,10 @@ static int snd_pcm_us_open(snd_pcm_t **pcmp, const char *name, + } + VDBG("%i %s", stream, us_name); + us->uus = get_uus(card); +- if (!us->uus) ++ if (!us->uus) { ++ free(us); + return -ENOMEM; ++ } + err = snd_hwdep_open(&us->hwdep, us_name, O_RDWR); + if (err < 0) { + us_free(us); +-- +2.13.6 + + +From 9ff42e4baf03a84eca83b8c25e0165572259d253 Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Tue, 23 Oct 2018 08:47:16 +0200 +Subject: [PATCH 2/7] pcm_usb_stream: remove unused parameter in + snd_pcm_us_read() + +Signed-off-by: Jaroslav Kysela +--- + usb_stream/pcm_usb_stream.c | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/usb_stream/pcm_usb_stream.c b/usb_stream/pcm_usb_stream.c +index 5ca1c0f..6d08c37 100644 +--- a/usb_stream/pcm_usb_stream.c ++++ b/usb_stream/pcm_usb_stream.c +@@ -297,7 +297,7 @@ static snd_pcm_sframes_t snd_pcm_us_write(snd_pcm_ioplug_t *io, + return size; + } + +-static int usb_stream_read(struct user_usb_stream *uus, void *to, unsigned bytes) ++static int usb_stream_read(struct user_usb_stream *uus, void *to) + { + struct usb_stream *s = uus->s; + int p = s->inpacket_split, l = 0; +@@ -337,8 +337,7 @@ static snd_pcm_sframes_t snd_pcm_us_read(snd_pcm_ioplug_t *io, + return -EINVAL; + } + if (us->uus->s->periods_done - us->periods_done == 1) { +- red = usb_stream_read(us->uus, to, size * frame_size) / +- frame_size; ++ red = usb_stream_read(us->uus, to) / frame_size; + us->periods_done++; + return red; + } +-- +2.13.6 + + +From cbe7907f46ce9dcd73be392f6660c76767ce3c99 Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Tue, 23 Oct 2018 08:49:23 +0200 +Subject: [PATCH 3/7] pcm_usb_stream: fix signess issues + +Signed-off-by: Jaroslav Kysela +--- + usb_stream/pcm_usb_stream.c | 4 ++-- + usb_stream/usb_stream.h | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/usb_stream/pcm_usb_stream.c b/usb_stream/pcm_usb_stream.c +index 6d08c37..3f74aba 100644 +--- a/usb_stream/pcm_usb_stream.c ++++ b/usb_stream/pcm_usb_stream.c +@@ -300,9 +300,9 @@ static snd_pcm_sframes_t snd_pcm_us_write(snd_pcm_ioplug_t *io, + static int usb_stream_read(struct user_usb_stream *uus, void *to) + { + struct usb_stream *s = uus->s; +- int p = s->inpacket_split, l = 0; ++ unsigned p = s->inpacket_split, l = 0; + void *i = (void *)s + s->inpacket[p].offset + s->inpacket_split_at; +- int il = s->inpacket[p].length - s->inpacket_split_at; ++ unsigned il = s->inpacket[p].length - s->inpacket_split_at; + + do { + if (l + il > s->period_size) +diff --git a/usb_stream/usb_stream.h b/usb_stream/usb_stream.h +index 4dd74ab..96f8d9e 100644 +--- a/usb_stream/usb_stream.h ++++ b/usb_stream/usb_stream.h +@@ -39,7 +39,7 @@ struct usb_stream { + unsigned read_size; + unsigned write_size; + +- int period_size; ++ unsigned period_size; + + unsigned state; + +-- +2.13.6 + + +From a4e7e1282c57a2f4e83afe9a4008042d8b4c5bb9 Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Tue, 23 Oct 2018 09:32:46 +0200 +Subject: [PATCH 4/7] a52_close: set slave to NULL to avoid double pcm free in + open fcn + +Signed-off-by: Jaroslav Kysela +--- + a52/pcm_a52.c | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +diff --git a/a52/pcm_a52.c b/a52/pcm_a52.c +index e431fd0..b005bc2 100644 +--- a/a52/pcm_a52.c ++++ b/a52/pcm_a52.c +@@ -654,10 +654,13 @@ static int a52_poll_revents(snd_pcm_ioplug_t *io, struct pollfd *pfd, + static int a52_close(snd_pcm_ioplug_t *io) + { + struct a52_ctx *rec = io->private_data; ++ snd_pcm_t *slave = rec->slave; + + a52_free(rec); +- if (rec->slave) +- return snd_pcm_close(rec->slave); ++ if (slave) { ++ rec->slave = NULL; ++ return snd_pcm_close(slave); ++ } + return 0; + } + +-- +2.13.6 + + +From a244a37076cec8c7a65b844e334518c393fbdc5b Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Wed, 24 Oct 2018 12:18:42 +0200 +Subject: [PATCH 5/7] Revert "jack: Fix leaks when jack_set_hw_constraint() + fails" + +This reverts commit f4746667a4a2490f17c2a82b6f421bc3c9bd6de8. + +snd_pcm_ioplug_delete() already calls snd_pcm_close()! + +Signed-off-by: Jaroslav Kysela +--- + jack/pcm_jack.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/jack/pcm_jack.c b/jack/pcm_jack.c +index 6aaecac..b39835e 100644 +--- a/jack/pcm_jack.c ++++ b/jack/pcm_jack.c +@@ -538,7 +538,6 @@ static int snd_pcm_jack_open(snd_pcm_t **pcmp, const char *name, + err = jack_set_hw_constraint(jack); + if (err < 0) { + snd_pcm_ioplug_delete(&jack->io); +- snd_pcm_jack_free(jack); + return err; + } + +-- +2.13.6 + + +From 434c83d5c422dd4367711e08b3538e366fcc469e Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Wed, 24 Oct 2018 12:23:11 +0200 +Subject: [PATCH 6/7] Revert "usb_stream: Fix leaks when us_set_hw_constraint() + fails" + +This reverts commit 6b996865126dd559ef186002e45dc6e1594291e7. + +snd_pcm_ioplug_delete() already calls snd_pcm_close()! + +Signed-off-by: Jaroslav Kysela +--- + usb_stream/pcm_usb_stream.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/usb_stream/pcm_usb_stream.c b/usb_stream/pcm_usb_stream.c +index 3f74aba..2a93d1f 100644 +--- a/usb_stream/pcm_usb_stream.c ++++ b/usb_stream/pcm_usb_stream.c +@@ -456,7 +456,6 @@ static int snd_pcm_us_open(snd_pcm_t **pcmp, const char *name, + err = us_set_hw_constraint(us); + if (err < 0) { + snd_pcm_ioplug_delete(&us->io); +- us_free(us); + return err; + } + +-- +2.13.6 + + +From 7dfd3c4fe073319f21192c89a44c16f8b68af3ad Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Wed, 24 Oct 2018 12:27:16 +0200 +Subject: [PATCH 7/7] Revert "oss: Fix leaks when oss_hw_constraint() fails" + +This reverts commit b8bcd458b79146547fc6dae1645832695545da44. + +snd_pcm_ioplug_delete() already calls snd_pcm_close()! +--- + oss/pcm_oss.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/oss/pcm_oss.c b/oss/pcm_oss.c +index 8ab4fb0..dadbb5b 100644 +--- a/oss/pcm_oss.c ++++ b/oss/pcm_oss.c +@@ -413,7 +413,7 @@ SND_PCM_PLUGIN_DEFINE_FUNC(oss) + + if ((err = oss_hw_constraint(oss)) < 0) { + snd_pcm_ioplug_delete(&oss->io); +- goto error; ++ return err; + } + + *pcmp = oss->io.pcm; +-- +2.13.6 + diff --git a/alsa-plugins.spec b/alsa-plugins.spec index dd26bbe..c6cf4db 100644 --- a/alsa-plugins.spec +++ b/alsa-plugins.spec @@ -6,7 +6,7 @@ Name: alsa-plugins Version: 1.1.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The Advanced Linux Sound Architecture (ALSA) Plugins # All packages are LGPLv2+ with the exception of samplerate which is GPLv2+ # pph plugin is BSD-like licensed @@ -14,6 +14,7 @@ License: GPLv2+ and LGPLv2+ and BSD Group: System Environment/Libraries URL: http://www.alsa-project.org/ Source0: ftp://ftp.alsa-project.org/pub/plugins/%{name}-%{version}.tar.bz2 +Patch0: alsa-git.patch BuildRequires: autoconf automake libtool BuildRequires: alsa-lib-devel @@ -135,6 +136,7 @@ ALSA native applications can run over DSP Gateway and use DSP PCM task nodes. %prep %setup -q -n %{name}-%{version}%{?prever} +%patch0 -p1 -b .alsa-git %build autoreconf -vif @@ -265,7 +267,7 @@ find %{buildroot} -name "*.la" -exec rm {} \; %changelog -* Tue Oct 16 2018 Jaroslav Kysela - 1.1.7-1 +* Wed Oct 24 2018 Jaroslav Kysela - 1.1.7-2 - Updated to 1.1.7 * Thu Jul 12 2018 Fedora Release Engineering - 1.1.6-4 From 840db67a92b79060f5da1f20d45e86a1f707629c Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Mon, 7 Jan 2019 19:24:42 +0100 Subject: [PATCH 4/5] updated to 1.1.8 --- alsa-git.patch | 237 ---------------------------------------------- alsa-plugins.spec | 7 +- sources | 2 +- 3 files changed, 6 insertions(+), 240 deletions(-) diff --git a/alsa-git.patch b/alsa-git.patch index 7cb40b7..e69de29 100644 --- a/alsa-git.patch +++ b/alsa-git.patch @@ -1,237 +0,0 @@ -From 68c4cd3a471ed1f4a367830eb31881d3e5815813 Mon Sep 17 00:00:00 2001 -From: Jaroslav Kysela -Date: Tue, 23 Oct 2018 08:39:16 +0200 -Subject: [PATCH 1/7] pcm_usb_stream: fix another leak in snd_pcm_us_open() - -Signed-off-by: Jaroslav Kysela ---- - usb_stream/pcm_usb_stream.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/usb_stream/pcm_usb_stream.c b/usb_stream/pcm_usb_stream.c -index eb4ca98..5ca1c0f 100644 ---- a/usb_stream/pcm_usb_stream.c -+++ b/usb_stream/pcm_usb_stream.c -@@ -424,8 +424,10 @@ static int snd_pcm_us_open(snd_pcm_t **pcmp, const char *name, - } - VDBG("%i %s", stream, us_name); - us->uus = get_uus(card); -- if (!us->uus) -+ if (!us->uus) { -+ free(us); - return -ENOMEM; -+ } - err = snd_hwdep_open(&us->hwdep, us_name, O_RDWR); - if (err < 0) { - us_free(us); --- -2.13.6 - - -From 9ff42e4baf03a84eca83b8c25e0165572259d253 Mon Sep 17 00:00:00 2001 -From: Jaroslav Kysela -Date: Tue, 23 Oct 2018 08:47:16 +0200 -Subject: [PATCH 2/7] pcm_usb_stream: remove unused parameter in - snd_pcm_us_read() - -Signed-off-by: Jaroslav Kysela ---- - usb_stream/pcm_usb_stream.c | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -diff --git a/usb_stream/pcm_usb_stream.c b/usb_stream/pcm_usb_stream.c -index 5ca1c0f..6d08c37 100644 ---- a/usb_stream/pcm_usb_stream.c -+++ b/usb_stream/pcm_usb_stream.c -@@ -297,7 +297,7 @@ static snd_pcm_sframes_t snd_pcm_us_write(snd_pcm_ioplug_t *io, - return size; - } - --static int usb_stream_read(struct user_usb_stream *uus, void *to, unsigned bytes) -+static int usb_stream_read(struct user_usb_stream *uus, void *to) - { - struct usb_stream *s = uus->s; - int p = s->inpacket_split, l = 0; -@@ -337,8 +337,7 @@ static snd_pcm_sframes_t snd_pcm_us_read(snd_pcm_ioplug_t *io, - return -EINVAL; - } - if (us->uus->s->periods_done - us->periods_done == 1) { -- red = usb_stream_read(us->uus, to, size * frame_size) / -- frame_size; -+ red = usb_stream_read(us->uus, to) / frame_size; - us->periods_done++; - return red; - } --- -2.13.6 - - -From cbe7907f46ce9dcd73be392f6660c76767ce3c99 Mon Sep 17 00:00:00 2001 -From: Jaroslav Kysela -Date: Tue, 23 Oct 2018 08:49:23 +0200 -Subject: [PATCH 3/7] pcm_usb_stream: fix signess issues - -Signed-off-by: Jaroslav Kysela ---- - usb_stream/pcm_usb_stream.c | 4 ++-- - usb_stream/usb_stream.h | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/usb_stream/pcm_usb_stream.c b/usb_stream/pcm_usb_stream.c -index 6d08c37..3f74aba 100644 ---- a/usb_stream/pcm_usb_stream.c -+++ b/usb_stream/pcm_usb_stream.c -@@ -300,9 +300,9 @@ static snd_pcm_sframes_t snd_pcm_us_write(snd_pcm_ioplug_t *io, - static int usb_stream_read(struct user_usb_stream *uus, void *to) - { - struct usb_stream *s = uus->s; -- int p = s->inpacket_split, l = 0; -+ unsigned p = s->inpacket_split, l = 0; - void *i = (void *)s + s->inpacket[p].offset + s->inpacket_split_at; -- int il = s->inpacket[p].length - s->inpacket_split_at; -+ unsigned il = s->inpacket[p].length - s->inpacket_split_at; - - do { - if (l + il > s->period_size) -diff --git a/usb_stream/usb_stream.h b/usb_stream/usb_stream.h -index 4dd74ab..96f8d9e 100644 ---- a/usb_stream/usb_stream.h -+++ b/usb_stream/usb_stream.h -@@ -39,7 +39,7 @@ struct usb_stream { - unsigned read_size; - unsigned write_size; - -- int period_size; -+ unsigned period_size; - - unsigned state; - --- -2.13.6 - - -From a4e7e1282c57a2f4e83afe9a4008042d8b4c5bb9 Mon Sep 17 00:00:00 2001 -From: Jaroslav Kysela -Date: Tue, 23 Oct 2018 09:32:46 +0200 -Subject: [PATCH 4/7] a52_close: set slave to NULL to avoid double pcm free in - open fcn - -Signed-off-by: Jaroslav Kysela ---- - a52/pcm_a52.c | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -diff --git a/a52/pcm_a52.c b/a52/pcm_a52.c -index e431fd0..b005bc2 100644 ---- a/a52/pcm_a52.c -+++ b/a52/pcm_a52.c -@@ -654,10 +654,13 @@ static int a52_poll_revents(snd_pcm_ioplug_t *io, struct pollfd *pfd, - static int a52_close(snd_pcm_ioplug_t *io) - { - struct a52_ctx *rec = io->private_data; -+ snd_pcm_t *slave = rec->slave; - - a52_free(rec); -- if (rec->slave) -- return snd_pcm_close(rec->slave); -+ if (slave) { -+ rec->slave = NULL; -+ return snd_pcm_close(slave); -+ } - return 0; - } - --- -2.13.6 - - -From a244a37076cec8c7a65b844e334518c393fbdc5b Mon Sep 17 00:00:00 2001 -From: Jaroslav Kysela -Date: Wed, 24 Oct 2018 12:18:42 +0200 -Subject: [PATCH 5/7] Revert "jack: Fix leaks when jack_set_hw_constraint() - fails" - -This reverts commit f4746667a4a2490f17c2a82b6f421bc3c9bd6de8. - -snd_pcm_ioplug_delete() already calls snd_pcm_close()! - -Signed-off-by: Jaroslav Kysela ---- - jack/pcm_jack.c | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/jack/pcm_jack.c b/jack/pcm_jack.c -index 6aaecac..b39835e 100644 ---- a/jack/pcm_jack.c -+++ b/jack/pcm_jack.c -@@ -538,7 +538,6 @@ static int snd_pcm_jack_open(snd_pcm_t **pcmp, const char *name, - err = jack_set_hw_constraint(jack); - if (err < 0) { - snd_pcm_ioplug_delete(&jack->io); -- snd_pcm_jack_free(jack); - return err; - } - --- -2.13.6 - - -From 434c83d5c422dd4367711e08b3538e366fcc469e Mon Sep 17 00:00:00 2001 -From: Jaroslav Kysela -Date: Wed, 24 Oct 2018 12:23:11 +0200 -Subject: [PATCH 6/7] Revert "usb_stream: Fix leaks when us_set_hw_constraint() - fails" - -This reverts commit 6b996865126dd559ef186002e45dc6e1594291e7. - -snd_pcm_ioplug_delete() already calls snd_pcm_close()! - -Signed-off-by: Jaroslav Kysela ---- - usb_stream/pcm_usb_stream.c | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/usb_stream/pcm_usb_stream.c b/usb_stream/pcm_usb_stream.c -index 3f74aba..2a93d1f 100644 ---- a/usb_stream/pcm_usb_stream.c -+++ b/usb_stream/pcm_usb_stream.c -@@ -456,7 +456,6 @@ static int snd_pcm_us_open(snd_pcm_t **pcmp, const char *name, - err = us_set_hw_constraint(us); - if (err < 0) { - snd_pcm_ioplug_delete(&us->io); -- us_free(us); - return err; - } - --- -2.13.6 - - -From 7dfd3c4fe073319f21192c89a44c16f8b68af3ad Mon Sep 17 00:00:00 2001 -From: Jaroslav Kysela -Date: Wed, 24 Oct 2018 12:27:16 +0200 -Subject: [PATCH 7/7] Revert "oss: Fix leaks when oss_hw_constraint() fails" - -This reverts commit b8bcd458b79146547fc6dae1645832695545da44. - -snd_pcm_ioplug_delete() already calls snd_pcm_close()! ---- - oss/pcm_oss.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/oss/pcm_oss.c b/oss/pcm_oss.c -index 8ab4fb0..dadbb5b 100644 ---- a/oss/pcm_oss.c -+++ b/oss/pcm_oss.c -@@ -413,7 +413,7 @@ SND_PCM_PLUGIN_DEFINE_FUNC(oss) - - if ((err = oss_hw_constraint(oss)) < 0) { - snd_pcm_ioplug_delete(&oss->io); -- goto error; -+ return err; - } - - *pcmp = oss->io.pcm; --- -2.13.6 - diff --git a/alsa-plugins.spec b/alsa-plugins.spec index c6cf4db..d63ee28 100644 --- a/alsa-plugins.spec +++ b/alsa-plugins.spec @@ -5,8 +5,8 @@ %endif Name: alsa-plugins -Version: 1.1.7 -Release: 2%{?dist} +Version: 1.1.8 +Release: 1%{?dist} Summary: The Advanced Linux Sound Architecture (ALSA) Plugins # All packages are LGPLv2+ with the exception of samplerate which is GPLv2+ # pph plugin is BSD-like licensed @@ -267,6 +267,9 @@ find %{buildroot} -name "*.la" -exec rm {} \; %changelog +* Mon Jan 7 2019 Jaroslav Kysela - 1.1.8-1 +- Updated to 1.1.8 + * Wed Oct 24 2018 Jaroslav Kysela - 1.1.7-2 - Updated to 1.1.7 diff --git a/sources b/sources index 39f36d1..dfafc67 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (alsa-plugins-1.1.7.tar.bz2) = c3bb22ec3c5a167fb246cfc94131d53800e321b486ab743c3395a9d91dee0ff9703f6e4a2feaea5a4ee42a7e486d835d48ab880c784c5c34bb4eb5e9ded06d8e +SHA512 (alsa-plugins-1.1.8.tar.bz2) = bb1a4411921ec332f47b43515f6d3b4c03a01568854950b9b5c3f0d8172d9a0c4a5b3652bc64c62eae5ea3aaa5d95fe3d32c0a213fe99adf490a9807bcb58ecd From 01ee02fe72f1d61f0ac24e38fe946450586b9dfc Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 10 May 2019 10:25:32 +0200 Subject: [PATCH 5/5] updated to 1.1.9 --- alsa-plugins.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/alsa-plugins.spec b/alsa-plugins.spec index d63ee28..a975499 100644 --- a/alsa-plugins.spec +++ b/alsa-plugins.spec @@ -5,7 +5,7 @@ %endif Name: alsa-plugins -Version: 1.1.8 +Version: 1.1.9 Release: 1%{?dist} Summary: The Advanced Linux Sound Architecture (ALSA) Plugins # All packages are LGPLv2+ with the exception of samplerate which is GPLv2+ @@ -267,6 +267,9 @@ find %{buildroot} -name "*.la" -exec rm {} \; %changelog +* Fri May 10 2019 Jaroslav Kysela - 1.1.9-1 +- Updated to 1.1.9 + * Mon Jan 7 2019 Jaroslav Kysela - 1.1.8-1 - Updated to 1.1.8 diff --git a/sources b/sources index dfafc67..395d02f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (alsa-plugins-1.1.8.tar.bz2) = bb1a4411921ec332f47b43515f6d3b4c03a01568854950b9b5c3f0d8172d9a0c4a5b3652bc64c62eae5ea3aaa5d95fe3d32c0a213fe99adf490a9807bcb58ecd +SHA512 (alsa-plugins-1.1.9.tar.bz2) = 1969dfe8f2bb4283e81a18da73d2f7f86d8788d1a8764d7195b4830b2f4704c208eacb50a1e26e20c9fe57e7d5bb06a004112d84cc86b4682b4180d2fec4d5d9