Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
80f6d511
Commit
80f6d511
authored
May 03, 2024
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fluidsynth: Import upstream release 2.3.5.
parent
3e418543
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
13 deletions
+13
-13
version.h
libs/fluidsynth/include/fluidsynth/version.h
+2
-2
fluid_midi.c
libs/fluidsynth/src/midi/fluid_midi.c
+1
-1
fluid_chan.c
libs/fluidsynth/src/synth/fluid_chan.c
+1
-1
fluid_synth.c
libs/fluidsynth/src/synth/fluid_synth.c
+9
-9
No files found.
libs/fluidsynth/include/fluidsynth/version.h
View file @
80f6d511
...
...
@@ -31,10 +31,10 @@ extern "C" {
*
* @{
*/
#define FLUIDSYNTH_VERSION "2.3.
4
"
/**< String constant of libfluidsynth version. */
#define FLUIDSYNTH_VERSION "2.3.
5
"
/**< String constant of libfluidsynth version. */
#define FLUIDSYNTH_VERSION_MAJOR 2
/**< libfluidsynth major version integer constant. */
#define FLUIDSYNTH_VERSION_MINOR 3
/**< libfluidsynth minor version integer constant. */
#define FLUIDSYNTH_VERSION_MICRO
4
/**< libfluidsynth micro version integer constant. */
#define FLUIDSYNTH_VERSION_MICRO
5
/**< libfluidsynth micro version integer constant. */
FLUIDSYNTH_API
void
fluid_version
(
int
*
major
,
int
*
minor
,
int
*
micro
);
FLUIDSYNTH_API
char
*
fluid_version_str
(
void
);
...
...
libs/fluidsynth/src/midi/fluid_midi.c
View file @
80f6d511
...
...
@@ -1644,7 +1644,7 @@ fluid_player_handle_reset_synth(void *data, const char *name, int value)
static
int
check_for_on_notes
(
fluid_synth_t
*
synth
)
{
fluid_voice_t
*
v
[
1024
];
int
i
,
res
=
FALSE
;
unsigned
int
i
,
res
=
FALSE
;
fluid_synth_get_voicelist
(
synth
,
v
,
FLUID_N_ELEMENTS
(
v
),
-
1
);
for
(
i
=
0
;
i
<
FLUID_N_ELEMENTS
(
v
)
&&
v
[
i
]
!=
NULL
;
i
++
)
{
...
...
libs/fluidsynth/src/synth/fluid_chan.c
View file @
80f6d511
...
...
@@ -325,7 +325,7 @@ fluid_channel_set_bank_msb(fluid_channel_t *chan, int bankmsb)
/* XG bank, do drum-channel auto-switch */
/* The number "120" was based on several keyboards having drums at 120 - 127,
reference: https://lists.nongnu.org/archive/html/fluid-dev/2011-02/msg00003.html */
chan
->
channel_type
=
(
120
<
=
bankmsb
)
?
CHANNEL_TYPE_DRUM
:
CHANNEL_TYPE_MELODIC
;
chan
->
channel_type
=
(
120
==
bankmsb
||
126
==
bankmsb
||
127
=
=
bankmsb
)
?
CHANNEL_TYPE_DRUM
:
CHANNEL_TYPE_MELODIC
;
return
;
}
...
...
libs/fluidsynth/src/synth/fluid_synth.c
View file @
80f6d511
...
...
@@ -202,16 +202,16 @@ void fluid_synth_settings(fluid_settings_t *settings)
fluid_settings_register_int
(
settings
,
"synth.verbose"
,
0
,
0
,
1
,
FLUID_HINT_TOGGLED
);
fluid_settings_register_int
(
settings
,
"synth.reverb.active"
,
1
,
0
,
1
,
FLUID_HINT_TOGGLED
);
fluid_settings_register_num
(
settings
,
"synth.reverb.room-size"
,
FLUID_REVERB_DEFAULT_ROOMSIZE
,
0
.
0
f
,
1
.
0
f
,
0
);
fluid_settings_register_num
(
settings
,
"synth.reverb.damp"
,
FLUID_REVERB_DEFAULT_DAMP
,
0
.
0
f
,
1
.
0
f
,
0
);
fluid_settings_register_num
(
settings
,
"synth.reverb.width"
,
FLUID_REVERB_DEFAULT_WIDTH
,
0
.
0
f
,
100
.
0
f
,
0
);
fluid_settings_register_num
(
settings
,
"synth.reverb.level"
,
FLUID_REVERB_DEFAULT_LEVEL
,
0
.
0
f
,
1
.
0
f
,
0
);
fluid_settings_register_num
(
settings
,
"synth.reverb.room-size"
,
FLUID_REVERB_DEFAULT_ROOMSIZE
,
0
.
0
,
1
.
0
,
0
);
fluid_settings_register_num
(
settings
,
"synth.reverb.damp"
,
FLUID_REVERB_DEFAULT_DAMP
,
0
.
0
,
1
.
0
,
0
);
fluid_settings_register_num
(
settings
,
"synth.reverb.width"
,
FLUID_REVERB_DEFAULT_WIDTH
,
0
.
0
,
100
.
0
,
0
);
fluid_settings_register_num
(
settings
,
"synth.reverb.level"
,
FLUID_REVERB_DEFAULT_LEVEL
,
0
.
0
,
1
.
0
,
0
);
fluid_settings_register_int
(
settings
,
"synth.chorus.active"
,
1
,
0
,
1
,
FLUID_HINT_TOGGLED
);
fluid_settings_register_int
(
settings
,
"synth.chorus.nr"
,
FLUID_CHORUS_DEFAULT_N
,
0
,
99
,
0
);
fluid_settings_register_num
(
settings
,
"synth.chorus.level"
,
FLUID_CHORUS_DEFAULT_LEVEL
,
0
.
0
f
,
10
.
0
f
,
0
);
fluid_settings_register_num
(
settings
,
"synth.chorus.speed"
,
FLUID_CHORUS_DEFAULT_SPEED
,
0
.
1
f
,
5
.
0
f
,
0
);
fluid_settings_register_num
(
settings
,
"synth.chorus.depth"
,
FLUID_CHORUS_DEFAULT_DEPTH
,
0
.
0
f
,
256
.
0
f
,
0
);
fluid_settings_register_num
(
settings
,
"synth.chorus.level"
,
FLUID_CHORUS_DEFAULT_LEVEL
,
0
.
0
,
10
.
0
,
0
);
fluid_settings_register_num
(
settings
,
"synth.chorus.speed"
,
FLUID_CHORUS_DEFAULT_SPEED
,
0
.
1
,
5
.
0
,
0
);
fluid_settings_register_num
(
settings
,
"synth.chorus.depth"
,
FLUID_CHORUS_DEFAULT_DEPTH
,
0
.
0
,
256
.
0
,
0
);
fluid_settings_register_int
(
settings
,
"synth.ladspa.active"
,
0
,
0
,
1
,
FLUID_HINT_TOGGLED
);
fluid_settings_register_int
(
settings
,
"synth.lock-memory"
,
1
,
0
,
1
,
FLUID_HINT_TOGGLED
);
...
...
@@ -223,12 +223,12 @@ void fluid_synth_settings(fluid_settings_t *settings)
fluid_settings_register_int
(
settings
,
"synth.polyphony"
,
256
,
1
,
65535
,
0
);
fluid_settings_register_int
(
settings
,
"synth.midi-channels"
,
16
,
16
,
256
,
0
);
fluid_settings_register_num
(
settings
,
"synth.gain"
,
0
.
2
f
,
0
.
0
f
,
10
.
0
f
,
0
);
fluid_settings_register_num
(
settings
,
"synth.gain"
,
0
.
2
,
0
.
0
,
10
.
0
,
0
);
fluid_settings_register_int
(
settings
,
"synth.audio-channels"
,
1
,
1
,
128
,
0
);
fluid_settings_register_int
(
settings
,
"synth.audio-groups"
,
1
,
1
,
128
,
0
);
fluid_settings_register_int
(
settings
,
"synth.effects-channels"
,
2
,
2
,
2
,
0
);
fluid_settings_register_int
(
settings
,
"synth.effects-groups"
,
1
,
1
,
128
,
0
);
fluid_settings_register_num
(
settings
,
"synth.sample-rate"
,
44100
.
0
f
,
8000
.
0
f
,
96000
.
0
f
,
0
);
fluid_settings_register_num
(
settings
,
"synth.sample-rate"
,
44100
.
0
,
8000
.
0
,
96000
.
0
,
0
);
fluid_settings_register_int
(
settings
,
"synth.device-id"
,
0
,
0
,
127
,
0
);
#ifdef ENABLE_MIXER_THREADS
fluid_settings_register_int
(
settings
,
"synth.cpu-cores"
,
1
,
1
,
256
,
0
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment