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
8023a80e
Commit
8023a80e
authored
Jun 05, 2007
by
Christian Costa
Committed by
Alexandre Julliard
Jun 06, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineoss.drv: Mark every buffer being added.
parent
cb28969c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
midi.c
dlls/wineoss.drv/midi.c
+1
-0
No files found.
dlls/wineoss.drv/midi.c
View file @
8023a80e
...
@@ -846,6 +846,7 @@ static DWORD midAddBuffer(WORD wDevID, LPMIDIHDR lpMidiHdr, DWORD dwSize)
...
@@ -846,6 +846,7 @@ static DWORD midAddBuffer(WORD wDevID, LPMIDIHDR lpMidiHdr, DWORD dwSize)
if
(
!
(
lpMidiHdr
->
dwFlags
&
MHDR_PREPARED
))
return
MIDIERR_UNPREPARED
;
if
(
!
(
lpMidiHdr
->
dwFlags
&
MHDR_PREPARED
))
return
MIDIERR_UNPREPARED
;
EnterCriticalSection
(
&
crit_sect
);
EnterCriticalSection
(
&
crit_sect
);
lpMidiHdr
->
dwFlags
|=
MHDR_INQUEUE
;
if
(
MidiInDev
[
wDevID
].
lpQueueHdr
==
0
)
{
if
(
MidiInDev
[
wDevID
].
lpQueueHdr
==
0
)
{
MidiInDev
[
wDevID
].
lpQueueHdr
=
lpMidiHdr
;
MidiInDev
[
wDevID
].
lpQueueHdr
=
lpMidiHdr
;
}
else
{
}
else
{
...
...
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