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
11b53529
Commit
11b53529
authored
Jun 07, 2007
by
Christian Costa
Committed by
Alexandre Julliard
Jun 07, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winealsa.drv: Use correct tests for synthesizer/port enumeration order.
parent
e14b6dcf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
midi.c
dlls/winealsa.drv/midi.c
+2
-2
No files found.
dlls/winealsa.drv/midi.c
View file @
11b53529
...
...
@@ -1256,7 +1256,7 @@ LONG ALSA_MidiInit(void)
while
(
snd_seq_query_next_port
(
midiSeq
,
pinfo
)
>=
0
)
{
int
cap
=
snd_seq_port_info_get_capability
(
pinfo
);
int
type
=
snd_seq_port_info_get_type
(
pinfo
);
if
(
type
!=
SND_SEQ_PORT_TYPE_MIDI_GENERIC
)
if
(
!
(
type
&
SND_SEQ_PORT_TYPE_PORT
)
)
ALSA_AddMidiPort
(
cinfo
,
pinfo
,
cap
,
type
);
}
}
...
...
@@ -1269,7 +1269,7 @@ LONG ALSA_MidiInit(void)
while
(
snd_seq_query_next_port
(
midiSeq
,
pinfo
)
>=
0
)
{
int
cap
=
snd_seq_port_info_get_capability
(
pinfo
);
int
type
=
snd_seq_port_info_get_type
(
pinfo
);
if
(
type
==
SND_SEQ_PORT_TYPE_MIDI_GENERIC
)
if
(
type
&
SND_SEQ_PORT_TYPE_PORT
)
ALSA_AddMidiPort
(
cinfo
,
pinfo
,
cap
,
type
);
}
}
...
...
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