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
92ef2814
Commit
92ef2814
authored
Aug 06, 2007
by
Ralf Beck
Committed by
Alexandre Julliard
Aug 07, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winealsa.drv: Correct midi input program change + channel aftertouch.
parent
eebfb5c5
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 @
92ef2814
...
...
@@ -346,10 +346,10 @@ static DWORD WINAPI midRecThread(LPVOID arg)
toSend
=
(((
value
>>
7
)
&
0x7f
)
<<
16
)
|
((
value
&
0x7f
)
<<
8
)
|
MIDI_CMD_BENDER
|
ev
->
data
.
control
.
channel
;
break
;
case
SND_SEQ_EVENT_PGMCHANGE
:
toSend
=
(
ev
->
data
.
control
.
value
<<
16
)
|
(
ev
->
data
.
control
.
param
<<
8
)
|
MIDI_CMD_PGM_CHANGE
|
ev
->
data
.
control
.
channel
;
toSend
=
(
(
ev
->
data
.
control
.
value
&
0x7f
)
<<
8
)
|
MIDI_CMD_PGM_CHANGE
|
ev
->
data
.
control
.
channel
;
break
;
case
SND_SEQ_EVENT_CHANPRESS
:
toSend
=
(
ev
->
data
.
control
.
value
<<
16
)
|
(
ev
->
data
.
control
.
param
<<
8
)
|
MIDI_CMD_CHANNEL_PRESSURE
|
ev
->
data
.
control
.
channel
;
toSend
=
(
(
ev
->
data
.
control
.
value
&
0x7f
)
<<
8
)
|
MIDI_CMD_CHANNEL_PRESSURE
|
ev
->
data
.
control
.
channel
;
break
;
case
SND_SEQ_EVENT_CLOCK
:
toSend
=
0xF8
;
...
...
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