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
410934a7
Commit
410934a7
authored
May 22, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
May 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
amstream: Simplify flush_receive_queue() a bit.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2e5c2c7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
audiostream.c
dlls/amstream/audiostream.c
+3
-6
No files found.
dlls/amstream/audiostream.c
View file @
410934a7
...
...
@@ -95,13 +95,10 @@ static void remove_queued_update(IAudioStreamSampleImpl *sample)
static
void
flush_receive_queue
(
struct
audio_stream
*
stream
)
{
while
(
!
list_empty
(
&
stream
->
receive_queue
))
{
struct
queued_receive
*
receive
=
LIST_ENTRY
(
list_head
(
&
stream
->
receive_queue
),
struct
queued_receive
,
entry
);
struct
list
*
entry
;
remove_queued_receive
(
receive
);
}
while
((
entry
=
list_head
(
&
stream
->
receive_queue
)))
remove_queued_receive
(
LIST_ENTRY
(
entry
,
struct
queued_receive
,
entry
));
}
static
void
process_update
(
IAudioStreamSampleImpl
*
sample
,
struct
queued_receive
*
receive
)
...
...
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