Accepting request 640431 from home:derselbst:branches:multimedia:libs

- Update to 2.0.1:
  * implement auto-conntect for CoreMidi
  * fix a build issue with cmake < 3.3
  * fix a crash when creating multiple jack drivers
  * various fixes to dsound driver
  * fix multiple potential NULL dereferences
  * fix two memory leaks in the soundfont loader
  * correct upper threshold of synth.chorus.depth
- Remove fluidsynth-last_client-reuse-fix.patch

OBS-URL: https://build.opensuse.org/request/show/640431
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/fluidsynth?expand=0&rev=52
This commit is contained in:
Tomáš Chvátal 2018-10-08 08:05:23 +00:00 committed by Git OBS Bridge
parent 2c61f17af3
commit 14dc7540f3
5 changed files with 17 additions and 37 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5ca094efbe13fdb880cfd0431354a7b85daf7239c344939493a2aaeca4e59ed5
size 1369331

3
fluidsynth-2.0.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d80f0b2fb0d3f93722844e654d5b5f004bf31a07f752c0be939b7242ac33248
size 1370145

View File

@ -1,31 +0,0 @@
From 99e235e27979e6c132870dc48f45cd9b3fa8dcdf Mon Sep 17 00:00:00 2001
From: rncbc <rncbc@rncbc.org>
Date: Thu, 20 Sep 2018 09:04:21 +0100
Subject: [PATCH] jack_driver: last_client reuse fix.
---
src/drivers/fluid_jack.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/drivers/fluid_jack.c b/src/drivers/fluid_jack.c
index dd40092d..14c5e0c8 100644
--- a/src/drivers/fluid_jack.c
+++ b/src/drivers/fluid_jack.c
@@ -137,7 +137,7 @@ new_fluid_jack_client(fluid_settings_t *settings, int isaudio, void *driver)
* then re-use the client. */
if(last_client &&
(last_client->server != NULL && server != NULL && FLUID_STRCMP(last_client->server, server) == 0) &&
- ((!isaudio && last_client->midi_driver != NULL) || (isaudio && last_client->audio_driver != NULL)))
+ ((!isaudio && last_client->midi_driver == NULL) || (isaudio && last_client->audio_driver == NULL)))
{
client_ref = last_client;
last_client = NULL; /* No more pairing for this client */
@@ -670,7 +670,7 @@ fluid_jack_driver_process(jack_nframes_t nframes, void *arg)
}
else
{
- fluid_audio_func_t callback = (audio_driver->callback != NULL) ? audio_driver->callback : fluid_synth_process;
+ fluid_audio_func_t callback = (audio_driver->callback != NULL) ? audio_driver->callback : (fluid_audio_func_t) fluid_synth_process;
for(i = 0; i < audio_driver->num_output_ports; i++)
{

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sun Oct 7 15:31:52 UTC 2018 - tom.mbrt@googlemail.com
- Update to 2.0.1:
* implement auto-conntect for CoreMidi
* fix a build issue with cmake < 3.3
* fix a crash when creating multiple jack drivers
* various fixes to dsound driver
* fix multiple potential NULL dereferences
* fix two memory leaks in the soundfont loader
* correct upper threshold of synth.chorus.depth
- Remove fluidsynth-last_client-reuse-fix.patch
-------------------------------------------------------------------
Sat Sep 29 11:38:37 UTC 2018 - Luigi Baldoni <aloisio@gmx.com>

View File

@ -24,7 +24,7 @@
%endif
Name: fluidsynth
Version: 2.0.0
Version: 2.0.1
Release: 0
Summary: A Real-Time Software Synthesizer That Uses Soundfont(tm)
License: LGPL-2.1-or-later
@ -32,7 +32,6 @@ Group: Productivity/Multimedia/Sound/Midi
Url: http://www.fluidsynth.org/
Source: https://github.com/FluidSynth/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1000: baselibs.conf
Patch0: fluidsynth-last_client-reuse-fix.patch
BuildRequires: cmake >= 3.1.0
BuildRequires: ladspa-devel
BuildRequires: pkgconfig
@ -73,7 +72,6 @@ This package contains the shared library for Fluidsynth.
%prep
%setup -q
%patch0 -p1
%build
%cmake \