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
44761574
Commit
44761574
authored
Aug 21, 2022
by
Davide Beatrici
Committed by
Alexandre Julliard
Aug 23, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmdevapi/tests: Fix typos in spatial audio fail messages.
parent
ebdee3cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
spatialaudio.c
dlls/mmdevapi/tests/spatialaudio.c
+5
-5
No files found.
dlls/mmdevapi/tests/spatialaudio.c
View file @
44761574
...
...
@@ -240,7 +240,7 @@ static void test_audio_object_activation(void)
hr
=
ISpatialAudioObject_IsActive
(
sao1
,
&
is_active
);
todo_wine
ok
(
hr
==
S_OK
,
"Failed to check if spatial audio object is active: 0x%08lx
\n
"
,
hr
);
if
(
hr
==
S_OK
)
ok
(
is_active
,
"Expected spa
it
al audio object to be active
\n
"
);
ok
(
is_active
,
"Expected spa
ti
al audio object to be active
\n
"
);
hr
=
ISpatialAudioObjectRenderStream_ActivateSpatialAudioObject
(
sas
,
AudioObjectType_FrontLeft
,
&
sao2
);
ok
(
hr
==
SPTLAUDCLNT_E_OBJECT_ALREADY_ACTIVE
,
"Expected audio object to be already active: 0x%08lx
\n
"
,
hr
);
...
...
@@ -315,7 +315,7 @@ static void test_audio_object_buffers(void)
ok
(
hr
==
S_OK
,
"Failed to activate spatial audio object: 0x%08lx
\n
"
,
hr
);
hr
=
ISpatialAudioObjectRenderStream_BeginUpdatingAudioObjects
(
sas
,
&
dyn_object_count
,
&
frame_count
);
ok
(
hr
==
S_OK
,
"Failed to begin
g
updating audio objects: 0x%08lx
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Failed to begin updating audio objects: 0x%08lx
\n
"
,
hr
);
ok
(
dyn_object_count
==
0
,
"Unexpected dynamic objects
\n
"
);
ok
(
frame_count
<=
max_frame_count
,
"Got unexpected frame count %u.
\n
"
,
frame_count
);
...
...
@@ -345,7 +345,7 @@ static void test_audio_object_buffers(void)
ok
(
hr
==
WAIT_OBJECT_0
,
"Expected event to be flagged: 0x%08lx, j %u.
\n
"
,
hr
,
j
);
hr
=
ISpatialAudioObjectRenderStream_BeginUpdatingAudioObjects
(
sas
,
&
dyn_object_count
,
&
frame_count
);
ok
(
hr
==
S_OK
,
"Failed to begin
g
updating audio objects: 0x%08lx
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Failed to begin updating audio objects: 0x%08lx
\n
"
,
hr
);
ok
(
dyn_object_count
==
0
,
"Unexpected dynamic objects
\n
"
);
ok
(
frame_count
<=
max_frame_count
,
"Got unexpected frame_count %u.
\n
"
,
frame_count
);
...
...
@@ -388,7 +388,7 @@ static void test_audio_object_buffers(void)
ok
(
hr
==
WAIT_OBJECT_0
,
"Expected event to be flagged: 0x%08lx
\n
"
,
hr
);
hr
=
ISpatialAudioObjectRenderStream_BeginUpdatingAudioObjects
(
sas
,
&
dyn_object_count
,
&
frame_count
);
ok
(
hr
==
S_OK
,
"Failed to begin
g
updating audio objects: 0x%08lx
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Failed to begin updating audio objects: 0x%08lx
\n
"
,
hr
);
ok
(
dyn_object_count
==
0
,
"Unexpected dynamic objects
\n
"
);
/* one more iteration but not with every object */
...
...
@@ -416,7 +416,7 @@ static void test_audio_object_buffers(void)
todo_wine
ok
(
hr
==
SPTLAUDCLNT_E_OUT_OF_ORDER
,
"Expected that ending the stream at this point won't be allowed: 0x%08lx
\n
"
,
hr
);
hr
=
ISpatialAudioObjectRenderStream_BeginUpdatingAudioObjects
(
sas
,
&
dyn_object_count
,
&
frame_count
);
ok
(
hr
==
S_OK
,
"Failed to begin
g
updating audio objects: 0x%08lx
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Failed to begin updating audio objects: 0x%08lx
\n
"
,
hr
);
ok
(
dyn_object_count
==
0
,
"Unexpected dynamic objects
\n
"
);
/* expect the object that was not updated last cycle to be invalidated */
...
...
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