Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
41062177
Commit
41062177
authored
Oct 16, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Oct 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmsynth: Set default modulators according to the DLS2 spec.
parent
7f629f7f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
synth.c
dlls/dmsynth/synth.c
+0
-0
fluid_gen.c
libs/fluidsynth/src/synth/fluid_gen.c
+4
-0
fluid_synth.c
libs/fluidsynth/src/synth/fluid_synth.c
+2
-0
No files found.
dlls/dmsynth/synth.c
View file @
41062177
This diff is collapsed.
Click to expand it.
libs/fluidsynth/src/synth/fluid_gen.c
View file @
41062177
...
...
@@ -109,7 +109,11 @@ fluid_gen_init(fluid_gen_t *gen, fluid_channel_t *channel)
gen
[
i
].
flags
=
GEN_UNUSED
;
gen
[
i
].
mod
=
0
.
0
;
gen
[
i
].
nrpn
=
(
channel
==
NULL
)
?
0
.
0
:
fluid_channel_get_gen
(
channel
,
i
);
#if 0 /* unused in Wine */
gen[i].val = fluid_gen_info[i].def;
#else
gen
[
i
].
val
=
0
.
0
;
#endif
}
}
...
...
libs/fluidsynth/src/synth/fluid_synth.c
View file @
41062177
...
...
@@ -300,6 +300,7 @@ fluid_synth_init(void)
init_dither
();
#if 0 /* unused in Wine */
/* custom_breath2att_mod is not a default modulator specified in SF2.01.
it is intended to replace default_vel2att_mod on demand using
API fluid_set_breath_mode() or command shell setbreathmode.
...
...
@@ -480,6 +481,7 @@ fluid_synth_init(void)
fluid_mod_set_dest(&custom_balance_mod, GEN_CUSTOM_BALANCE); /* Destination: stereo balance */
/* Amount: 96 dB of attenuation (on the opposite channel) */
fluid_mod_set_amount(&custom_balance_mod, FLUID_PEAK_ATTENUATION); /* Amount: 960 */
#endif /* unused in Wine */
#if defined(LIBINSTPATCH_SUPPORT)
/* defer libinstpatch init to fluid_instpatch.c to avoid #include "libinstpatch.h" */
...
...
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