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
30f3a61a
Commit
30f3a61a
authored
Nov 21, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
faudio: Fix a few printf formats.
parent
54ae2640
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
FAudio_platform_win32.c
libs/faudio/src/FAudio_platform_win32.c
+5
-5
No files found.
libs/faudio/src/FAudio_platform_win32.c
View file @
30f3a61a
...
...
@@ -1096,7 +1096,7 @@ static HRESULT FAudio_WMAMF_ProcessInput(
copy_size
=
min
(
buffer
->
AudioBytes
-
impl
->
input_pos
,
impl
->
input_size
);
if
(
!
copy_size
)
return
S_FALSE
;
LOG_INFO
(
voice
->
audio
,
"pushing %
x bytes at %
x"
,
copy_size
,
impl
->
input_pos
);
LOG_INFO
(
voice
->
audio
,
"pushing %
lx bytes at %I
x"
,
copy_size
,
impl
->
input_pos
);
hr
=
MFCreateSample
(
&
sample
);
FAudio_assert
(
!
FAILED
(
hr
)
&&
"Failed to create sample!"
);
...
...
@@ -1124,7 +1124,7 @@ static HRESULT FAudio_WMAMF_ProcessInput(
if
(
hr
==
MF_E_NOTACCEPTING
)
return
S_OK
;
if
(
FAILED
(
hr
))
{
LOG_ERROR
(
voice
->
audio
,
"IMFTransform_ProcessInput returned %#x"
,
hr
);
LOG_ERROR
(
voice
->
audio
,
"IMFTransform_ProcessInput returned %#
l
x"
,
hr
);
return
hr
;
}
...
...
@@ -1151,7 +1151,7 @@ static HRESULT FAudio_WMAMF_ProcessOutput(
if
(
hr
==
MF_E_TRANSFORM_NEED_MORE_INPUT
)
return
S_FALSE
;
if
(
FAILED
(
hr
))
{
LOG_ERROR
(
voice
->
audio
,
"IMFTransform_ProcessInput returned %#x"
,
hr
);
LOG_ERROR
(
voice
->
audio
,
"IMFTransform_ProcessInput returned %#
l
x"
,
hr
);
return
hr
;
}
...
...
@@ -1183,7 +1183,7 @@ static HRESULT FAudio_WMAMF_ProcessOutput(
}
FAudio_memcpy
(
impl
->
output_buf
+
impl
->
output_pos
,
copy_buf
,
copy_size
);
impl
->
output_pos
+=
copy_size
;
LOG_INFO
(
voice
->
audio
,
"pulled %
x bytes at %
x"
,
copy_size
,
impl
->
output_pos
);
LOG_INFO
(
voice
->
audio
,
"pulled %
lx bytes at %I
x"
,
copy_size
,
impl
->
output_pos
);
hr
=
IMFMediaBuffer_Unlock
(
media_buffer
);
FAudio_assert
(
!
FAILED
(
hr
)
&&
"Failed to unlock buffer bytes!"
);
...
...
@@ -1282,7 +1282,7 @@ static void FAudio_INTERNAL_DecodeWMAMF(
FAudio_zero
(
decodeCache
+
copy_size
,
samples_size
-
copy_size
);
LOG_INFO
(
voice
->
audio
,
"decoded %
x / %x bytes, copied %x / %
x bytes"
,
"decoded %
Ix / %Ix bytes, copied %Ix / %I
x bytes"
,
impl
->
output_pos
,
impl
->
output_size
,
copy_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