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
4c8ed8d1
Commit
4c8ed8d1
authored
Sep 11, 2015
by
Andrew Eikum
Committed by
Alexandre Julliard
Sep 14, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xaudio2: Don't keep running after master voice is destroyed.
parent
f326e372
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
xaudio_dll.c
dlls/xaudio2_7/xaudio_dll.c
+7
-3
No files found.
dlls/xaudio2_7/xaudio_dll.c
View file @
4c8ed8d1
...
...
@@ -1188,6 +1188,8 @@ static void WINAPI XA2M_DestroyVoice(IXAudio2MasteringVoice *iface)
return
;
}
This
->
running
=
FALSE
;
IAudioRenderClient_Release
(
This
->
render
);
This
->
render
=
NULL
;
...
...
@@ -3068,11 +3070,13 @@ static DWORD WINAPI engine_threadproc(void *arg)
if
(
This
->
stop_engine
)
break
;
if
(
!
This
->
running
)
continue
;
EnterCriticalSection
(
&
This
->
lock
);
if
(
!
This
->
running
||
!
This
->
aclient
){
LeaveCriticalSection
(
&
This
->
lock
);
continue
;
}
do_engine_tick
(
This
);
LeaveCriticalSection
(
&
This
->
lock
);
...
...
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