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
e1d7365f
Commit
e1d7365f
authored
May 23, 2007
by
Ralf Beck
Committed by
Alexandre Julliard
May 25, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winealsa.drv: Add midi realtime and midi common messages on midi input.
parent
aa1be492
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
midi.c
dlls/winealsa.drv/midi.c
+21
-0
No files found.
dlls/winealsa.drv/midi.c
View file @
e1d7365f
...
@@ -345,6 +345,27 @@ static DWORD WINAPI midRecThread(LPVOID arg)
...
@@ -345,6 +345,27 @@ static DWORD WINAPI midRecThread(LPVOID arg)
case
SND_SEQ_EVENT_CHANPRESS
:
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
<<
16
)
|
(
ev
->
data
.
control
.
param
<<
8
)
|
MIDI_CMD_CHANNEL_PRESSURE
|
ev
->
data
.
control
.
channel
;
break
;
break
;
case
SND_SEQ_EVENT_CLOCK
:
toSend
=
0xF8
;
break
;
case
SND_SEQ_EVENT_START
:
toSend
=
0xFA
;
break
;
case
SND_SEQ_EVENT_CONTINUE
:
toSend
=
0xFB
;
break
;
case
SND_SEQ_EVENT_STOP
:
toSend
=
0xFC
;
break
;
case
SND_SEQ_EVENT_SONGPOS
:
toSend
=
(((
ev
->
data
.
control
.
value
>>
7
)
&
0x7f
)
<<
16
)
|
((
ev
->
data
.
control
.
value
&
0x7f
)
<<
8
)
|
0xF2
;
break
;
case
SND_SEQ_EVENT_SONGSEL
:
toSend
=
((
ev
->
data
.
control
.
value
&
0x7f
)
<<
8
)
|
0xF3
;
break
;
case
SND_SEQ_EVENT_RESET
:
toSend
=
0xFF
;
break
;
case
SND_SEQ_EVENT_SYSEX
:
case
SND_SEQ_EVENT_SYSEX
:
{
{
int
len
=
ev
->
data
.
ext
.
len
;
int
len
=
ev
->
data
.
ext
.
len
;
...
...
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