Codebase list libsdl2-mixer / 669afa8
Add patch fix-750706-upstream-8ef083375857.patch (Closes: #750706) * Add patch fix-750706-upstream-8ef083375857.patch backported from upstream to fix playing speed with timidity backend. Thanks Sylvain Beucler (Closes: #750706) Manuel A. Fernandez Montecelo 9 years ago
3 changed file(s) with 44 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 libsdl2-mixer (2.0.0+dfsg1-5) UNRELEASED; urgency=medium
1
2 * Add patch fix-750706-upstream-8ef083375857.patch backported from
3 upstream to fix playing speed with timidity backend. Thanks Sylvain
4 Beucler (Closes: #750706)
5
6 -- Manuel A. Fernandez Montecelo <mafm@debian.org> Sat, 25 Oct 2014 10:56:37 +0100
7
08 libsdl2-mixer (2.0.0+dfsg1-4) unstable; urgency=medium
19
210 * Bump Policy Standards-Version to 3.9.6 (no changes needed)
0
1 # HG changeset patch
2 # User Sam Lantinga <slouken@libsdl.org>
3 # Date 1383514401 28800
4 # Node ID 8ef0833758572b84317ba19cc5a1eb2719552da3
5 # Parent c166c70fc52a33324945156318ad7454a366eb30
6 Fixed bug 2140 - Track is played back with the wrong tempo
7
8 ny00
9
10 It seems like the test against MAXCHAN can safely be relocated after the check if (meep->event.type==ME_TEMPO), with no risk of memory corruption, at least in this function.
11
12 diff -r c166c70fc52a -r 8ef083375857 timidity/readmidi.c
13 --- a/timidity/readmidi.c Sun Nov 03 11:31:19 2013 -0800
14 +++ b/timidity/readmidi.c Sun Nov 03 13:33:21 2013 -0800
15 @@ -673,15 +673,15 @@
16 meep->event.time, meep->event.channel + 1,
17 meep->event.type, meep->event.a, meep->event.b);
18
19 - if (meep->event.channel >= MAXCHAN)
20 - skip_this_event=1;
21 - else if (meep->event.type==ME_TEMPO)
22 + if (meep->event.type==ME_TEMPO)
23 {
24 tempo=
25 meep->event.channel + meep->event.b * 256 + meep->event.a * 65536;
26 compute_sample_increment(tempo, divisions);
27 skip_this_event=1;
28 }
29 + else if (meep->event.channel >= MAXCHAN)
30 + skip_this_event=1;
31 else if ((quietchannels & (1<<meep->event.channel)))
32 skip_this_event=1;
33 else switch (meep->event.type)
34
00 bug-715461-soundfont_paths.patch
1 fix-750706-upstream-8ef083375857.patch