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
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
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
audio.c
dlls/winecoreaudio.drv/audio.c
+7
-0
No files found.
dlls/winecoreaudio.drv/audio.c
View file @
4906ffaa
...
...
@@ -1279,6 +1279,13 @@ static DWORD wodReset(WORD 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