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
65a1796b
Commit
65a1796b
authored
Dec 08, 2005
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 08, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winenas: fix crash.
- return correct MM error code when no connection to server has been opened - don't close the AU driver if it hasn't been opened
parent
51862d44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
audio.c
dlls/winmm/winenas/audio.c
+6
-3
No files found.
dlls/winmm/winenas/audio.c
View file @
65a1796b
...
...
@@ -407,7 +407,7 @@ LONG NAS_WaveClose(void)
LONG
NAS_WaveInit
(
void
)
{
int
i
;
nas_init
()
;
if
(
!
nas_init
())
return
MMSYSERR_ERROR
;
/* initialize all device handles to -1 */
for
(
i
=
0
;
i
<
MAX_WAVEOUTDRV
;
++
i
)
...
...
@@ -1475,8 +1475,11 @@ static int nas_close(WINE_WAVEOUT* wwo)
static
int
nas_end
(
void
)
{
AuCloseServer
(
AuServ
);
AuServ
=
0
;
if
(
AuServ
)
{
AuCloseServer
(
AuServ
);
AuServ
=
0
;
}
return
1
;
}
...
...
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