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
2ab3d226
Commit
2ab3d226
authored
Jul 21, 2011
by
Akihiro Sagawa
Committed by
Alexandre Julliard
Jul 22, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Don't copy the position notify on duplicate.
parent
3c9bd6ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
buffer.c
dlls/dsound/buffer.c
+2
-0
dsound.c
dlls/dsound/tests/dsound.c
+1
-6
No files found.
dlls/dsound/buffer.c
View file @
2ab3d226
...
...
@@ -1214,6 +1214,8 @@ HRESULT IDirectSoundBufferImpl_Duplicate(
dsb
->
state
=
STATE_STOPPED
;
dsb
->
buf_mixpos
=
dsb
->
sec_mixpos
=
0
;
dsb
->
notify
=
NULL
;
dsb
->
notifies
=
NULL
;
dsb
->
nrofnotifies
=
0
;
dsb
->
device
=
device
;
dsb
->
ds3db
=
NULL
;
dsb
->
iks
=
NULL
;
/* FIXME? */
...
...
dlls/dsound/tests/dsound.c
View file @
2ab3d226
...
...
@@ -1063,12 +1063,7 @@ static HRESULT test_notify(LPDIRECTSOUNDBUFFER dsb,
return
rc
;
ret
=
WaitForMultipleObjects
(
count
,
event
,
FALSE
,
0
);
if
(
expected
!=
WAIT_OBJECT_0
+
1
)
{
todo_wine
ok
(
ret
==
expected
,
"expected %d. got %d
\n
"
,
expected
,
ret
);
}
else
ok
(
ret
==
expected
,
"expected %d. got %d
\n
"
,
expected
,
ret
);
ok
(
ret
==
expected
,
"expected %d. got %d
\n
"
,
expected
,
ret
);
return
rc
;
}
...
...
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