mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 19:03:38 +00:00
midimap: Check each Midi Output for a Midi Through synthesizer.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d2552c06a0
commit
efe0a09fb5
|
@ -574,7 +574,7 @@ static LRESULT MIDIMAP_drvOpen(void)
|
||||||
midiOutPorts[dev].lpbPatch = NULL;
|
midiOutPorts[dev].lpbPatch = NULL;
|
||||||
for (i = 0; i < 16; i++)
|
for (i = 0; i < 16; i++)
|
||||||
midiOutPorts[dev].aChn[i] = i;
|
midiOutPorts[dev].aChn[i] = i;
|
||||||
if (strncmpW(midiOutPorts[0].name, throughportW, strlenW(throughportW)) != 0)
|
if (strncmpW(midiOutPorts[dev].name, throughportW, strlenW(throughportW)) != 0)
|
||||||
found_valid_port = TRUE;
|
found_valid_port = TRUE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue