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
a39e423f
Commit
a39e423f
authored
Dec 09, 2012
by
Jörg Höhle
Committed by
Alexandre Julliard
Dec 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmdevapi: Avoid lock contention after SetEvent.
parent
496898db
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
mmdevdrv.c
dlls/winealsa.drv/mmdevdrv.c
+3
-3
mmdevdrv.c
dlls/wineoss.drv/mmdevdrv.c
+3
-3
No files found.
dlls/winealsa.drv/mmdevdrv.c
View file @
a39e423f
...
...
@@ -2137,12 +2137,12 @@ static void CALLBACK alsa_push_buffer_data(void *user, BOOLEAN timer)
alsa_write_data
(
This
);
else
if
(
This
->
dataflow
==
eCapture
)
alsa_read_data
(
This
);
if
(
This
->
event
)
SetEvent
(
This
->
event
);
}
LeaveCriticalSection
(
&
This
->
lock
);
if
(
This
->
event
)
SetEvent
(
This
->
event
);
}
static
HRESULT
WINAPI
AudioClient_Start
(
IAudioClient
*
iface
)
...
...
dlls/wineoss.drv/mmdevdrv.c
View file @
a39e423f
...
...
@@ -1481,12 +1481,12 @@ static void CALLBACK oss_period_callback(void *user, BOOLEAN timer)
oss_write_data
(
This
);
else
if
(
This
->
dataflow
==
eCapture
)
oss_read_data
(
This
);
if
(
This
->
event
)
SetEvent
(
This
->
event
);
}
LeaveCriticalSection
(
&
This
->
lock
);
if
(
This
->
event
)
SetEvent
(
This
->
event
);
}
static
HRESULT
WINAPI
AudioClient_Start
(
IAudioClient
*
iface
)
...
...
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