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
9ff6c7d1
Commit
9ff6c7d1
authored
Nov 29, 2010
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Nov 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Silence fixmes in sound renderer.
parent
f4a0ca85
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
dsoundrender.c
dlls/quartz/dsoundrender.c
+5
-5
No files found.
dlls/quartz/dsoundrender.c
View file @
9ff6c7d1
...
...
@@ -176,7 +176,7 @@ static HRESULT DSoundRender_GetWritePos(DSoundRenderImpl *This, DWORD *ret_write
*
ret_writepos
=
writepos
;
}
else
if
(
delta_t
<
0
)
{
REFERENCE_TIME
past
,
min_writepos_t
;
FIXME
(
"Delta too big %i/%i, overwriting old data or even skipping
\n
"
,
(
int
)
delta_t
/
10000
,
(
int
)
max_lag
/
10000
);
WARN
(
"Delta too big %i/%i, overwriting old data or even skipping
\n
"
,
(
int
)
delta_t
/
10000
,
(
int
)
max_lag
/
10000
);
if
(
min_writepos
>=
playpos
)
min_writepos_t
=
cur
+
time_from_pos
(
This
,
min_writepos
-
playpos
);
else
...
...
@@ -184,19 +184,19 @@ static HRESULT DSoundRender_GetWritePos(DSoundRenderImpl *This, DWORD *ret_write
past
=
min_writepos_t
-
write_at
;
if
(
past
>=
0
)
{
DWORD
skipbytes
=
pos_from_time
(
This
,
past
);
FIXME
(
"Skipping %u bytes
\n
"
,
skipbytes
);
WARN
(
"Skipping %u bytes
\n
"
,
skipbytes
);
*
skip
=
skipbytes
;
*
ret_writepos
=
min_writepos
;
}
else
{
DWORD
aheadbytes
=
pos_from_time
(
This
,
-
past
);
FIXME
(
"Advancing %u bytes
\n
"
,
aheadbytes
);
WARN
(
"Advancing %u bytes
\n
"
,
aheadbytes
);
*
ret_writepos
=
(
min_writepos
+
aheadbytes
)
%
This
->
buf_size
;
}
}
else
/* delta_t > 0 */
{
DWORD
aheadbytes
;
FIXME
(
"Delta too big %i/%i, too far ahead
\n
"
,
(
int
)
delta_t
/
10000
,
(
int
)
max_lag
/
10000
);
WARN
(
"Delta too big %i/%i, too far ahead
\n
"
,
(
int
)
delta_t
/
10000
,
(
int
)
max_lag
/
10000
);
aheadbytes
=
pos_from_time
(
This
,
delta_t
);
FIXME
(
"Advancing %u bytes
\n
"
,
aheadbytes
);
WARN
(
"Advancing %u bytes
\n
"
,
aheadbytes
);
if
(
delta_t
>=
DSoundRenderer_Max_Fill
)
return
S_FALSE
;
*
ret_writepos
=
(
min_writepos
+
aheadbytes
)
%
This
->
buf_size
;
...
...
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