Accepting request 345733 from home:derselbst:branches:home:derselbst
fix some minor bugs when using multiple stereo-channel-output OBS-URL: https://build.opensuse.org/request/show/345733 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/fluidsynth?expand=0&rev=31
This commit is contained in:
parent
30fbdcdbde
commit
ae3a93b777
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
@ -28,6 +28,10 @@ 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
|
||||
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
11
jackmulti.diff
Normal 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
11
reverb_mixer.diff
Normal 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);
|
||||
|
Loading…
Reference in New Issue
Block a user