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
b0a9d16c
Commit
b0a9d16c
authored
Sep 28, 2015
by
Andrew Eikum
Committed by
Alexandre Julliard
Oct 01, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xaudio2: Implement IXAudio2SourceVoice::Discontinuity.
Signed-off-by:
Andrew Eikum
<
aeikum@codeweavers.com
>
parent
8366165e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
xaudio_dll.c
dlls/xaudio2_7/xaudio_dll.c
+11
-0
No files found.
dlls/xaudio2_7/xaudio_dll.c
View file @
b0a9d16c
...
...
@@ -748,7 +748,18 @@ static HRESULT WINAPI XA2SRC_FlushSourceBuffers(IXAudio2SourceVoice *iface)
static
HRESULT
WINAPI
XA2SRC_Discontinuity
(
IXAudio2SourceVoice
*
iface
)
{
XA2SourceImpl
*
This
=
impl_from_IXAudio2SourceVoice
(
iface
);
TRACE
(
"%p
\n
"
,
This
);
EnterCriticalSection
(
&
This
->
lock
);
if
(
This
->
nbufs
>
0
){
DWORD
last
=
(
This
->
first_buf
+
This
->
nbufs
-
1
)
%
XAUDIO2_MAX_QUEUED_BUFFERS
;
This
->
buffers
[
last
].
xa2buffer
.
Flags
|=
XAUDIO2_END_OF_STREAM
;
}
LeaveCriticalSection
(
&
This
->
lock
);
return
S_OK
;
}
...
...
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