summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth.inc4
-rw-r--r--meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth/0002-fluid_synth_nwrite_float-Allow-zero-pointer-for-left.patch26
2 files changed, 15 insertions, 15 deletions
diff --git a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth.inc b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth.inc
index c2badc4469..63ba54c34c 100644
--- a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth.inc
+++ b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth.inc
@@ -5,8 +5,8 @@ LICENSE = "LGPL-2.1"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=fc178bcd425090939a8b634d1d6a9594" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=fc178bcd425090939a8b634d1d6a9594"
6 6
7SRC_URI = "git://github.com/FluidSynth/fluidsynth.git" 7SRC_URI = "git://github.com/FluidSynth/fluidsynth.git"
8SRCREV = "e2d67ea77237046b703d537aec90620c22f7f629" 8SRCREV = "8413c35aca641567baf13e9b16e9839019ebf99d"
9S = "${WORKDIR}/git" 9S = "${WORKDIR}/git"
10PV = "2.1.7" 10PV = "2.2.0"
11 11
12inherit cmake pkgconfig lib_package 12inherit cmake pkgconfig lib_package
diff --git a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth/0002-fluid_synth_nwrite_float-Allow-zero-pointer-for-left.patch b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth/0002-fluid_synth_nwrite_float-Allow-zero-pointer-for-left.patch
index 94daa951c6..f7debc5ad4 100644
--- a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth/0002-fluid_synth_nwrite_float-Allow-zero-pointer-for-left.patch
+++ b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth/0002-fluid_synth_nwrite_float-Allow-zero-pointer-for-left.patch
@@ -17,15 +17,15 @@ Upstream-Status: Submitted [1]
17 17
18Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> 18Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
19--- 19---
20 src/synth/fluid_synth.c | 69 ++++++++++++++++++++++++++++++++++--------------- 20 src/synth/fluid_synth.c | 69 ++++++++++++++++++++++++++++-------------
21 1 file changed, 48 insertions(+), 21 deletions(-) 21 1 file changed, 48 insertions(+), 21 deletions(-)
22 22
23diff --git a/src/synth/fluid_synth.c b/src/synth/fluid_synth.c 23diff --git a/src/synth/fluid_synth.c b/src/synth/fluid_synth.c
24index 0df620d3..379f8216 100644 24index 1eb5d737..6c876efa 100644
25--- a/src/synth/fluid_synth.c 25--- a/src/synth/fluid_synth.c
26+++ b/src/synth/fluid_synth.c 26+++ b/src/synth/fluid_synth.c
27@@ -3306,10 +3306,10 @@ fluid_synth_program_reset(fluid_synth_t *synth) 27@@ -3628,10 +3628,10 @@ fluid_synth_program_reset(fluid_synth_t *synth)
28 * Synthesize a block of floating point audio to separate audio buffers (multichannel rendering). First effect channel used by reverb, second for chorus. 28 *
29 * @param synth FluidSynth instance 29 * @param synth FluidSynth instance
30 * @param len Count of audio frames to synthesize 30 * @param len Count of audio frames to synthesize
31- * @param left Array of float buffers to store left channel of planar audio (as many as \c synth.audio-channels buffers, each of \c len in size) 31- * @param left Array of float buffers to store left channel of planar audio (as many as \c synth.audio-channels buffers, each of \c len in size)
@@ -38,8 +38,8 @@ index 0df620d3..379f8216 100644
38+ * @param fx_right Since 1.1.7: If not \c NULL, array of float buffers to store right effect channels (size: dito). Since 2.0.3: NULL allowed for array entry 38+ * @param fx_right Since 1.1.7: If not \c NULL, array of float buffers to store right effect channels (size: dito). Since 2.0.3: NULL allowed for array entry
39 * @return #FLUID_OK on success, #FLUID_FAILED otherwise 39 * @return #FLUID_OK on success, #FLUID_FAILED otherwise
40 * 40 *
41 * @note Should only be called from synthesis thread. 41 * First effect channel used by reverb, second for chorus.
42@@ -3386,15 +3386,27 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len, 42@@ -3719,15 +3719,27 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
43 for(i = 0; i < synth->audio_channels; i++) 43 for(i = 0; i < synth->audio_channels; i++)
44 { 44 {
45 #ifdef WITH_FLOAT 45 #ifdef WITH_FLOAT
@@ -71,7 +71,7 @@ index 0df620d3..379f8216 100644
71 } 71 }
72 72
73 #endif //WITH_FLOAT 73 #endif //WITH_FLOAT
74@@ -3404,12 +3416,12 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len, 74@@ -3737,12 +3749,12 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
75 { 75 {
76 #ifdef WITH_FLOAT 76 #ifdef WITH_FLOAT
77 77
@@ -86,7 +86,7 @@ index 0df620d3..379f8216 100644
86 { 86 {
87 FLUID_MEMCPY(fx_right[i], &fx_right_in[i * FLUID_BUFSIZE * FLUID_MIXER_MAX_BUFFERS_DEFAULT + synth->cur], bytes); 87 FLUID_MEMCPY(fx_right[i], &fx_right_in[i * FLUID_BUFSIZE * FLUID_MIXER_MAX_BUFFERS_DEFAULT + synth->cur], bytes);
88 } 88 }
89@@ -3417,7 +3429,7 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len, 89@@ -3750,7 +3762,7 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
90 #else //WITH_FLOAT 90 #else //WITH_FLOAT
91 int j; 91 int j;
92 92
@@ -95,7 +95,7 @@ index 0df620d3..379f8216 100644
95 { 95 {
96 for(j = 0; j < num; j++) 96 for(j = 0; j < num; j++)
97 { 97 {
98@@ -3425,7 +3437,7 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len, 98@@ -3758,7 +3770,7 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
99 } 99 }
100 } 100 }
101 101
@@ -104,7 +104,7 @@ index 0df620d3..379f8216 100644
104 { 104 {
105 for(j = 0; j < num; j++) 105 for(j = 0; j < num; j++)
106 { 106 {
107@@ -3456,15 +3468,30 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len, 107@@ -3789,15 +3801,30 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
108 for(i = 0; i < synth->audio_channels; i++) 108 for(i = 0; i < synth->audio_channels; i++)
109 { 109 {
110 #ifdef WITH_FLOAT 110 #ifdef WITH_FLOAT
@@ -140,7 +140,7 @@ index 0df620d3..379f8216 100644
140 } 140 }
141 141
142 #endif //WITH_FLOAT 142 #endif //WITH_FLOAT
143@@ -3474,12 +3501,12 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len, 143@@ -3807,12 +3834,12 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
144 { 144 {
145 #ifdef WITH_FLOAT 145 #ifdef WITH_FLOAT
146 146
@@ -155,7 +155,7 @@ index 0df620d3..379f8216 100644
155 { 155 {
156 FLUID_MEMCPY(fx_right[i] + count, &fx_right_in[i * FLUID_BUFSIZE * FLUID_MIXER_MAX_BUFFERS_DEFAULT], bytes); 156 FLUID_MEMCPY(fx_right[i] + count, &fx_right_in[i * FLUID_BUFSIZE * FLUID_MIXER_MAX_BUFFERS_DEFAULT], bytes);
157 } 157 }
158@@ -3487,7 +3514,7 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len, 158@@ -3820,7 +3847,7 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
159 #else //WITH_FLOAT 159 #else //WITH_FLOAT
160 int j; 160 int j;
161 161
@@ -164,7 +164,7 @@ index 0df620d3..379f8216 100644
164 { 164 {
165 for(j = 0; j < num; j++) 165 for(j = 0; j < num; j++)
166 { 166 {
167@@ -3495,7 +3522,7 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len, 167@@ -3828,7 +3855,7 @@ fluid_synth_nwrite_float(fluid_synth_t *synth, int len,
168 } 168 }
169 } 169 }
170 170