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
0eaa06b5
Commit
0eaa06b5
authored
Oct 18, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Oct 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmsynth: Fix DLS2 to FluidSynth conversion for CONN_SRC_CCx.
parent
832a2127
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
synth.c
dlls/dmsynth/synth.c
+3
-2
No files found.
dlls/dmsynth/synth.c
View file @
0eaa06b5
...
...
@@ -33,6 +33,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(dmsynth);
#define ROUND_ADDR(addr, mask) ((void *)((UINT_PTR)(addr) & ~(UINT_PTR)(mask)))
#define CONN_SRC_CC 0x0080
#define CONN_SRC_CC2 0x0082
#define CONN_SRC_RPN0 0x0100
...
...
@@ -1394,9 +1395,9 @@ static BOOL set_gen_from_connection(fluid_voice_t *fluid_voice, const CONNECTION
static
BOOL
mod_from_connection
(
USHORT
source
,
USHORT
transform
,
UINT
*
fluid_source
,
UINT
*
fluid_flags
)
{
UINT
flags
=
FLUID_MOD_GC
;
if
(
source
>=
CONN_SRC_CC
1
&&
source
<=
CONN_SRC_CC1
+
0x7f
)
if
(
source
>=
CONN_SRC_CC
&&
source
<=
CONN_SRC_CC
+
0x7f
)
{
*
fluid_source
=
source
;
*
fluid_source
=
source
-
CONN_SRC_CC
;
flags
=
FLUID_MOD_CC
;
}
else
switch
(
source
)
...
...
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