SHA256
1
0
forked from pool/fluidsynth

Accepting request 345756 from multimedia:libs

- Add baselibs.conf as a source file 

- Added jackmulti.diff to fix inverse logic of audio.jack.multi option
- Added reverb_mixer.diff to workaround reverb issue,
  see: http://sourceforge.net/p/fluidsynth/tickets/137/

OBS-URL: https://build.opensuse.org/request/show/345756
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fluidsynth?expand=0&rev=31
This commit is contained in:
Dominique Leuenberger 2015-12-03 12:26:06 +00:00 committed by Git OBS Bridge
commit e1ac26bbfe
4 changed files with 42 additions and 2 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sun Nov 22 16:47:50 UTC 2015 - idonmez@suse.com
- Add baselibs.conf as a source file
-------------------------------------------------------------------
Sun Nov 22 09:33:11 UTC 2015 - tom.mbrt@googlemail.com
- Added jackmulti.diff to fix inverse logic of audio.jack.multi option
- Added reverb_mixer.diff to workaround reverb issue,
see: http://sourceforge.net/p/fluidsynth/tickets/137/
-------------------------------------------------------------------
Mon Sep 24 09:43:15 UTC 2012 - schwab@linux-m68k.org

View File

@ -1,7 +1,7 @@
#
# spec file for package fluidsynth
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -26,8 +26,12 @@ License: LGPL-2.1+
Group: Productivity/Multimedia/Sound/Midi
Url: http://www.fluidsynth.org/
Source: http://downloads.sourceforge.net/project/fluidsynth/fluidsynth-%{version}/%{name}-%{version}.tar.bz2
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
Source1000: baselibs.conf
Patch1: fluidsynth-fix-build-lash.diff
# fixes inverse logic of audio.jack.multi option
Patch2: jackmulti.diff
# no reverb effect is applied when using multiple stereo-out-channels, see: http://sourceforge.net/p/fluidsynth/tickets/137/
Patch3: reverb_mixer.diff
BuildRequires: alsa-devel
BuildRequires: cmake
BuildRequires: ladspa-devel
@ -66,6 +70,8 @@ This package contains the shared library for Fluidsynth.
%prep
%setup -q
%patch1 -p1
%patch2
%patch3 -p1
%build
mkdir build

11
jackmulti.diff Normal file
View File

@ -0,0 +1,11 @@
--- src/drivers/fluid_jack.c.orig 2014-12-23 09:38:01.047865897 +0100
+++ src/drivers/fluid_jack.c 2014-12-23 09:17:51.620285608 +0100
@@ -268,7 +268,7 @@
fluid_settings_getint (settings, "audio.jack.multi", &multi);
- if (multi)
+ if (!multi)
{
/* create the two audio output ports */
dev->num_output_ports = 1;

11
reverb_mixer.diff Normal file
View File

@ -0,0 +1,11 @@
--- fluidsynth/src/synth/fluid_synth.c.orig 2015-04-11 21:55:47.000000000 +0200
+++ fluidsynth/src/synth/fluid_synth.c 2015-04-19 14:06:11.835456740 +0200
@@ -2479,7 +2479,7 @@
/* Then, run one_block() and copy till we have 'len' samples */
while (count < len) {
- fluid_rvoice_mixer_set_mix_fx(synth->eventhandler->mixer, 0);
+ fluid_rvoice_mixer_set_mix_fx(synth->eventhandler->mixer, 1); /* reverb on output 0 */
fluid_synth_render_blocks(synth, 1); // TODO:
fluid_rvoice_mixer_get_bufs(synth->eventhandler->mixer, &left_in, &right_in);