Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
4906ffaa
Commit
4906ffaa
authored
Jun 20, 2007
by
Ken Thomases
Committed by
Alexandre Julliard
Jun 20, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecoreaudio: Make wodReset fail if called on a closed device.
parent
ed10114b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
audio.c
dlls/winecoreaudio.drv/audio.c
+8
-1
No files found.
dlls/winecoreaudio.drv/audio.c
View file @
4906ffaa
...
...
@@ -1278,7 +1278,14 @@ static DWORD wodReset(WORD wDevID)
wwo
=
&
WOutDev
[
wDevID
];
OSSpinLockLock
(
&
wwo
->
lock
);
if
(
wwo
->
state
==
WINE_WS_CLOSED
)
{
OSSpinLockUnlock
(
&
wwo
->
lock
);
WARN
(
"resetting a closed device
\n
"
);
return
MMSYSERR_INVALHANDLE
;
}
lpSavedQueuePtr
=
wwo
->
lpQueuePtr
;
wwo
->
lpPlayPtr
=
wwo
->
lpQueuePtr
=
wwo
->
lpLoopPtr
=
NULL
;
wwo
->
state
=
WINE_WS_STOPPED
;
...
...
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