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
8e976387
Commit
8e976387
authored
Jan 09, 2023
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Jan 09, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
faudio: Purge and clear notifications on ShutDown.
Cherry-picked from upstream commit 16f86bffec36b6e82e5c93d5f04ebc4ee4f980ab. Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=54264
parent
448e68ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
FACT.c
libs/faudio/src/FACT.c
+10
-0
No files found.
libs/faudio/src/FACT.c
View file @
8e976387
...
@@ -352,6 +352,16 @@ uint32_t FACTAudioEngine_ShutDown(FACTAudioEngine *pEngine)
...
@@ -352,6 +352,16 @@ uint32_t FACTAudioEngine_ShutDown(FACTAudioEngine *pEngine)
FAudio_StopEngine
(
pEngine
->
audio
);
FAudio_StopEngine
(
pEngine
->
audio
);
}
}
/* Purge All pending notifactions */
while
(
pEngine
->
wb_notifications_list
)
{
FACTNotification
*
note
=
(
FACTNotification
*
)
pEngine
->
wb_notifications_list
->
entry
;
pEngine
->
notificationCallback
(
note
);
LinkedList_RemoveEntry
(
&
pEngine
->
wb_notifications_list
,
note
,
pEngine
->
apiLock
,
pEngine
->
pFree
);
}
pEngine
->
notifications
=
0
;
/* This method destroys all existing cues, sound banks, and wave banks.
/* This method destroys all existing cues, sound banks, and wave banks.
* It blocks until all cues are destroyed.
* It blocks until all cues are destroyed.
*/
*/
...
...
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